Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
DSupportHelpers.h23 struct ErrorHolder { struct
29 template <typename T> struct ExpectedHolder : public ErrorHolder { argument
30 ExpectedHolder(ErrorHolder Err, Expected<T> &Exp) in ExpectedHolder()
31 : ErrorHolder(std::move(Err)), Exp(Exp) {} in ExpectedHolder()
36 inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { in PrintTo()
55 PrintTo(static_cast<const ErrorHolder &>(Item), Out); in PrintTo()
DError.h21 ErrorHolder TakeError(Error Err);
85 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> {
90 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()
147 testing::Matcher<const detail::ErrorHolder &> Failed() { in Failed()
152 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
/external/llvm-project/llvm/include/llvm/Testing/Support/
DError.h21 ErrorHolder TakeError(Error Err);
85 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> {
90 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()
133 : public testing::MatcherInterface<const ErrorHolder &> {
139 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()
177 testing::Matcher<const detail::ErrorHolder &> Failed() { in Failed()
182 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
188 testing::Matcher<const detail::ErrorHolder &> FailedWithMessage(M... Matcher) { in FailedWithMessage()
195 testing::Matcher<const detail::ErrorHolder &> FailedWithMessageArray(M Matcher) { in FailedWithMessageArray()
DSupportHelpers.h25 struct ErrorHolder { struct
31 template <typename T> struct ExpectedHolder : public ErrorHolder { argument
32 ExpectedHolder(ErrorHolder Err, Expected<T> &Exp) in ExpectedHolder()
33 : ErrorHolder(std::move(Err)), Exp(Exp) {} in ExpectedHolder()
38 inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { in PrintTo()
57 PrintTo(static_cast<const ErrorHolder &>(Item), Out); in PrintTo()
/external/zstd/contrib/pzstd/
DErrorHolder.h19 class ErrorHolder {
24 ErrorHolder() : error_(false) {} in ErrorHolder() function
50 ~ErrorHolder() { in ~ErrorHolder()
DBUCK6 'ErrorHolder.h',
DPzstd.h86 ErrorHolder errorHolder;
DPzstd.cpp110 ErrorHolder &errorHolder) { in openInputFile()
/external/llvm-project/llvm/lib/Testing/Support/
DError.cpp15 llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) { in TakeError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/
DError.cpp15 llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) { in TakeError()