Home
last modified time | relevance | path

Searched refs:HasError (Results 1 – 25 of 34) sorted by relevance

12

/external/libbrillo/brillo/errors/
Derror_unittest.cc40 EXPECT_TRUE(err->HasError("network", "not_found")); in TEST()
41 EXPECT_FALSE(err->HasError("network", "404")); in TEST()
42 EXPECT_FALSE(err->HasError("HTTP", "404")); in TEST()
43 EXPECT_FALSE(err->HasError("HTTP", "not_found")); in TEST()
44 EXPECT_FALSE(err->HasError("foo", "bar")); in TEST()
57 EXPECT_TRUE(err->HasError("network", "not_found")); in TEST()
58 EXPECT_FALSE(err->HasError("network", "404")); in TEST()
59 EXPECT_TRUE(err->HasError("HTTP", "404")); in TEST()
60 EXPECT_FALSE(err->HasError("HTTP", "not_found")); in TEST()
61 EXPECT_FALSE(err->HasError("foo", "bar")); in TEST()
Derror.h71 bool HasError(const std::string& domain, const std::string& code) const;
Derror.cc83 bool Error::HasError(const std::string& domain, const std::string& code) const { in HasError() function in Error
/external/llvm/include/llvm/Object/
DRelocVisitor.h47 : ObjToVisit(Obj), HasError(false) {} in RelocVisitor()
60 HasError = true;
64 bool error() { return HasError; } in error()
68 bool HasError; variable
86 HasError = true; in visitELF()
96 HasError = true; in visitELF()
107 HasError = true; in visitELF()
118 HasError = true; in visitELF()
128 HasError = true; in visitELF()
140 HasError = true; in visitELF()
[all …]
/external/llvm/include/llvm/Support/
DErrorOr.h102 : HasError(true) { in HasError() function
106 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr()
110 ErrorOr(T Val) : HasError(false) { in ErrorOr()
167 if (!HasError) in ~ErrorOr()
173 return !HasError;
180 return HasError ? *getErrorStorage() : std::error_code(); in getError()
198 if (!Other.HasError) { in copyConstruct()
200 HasError = false; in copyConstruct()
204 HasError = true; in copyConstruct()
230 if (!Other.HasError) { in moveConstruct()
[all …]
/external/libweave/src/
Derror_unittest.cc34 EXPECT_TRUE(err->HasError("not_found")); in TEST()
35 EXPECT_FALSE(err->HasError("404")); in TEST()
36 EXPECT_FALSE(err->HasError("bar")); in TEST()
44 EXPECT_TRUE(err->HasError("not_found")); in TEST()
45 EXPECT_TRUE(err->HasError("404")); in TEST()
46 EXPECT_FALSE(err->HasError("bar")); in TEST()
Daccess_black_list_manager_impl_unittest.cc91 EXPECT_TRUE(error->HasError("aleady_expired")); in TEST_F()
110 EXPECT_TRUE(error->HasError("blacklist_is_full")); in TEST_F()
127 EXPECT_TRUE(error->HasError("entry_not_found")); in TEST_F()
Derror.cc76 bool Error::HasError(const std::string& code) const { in HasError() function in weave::Error
Ddevice_registration_info_unittest.cc314 EXPECT_TRUE(error->HasError("unable_to_authenticate")); in TEST_F()
343 EXPECT_TRUE(error->HasError("invalid_grant")); in TEST_F()
572 EXPECT_TRUE(error->HasError("already_registered")); in TEST_F()
Ddevice_registration_info.cc732 error->HasError("rateLimitExceeded")) { in OnCloudRequestDone()
765 if (error && error->HasError("invalid_grant")) in CheckAccessTokenError()
771 if (error->HasError("invalid_grant")) in ConnectToCloud()
1014 if (error->HasError("invalid_last_update_time_ms")) { in OnUpdateDeviceResourceError()
/external/clang/test/Parser/
Dcxx-ambig-init-templ.cpp99 …template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no memb… struct
104 void f(int a = X<Y, HasError<int>::Z >()); // expected-note {{in instantiation of}}
108 template<typename> struct HasError { typedef int Z; }; argument
111 HasError<int> hei;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h302 bool HasError; variable
308 HasError = true; in Error()
433 ProcessAllSections(false), HasError(false) { in RuntimeDyldImpl()
483 bool hasError() { return HasError; } in hasError()
486 void clearError() { HasError = false; } in clearError()
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppengineimpl.cc265 if (HasError() || raised_reset_) in IncomingStart()
281 if (HasError() || raised_reset_) in IncomingStanza()
320 if (HasError() || raised_reset_) in IncomingEnd()
386 bool XmppEngineImpl::HasError() { in HasError() function in buzz::XmppEngineImpl
Dxmppengineimpl.h185 bool HasError();
/external/v8/src/parsing/
Dpreparse-data.h190 bool HasError() { in HasError() function
194 DCHECK(HasError()); in ErrorMessageData()
Dpreparse-data.cc35 if (HasError()) return; in LogMessage()
/external/webrtc/webrtc/base/
Dtask.h103 bool HasError() const { return (GetState() == STATE_ERROR); } in HasError() function
Dtaskparent.cc93 if (child->HasError()) in OnChildStopped()
/external/libweave/include/weave/
Derror.h79 bool HasError(const std::string& code) const;
/external/libweave/src/privet/
Dauth_manager_unittest.cc276 EXPECT_TRUE(error->HasError("invalidAuthCode")); in TEST_F()
304 EXPECT_TRUE(error->HasError("invalidAuthCode")); in TEST_F()
319 EXPECT_TRUE(error->HasError("invalidAuthCode")); in TEST_F()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_lexer.h117 FX_BOOL HasError() const;
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h555 bool HasError; variable
622 return HasError; in hasError()
625 HasError = false; in resetError()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp1117 bool HasError = false; in parseBracedList() local
1166 return !HasError; in parseBracedList()
1168 HasError = true; in parseBracedList()
1170 return !HasError; in parseBracedList()
1560 bool HasError = !parseBracedList(/*ContinueOnSemicolons=*/true); in parseEnum() local
1561 if (HasError) { in parseEnum()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h286 bool HasError = false;
294 HasError = true;
301 if (!HasError) {
/external/llvm/lib/Linker/
DIRMover.cpp405 bool HasError = false; member in __anon819dd0cb0211::IRLinker
437 HasError = true; in emitError()
1422 return HasError; in linkModuleFlagsMetadata()
1498 if (HasError) in run()

12