Searched refs:BinaryStreamError (Results 1 – 10 of 10) sorted by relevance
14 char BinaryStreamError::ID = 0;16 BinaryStreamError::BinaryStreamError(stream_error_code C) in BinaryStreamError() function in BinaryStreamError17 : BinaryStreamError(C, "") {} in BinaryStreamError()19 BinaryStreamError::BinaryStreamError(StringRef Context) in BinaryStreamError() function in BinaryStreamError20 : BinaryStreamError(stream_error_code::unspecified, Context) {} in BinaryStreamError()22 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) in BinaryStreamError() function in BinaryStreamError49 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()
11 #include "llvm/Support/BinaryStreamError.h"135 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readStreamRef() 149 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in skip()
27 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);
14 #include "llvm/Support/BinaryStreamError.h"60 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead() 62 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead() 93 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
14 #include "llvm/Support/BinaryStreamError.h"49 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in readBytes() 88 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in translateOffsetIndex()
14 #include "llvm/Support/BinaryStreamError.h"134 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead() 136 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead() 230 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
186 return make_error<BinaryStreamError>( in readArray() 233 return make_error<BinaryStreamError>( in readArray()
16 #include "llvm/Support/BinaryStreamError.h"181 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in writeBytes() 215 return make_error<BinaryStreamError>( in commit()
15 #include "llvm/Support/BinaryStreamError.h"148 return make_error<BinaryStreamError>( in writeArray()
1104 SRCS_MIN+= Support/BinaryStreamError.cpp