Home
last modified time | relevance | path

Searched refs:stream_error_code (Results 1 – 9 of 9) sorted by relevance

/llvm-project/llvm/lib/Support/
H A DBinaryStreamError.cpp16 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError()
20 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()
22 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError()
26 case stream_error_code::unspecified: in BinaryStreamError()
29 case stream_error_code::stream_too_short: in BinaryStreamError()
32 case stream_error_code::invalid_array_size: in BinaryStreamError()
35 case stream_error_code::invalid_offset: in BinaryStreamError()
38 case stream_error_code::filesystem_error: in BinaryStreamError()
H A DBinaryStreamReader.cpp135 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readStreamRef()
149 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in skip()
/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamError.h18 enum class stream_error_code { enum
30 explicit BinaryStreamError(stream_error_code C);
32 BinaryStreamError(stream_error_code C, StringRef Context);
39 stream_error_code getErrorCode() const { return Code; } in getErrorCode()
43 stream_error_code Code;
H A DBinaryStream.h60 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
62 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
93 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
H A DBinaryItemStream.h49 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readBytes()
88 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in translateOffsetIndex()
H A DBinaryStreamRef.h134 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
136 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
230 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
H A DBinaryStreamReader.h187 stream_error_code::invalid_array_size); in readArray()
234 stream_error_code::invalid_array_size); in readArray()
H A DBinaryByteStream.h181 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
216 stream_error_code::filesystem_error); in commit()
H A DBinaryStreamWriter.h149 stream_error_code::invalid_array_size); in writeArray()