Searched refs:stream_error_code (Results 1 – 9 of 9) sorted by relevance
16 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()
135 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()
19 enum class stream_error_code { enum31 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;
60 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()
49 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()
135 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()137 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()232 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
189 stream_error_code::invalid_array_size); in readArray()236 stream_error_code::invalid_array_size); in readArray()
181 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes() 216 stream_error_code::filesystem_error); in commit()
150 stream_error_code::invalid_array_size); in writeArray()