Searched refs:stream_error_code (Results 1 – 10 of 10) sorted by relevance
17 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()
106 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()
86 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
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;
62 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()
51 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()
138 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()
185 stream_error_code::invalid_array_size); in readArray()231 stream_error_code::invalid_array_size); in readArray()
184 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()221 stream_error_code::filesystem_error); in commit()
143 stream_error_code::invalid_array_size); in writeArray()