Home
last modified time | relevance | path

Searched refs:BinaryStreamError (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Support/
H A DBinaryStreamError.cpp15 char BinaryStreamError::ID = 0;
17 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError() function in BinaryStreamError
18 : BinaryStreamError(C, "") {} in BinaryStreamError()
20 BinaryStreamError::BinaryStreamError(StringRef Context) in BinaryStreamError() function in BinaryStreamError
21 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()
23 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError() function in BinaryStreamError
50 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg; } in log()
52 StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
54 std::error_code BinaryStreamError::convertToErrorCode() const { in convertToErrorCode()
H A 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()
H A DBinaryStreamWriter.cpp86 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in padToAlignment()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamError.h28 class BinaryStreamError : public ErrorInfo<BinaryStreamError> {
31 explicit BinaryStreamError(stream_error_code C);
32 explicit BinaryStreamError(StringRef Context);
33 BinaryStreamError(stream_error_code C, StringRef Context);
H A 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()
H A 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()
H A 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()
H A DBinaryStreamReader.h184 return make_error<BinaryStreamError>( in readArray()
231 return make_error<BinaryStreamError>( in readArray()
H A DBinaryByteStream.h184 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
220 return make_error<BinaryStreamError>( in commit()
H A DBinaryStreamWriter.h142 return make_error<BinaryStreamError>( in writeArray()
/freebsd-12.1/lib/clang/libllvm/
H A DMakefile775 SRCS_MIN+= Support/BinaryStreamError.cpp