Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Support/
H A DBinaryStreamError.cpp17 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError()
21 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()
23 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError()
27 case stream_error_code::unspecified: in BinaryStreamError()
30 case stream_error_code::stream_too_short: in BinaryStreamError()
33 case stream_error_code::invalid_array_size: in BinaryStreamError()
36 case stream_error_code::invalid_offset: in BinaryStreamError()
39 case stream_error_code::filesystem_error: in BinaryStreamError()
H A DBinaryStreamReader.cpp106 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readStreamRef()
120 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in skip()
H A DBinaryStreamWriter.cpp86 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamError.h19 enum class stream_error_code { enum
31 explicit BinaryStreamError(stream_error_code C);
33 BinaryStreamError(stream_error_code C, StringRef Context);
40 stream_error_code getErrorCode() const { return Code; } in getErrorCode()
44 stream_error_code Code;
H A DBinaryStream.h62 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
64 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
95 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
H A DBinaryItemStream.h51 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readBytes()
90 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in translateOffsetIndex()
H A DBinaryStreamRef.h138 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
140 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
236 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
H A DBinaryStreamReader.h185 stream_error_code::invalid_array_size); in readArray()
232 stream_error_code::invalid_array_size); in readArray()
H A DBinaryByteStream.h184 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
221 stream_error_code::filesystem_error); in commit()
H A DBinaryStreamWriter.h143 stream_error_code::invalid_array_size); in writeArray()