Searched refs:stream_error_code (Results 1 – 10 of 10) 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()
136 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readStreamRef()150 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in skip()
98 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
18 enum class stream_error_code { enum30 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;
61 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()63 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()94 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
50 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readBytes()89 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in translateOffsetIndex()
137 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()139 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()235 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
196 stream_error_code::invalid_array_size); in readArray()243 stream_error_code::invalid_array_size); in readArray()
183 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()220 stream_error_code::filesystem_error); in commit()
156 stream_error_code::invalid_array_size); in writeArray()