Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Support/
H A DBinaryStreamError.cpp14 char BinaryStreamError::ID = 0;
16 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError() function in BinaryStreamError
17 : BinaryStreamError(C, "") {} in BinaryStreamError()
19 BinaryStreamError::BinaryStreamError(StringRef Context) in BinaryStreamError() function in BinaryStreamError
20 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()
22 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError() function in BinaryStreamError
49 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg; } in log()
51 StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
53 std::error_code BinaryStreamError::convertToErrorCode() const { in convertToErrorCode()
H A 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()
H A DCMakeLists.txt134 BinaryStreamError.cpp
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryStreamError.h27 class BinaryStreamError : public ErrorInfo<BinaryStreamError> {
30 explicit BinaryStreamError(stream_error_code C);
31 explicit BinaryStreamError(StringRef Context);
32 BinaryStreamError(stream_error_code C, StringRef Context);
H A 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()
H A 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()
H A DBinaryStreamRef.h136 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
138 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
233 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
H A DBinaryStreamReader.h188 return make_error<BinaryStreamError>( in readArray()
235 return make_error<BinaryStreamError>( in readArray()
H A DBinaryByteStream.h182 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()
216 return make_error<BinaryStreamError>( in commit()
H A DBinaryStreamWriter.h149 return make_error<BinaryStreamError>( in writeArray()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Support/
H A DBUILD.gn49 "BinaryStreamError.cpp",
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt5480 llvm/include/llvm/Support/BinaryStreamError.h
6214 llvm/lib/Support/BinaryStreamError.cpp