Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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()
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()
DBinaryStreamWriter.cpp86 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
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;
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()
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()
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()
DBinaryStreamReader.h185 stream_error_code::invalid_array_size); in readArray()
231 stream_error_code::invalid_array_size); in readArray()
DBinaryByteStream.h184 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
221 stream_error_code::filesystem_error); in commit()
DBinaryStreamWriter.h143 stream_error_code::invalid_array_size); in writeArray()