Home
last modified time | relevance | path

Searched refs:DummyError (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp50 class DummyError : public ErrorInfo<DummyError> { class
55 DummyError(uint32_t Val) : Val(Val) {} in DummyError() function in DummyError
74 char DummyError::ID = 0;
81 template registerErrorType<DummyError>( in registerDummyErrorSerialization()
83 [](ChannelT &C, const DummyError &DE) { in registerDummyErrorSerialization()
91 Err = make_error<DummyError>(Val); in registerDummyErrorSerialization()
645 return make_error<DummyError>(42); in TEST()
655 EXPECT_TRUE(Err.isA<DummyError>()) in TEST()
659 [](const DummyError &DE) { in TEST()
712 return make_error<DummyError>(7); in TEST()
[all …]
/external/tensorflow/tensorflow/python/compat/
Dcompat_test.py56 class DummyError(Exception): class
61 raise DummyError()
62 except DummyError:
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp44 Diagnostics DummyError; in constructMatcher() local
45 if (!Error) Error = &DummyError; in constructMatcher()
50 EXPECT_EQ("", DummyError.toStringFull()); in constructMatcher()
57 Diagnostics DummyError; in constructMatcher() local
58 if (!Error) Error = &DummyError; in constructMatcher()
63 EXPECT_EQ("", DummyError.toStringFull()) << MatcherName; in constructMatcher()
71 Diagnostics DummyError; in constructMatcher() local
72 if (!Error) Error = &DummyError; in constructMatcher()
78 EXPECT_EQ("", DummyError.toStringFull()); in constructMatcher()