Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
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()
DBinaryStreamReader.cpp136 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()
DBinaryStreamWriter.cpp98 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
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;
DBinaryStream.h61 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()
DBinaryItemStream.h50 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()
DBinaryStreamRef.h137 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()
DBinaryStreamReader.h196 stream_error_code::invalid_array_size); in readArray()
243 stream_error_code::invalid_array_size); in readArray()
DBinaryByteStream.h183 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
220 stream_error_code::filesystem_error); in commit()
DBinaryStreamWriter.h156 stream_error_code::invalid_array_size); in writeArray()