Searched refs:BinaryStreamError (Results 1 – 14 of 14) sorted by relevance
15 char BinaryStreamError::ID = 0;17 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError() function in BinaryStreamError18 : BinaryStreamError(C, "") {} in BinaryStreamError()20 BinaryStreamError::BinaryStreamError(StringRef Context) in BinaryStreamError() function in BinaryStreamError21 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()23 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError() function in BinaryStreamError50 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log()52 StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()54 std::error_code BinaryStreamError::convertToErrorCode() const { in convertToErrorCode()
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()
50 BinaryStreamError.cpp
28 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);
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()
184 return make_error<BinaryStreamError>( in readArray()230 return make_error<BinaryStreamError>( in readArray()
184 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes()220 return make_error<BinaryStreamError>( in commit()
142 return make_error<BinaryStreamError>( in writeArray()
568 llvm/lib/Support/BinaryStreamError.cpp \
989 "llvm/lib/Support/BinaryStreamError.cpp",
1234 ${LLVM_DIR}/lib/Support/BinaryStreamError.cpp