Searched refs:HasError (Results 1 - 25 of 39) sorted by relevance

12

/external/libbrillo/brillo/errors/
H A Derror_unittest.cc40 EXPECT_TRUE(err->HasError("network", "not_found"));
41 EXPECT_FALSE(err->HasError("network", "404"));
42 EXPECT_FALSE(err->HasError("HTTP", "404"));
43 EXPECT_FALSE(err->HasError("HTTP", "not_found"));
44 EXPECT_FALSE(err->HasError("foo", "bar"));
57 EXPECT_TRUE(err->HasError("network", "not_found"));
58 EXPECT_FALSE(err->HasError("network", "404"));
59 EXPECT_TRUE(err->HasError("HTTP", "404"));
60 EXPECT_FALSE(err->HasError("HTTP", "not_found"));
61 EXPECT_FALSE(err->HasError("fo
[all...]
H A Derror.h71 bool HasError(const std::string& domain, const std::string& code) const;
/external/llvm/include/llvm/Support/
H A DErrorOr.h88 : HasError(true) {
92 ErrorOr(std::error_code EC) : HasError(true) {
100 : HasError(false) {
157 if (!HasError)
163 return !HasError;
170 return HasError ? *getErrorStorage() : std::error_code();
188 if (!Other.HasError) {
190 HasError = false;
194 HasError = true;
220 if (!Other.HasError) {
[all...]
H A DError.h620 : HasError(true)
636 : HasError(false)
676 if (!HasError)
685 Checked = !HasError;
687 return !HasError;
704 return HasError && getErrorStorage()->template isA<ErrT>();
715 return HasError ? Error(std::move(*getErrorStorage())) : Error::success();
754 HasError = Other.HasError;
761 if (!HasError)
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DErrorOr.h88 : HasError(true) {
92 ErrorOr(std::error_code EC) : HasError(true) {
100 : HasError(false) {
157 if (!HasError)
163 return !HasError;
170 return HasError ? *getErrorStorage() : std::error_code();
188 if (!Other.HasError) {
190 HasError = false;
194 HasError = true;
220 if (!Other.HasError) {
[all...]
H A DError.h651 : HasError(true)
672 : HasError(false)
712 if (!HasError)
721 Unchecked = HasError;
723 return !HasError;
740 return HasError && getErrorStorage()->template isA<ErrT>();
751 return HasError ? Error(std::move(*getErrorStorage())) : Error::success();
790 HasError = Other.HasError;
796 if (!HasError)
[all...]
/external/pdfium/xfa/fxfa/fm2js/
H A Dcxfa_fmparser_unittest.cpp19 EXPECT_FALSE(parser->HasError());
33 EXPECT_FALSE(parser->HasError());
34 // EXPECT_TRUE(parser->HasError());
53 EXPECT_FALSE(parser->HasError());
109 EXPECT_FALSE(parser->HasError());
121 EXPECT_TRUE(parser->HasError());
130 EXPECT_TRUE(parser->HasError());
H A Dcxfa_fmparser.cpp33 if (HasError())
42 if (HasError())
45 while (!HasError() && m_token->m_type == TOKreserver)
47 return !HasError();
51 if (HasError())
68 if (HasError() || !IncrementParseDepthAndCheck())
73 while (!HasError()) {
92 if (HasError() || !IncrementParseDepthAndCheck())
155 if (HasError() || !IncrementParseDepthAndCheck())
208 if (HasError() || !IncrementParseDepthAndChec
1229 bool CXFA_FMParser::HasError() const { function in class:CXFA_FMParser
[all...]
H A Dcxfa_fmparser.h22 bool HasError() const;
/external/llvm/include/llvm/Object/
H A DRelocVisitor.h46 : ObjToVisit(Obj), HasError(false) {}
59 HasError = true;
63 bool error() { return HasError; }
67 bool HasError; member in class:llvm::object::RelocVisitor
85 HasError = true;
95 HasError = true;
106 HasError = true;
117 HasError = true;
127 HasError = true;
139 HasError
[all...]
/external/tensorflow/tensorflow/core/framework/
H A Dresource_mgr_test.cc73 static void HasError(const Status& s, const string& substr) { function in namespace:tensorflow
94 HasError(rm.Create("foo", "bar", new Resource("kitty")),
103 HasError(FindErr<Resource>(rm, "bar", "foo"), "Not found: Container bar");
104 HasError(FindErr<Resource>(rm, "foo", "xxx"), "Not found: Resource foo/xxx");
105 HasError(FindErr<Other>(rm, "foo", "baz"), "Not found: Resource foo/baz");
109 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Resource foo/bar");
116 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo");
120 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo");
135 HasError(FindErr<Other>(rm, "foo", "bar"), "Not found: Resource foo/bar");
189 HasError(WrongPolic
[all...]
H A Dfunction_test.cc498 static void HasError(const Status& s, const string& substr) { function in namespace:tensorflow::__anon26242
507 HasError(
517 HasError(InstantiateFunction(fdef, Attrs({{"T", DT_INT32}, {"U", DT_FLOAT}}),
527 HasError(
538 HasError(
546 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result),
557 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result),
568 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result),
578 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result),
589 HasError(InstantiateFunctio
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h55 bool HasError; member in class:llvm::RuntimeDyldImpl
61 HasError = true;
69 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {}
86 bool hasError() { return HasError; }
89 void clearError() { HasError = false; }
/external/pdfium/fxjs/
H A Dcjs_return.h20 bool HasError() const { return is_error_; } function in class:CJS_Return
H A DJS_Define.h79 if (result.HasError()) {
107 if (result.HasError()) {
135 if (result.HasError()) {
/external/clang/test/Parser/
H A Dcxx-ambig-init-templ.cpp99 template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no members}}
102 // This triggers the instantiation of the outer HasError<int> during
103 // disambiguation, even though it uses the inner HasError<int>.
104 void f(int a = X<Y, HasError<int>::Z >()); // expected-note {{in instantiation of}}
108 template<typename> struct HasError { typedef int Z; };
111 HasError<int> hei;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp64 HasError = true;
H A DRuntimeDyldImpl.h296 bool HasError; member in class:llvm::RuntimeDyldImpl
425 ProcessAllSections(false), HasError(false) {
475 bool hasError() { return HasError; }
478 void clearError() { HasError = false; }
/external/webrtc/webrtc/base/
H A Dtask.h103 bool HasError() const { return (GetState() == STATE_ERROR); } function in class:rtc::Task
H A Dtaskparent.cc93 if (child->HasError())
/external/llvm/tools/llc/
H A Dllc.cpp214 bool *HasError = static_cast<bool *>(Context); local
216 *HasError = true;
259 bool HasError = false; local
260 Context.setDiagnosticHandler(DiagnosticHandler, &HasError);
489 auto HasError = *static_cast<bool *>(Context.getDiagnosticContext()); local
490 if (HasError)
/external/webrtc/webrtc/libjingle/xmpp/
H A Dxmppengineimpl.cc265 if (HasError() || raised_reset_)
281 if (HasError() || raised_reset_)
320 if (HasError() || raised_reset_)
386 bool XmppEngineImpl::HasError() { function in class:buzz::XmppEngineImpl
/external/llvm/include/llvm/DebugInfo/CodeView/
H A DStreamArray.h143 assert(Array && !HasError);
182 HasError = true;
191 bool HasError{false};
/external/swiftshader/third_party/subzero/src/
H A DIceCfg.h82 bool hasError() const { return HasError; }
321 bool HasError = false; member in class:Ice::Cfg
H A DIceDefs.h427 if (!HasError) {
428 HasError = true;
435 bool HasError = false; member in class:Ice::ErrorCode

Completed in 738 milliseconds

12