/external/libbrillo/brillo/errors/ |
error_unittest.cc | 40 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("foo", "bar")) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
RelocVisitor.h | 53 HasError = true; 57 bool error() { return HasError; } 61 bool HasError = false; 87 HasError = true; 114 HasError = true; 139 HasError = true; 148 HasError = true; 154 HasError = true; 165 HasError = true; 178 HasError = true [all...] |
/external/llvm/include/llvm/Support/ |
ErrorOr.h | 88 : 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...] |
Error.h | 620 : 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-7.0/llvm/include/llvm/Support/ |
ErrorOr.h | 79 : HasError(true) { 83 ErrorOr(std::error_code EC) : HasError(true) { 91 : HasError(false) { 148 if (!HasError) 154 return !HasError; 161 return HasError ? *getErrorStorage() : std::error_code(); 179 if (!Other.HasError) { 181 HasError = false; 185 HasError = true; 211 if (!Other.HasError) { [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
ErrorOr.h | 88 : 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...] |
Error.h | 651 : 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/ |
cxfa_fmparser_unittest.cpp | 19 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());
|
cxfa_fmparser.cpp | 33 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() || !IncrementParseDepthAndCheck() [all...] |
/external/llvm/include/llvm/Object/ |
RelocVisitor.h | 46 : ObjToVisit(Obj), HasError(false) {} 59 HasError = true; 63 bool error() { return HasError; } 67 bool HasError; 85 HasError = true; 95 HasError = true; 106 HasError = true; 117 HasError = true; 127 HasError = true; 139 HasError = true [all...] |
/external/pdfium/fxjs/ |
cjs_return.h | 20 bool HasError() const { return is_error_; }
|
/external/tensorflow/tensorflow/core/framework/ |
resource_mgr_test.cc | 75 static void HasError(const Status& s, const string& substr) { 96 HasError(rm.Create("foo", "bar", new Resource("kitty")), 105 HasError(FindErr<Resource>(rm, "bar", "foo"), "Not found: Container bar"); 106 HasError(FindErr<Resource>(rm, "foo", "xxx"), "Not found: Resource foo/xxx"); 107 HasError(FindErr<Other>(rm, "foo", "baz"), "Not found: Resource foo/baz"); 111 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Resource foo/bar"); 118 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); 122 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); 137 HasError(FindErr<Other>(rm, "foo", "bar"), "Not found: Resource foo/bar"); 215 HasError(WrongPolicy("none", "", false), "No attr") [all...] |
function_test.cc | 558 static void HasError(const Status& s, const string& substr) { 567 HasError( 577 HasError(InstantiateFunction(fdef, Attrs({{"T", DT_INT32}, {"U", DT_FLOAT}}), 587 HasError( 598 HasError( 606 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), 617 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), 628 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), 638 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), 649 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result) [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 55 bool HasError; 61 HasError = true; 69 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {} 86 bool hasError() { return HasError; } 89 void clearError() { HasError = false; }
|
/external/image_io/includes/image_io/extras/ |
base64_decoder_data_destination.h | 29 bool HasError() const { return has_error_; }
|
/external/image_io/src/jpeg/ |
jpeg_scanner.cc | 42 while (!IsDone() && !HasError()) { 60 if (marker.IsValid() && !HasError()) { 66 if (!HasError()) {
|
/external/image_io/includes/image_io/base/ |
ostream_ref_data_destination.h | 39 bool HasError() const { return has_error_; }
|
/external/image_io/includes/image_io/jpeg/ |
jpeg_scanner.h | 41 bool HasError() const { return has_error_; }
|
jpeg_xmp_data_extractor.h | 35 bool HasError() const { return has_error_; }
|
/external/image_io/src/base/ |
ostream_ref_data_destination.cc | 15 if (transfer_range.IsValid() && !HasError()) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFGdbIndex.h | 69 bool HasError = false;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamArray.h | 143 assert(Array && !HasError); 182 HasError = true; 191 bool HasError{false};
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/ |
llc.cpp | 243 bool *HasError; 244 LLCDiagnosticHandler(bool *HasErrorPtr) : HasError(HasErrorPtr) {} 247 *HasError = true; 263 bool *HasError = static_cast<bool *>(Context); 265 *HasError = true; 317 bool HasError = false; 319 llvm::make_unique<LLCDiagnosticHandler>(&HasError)); 320 Context.setInlineAsmDiagnosticHandler(InlineAsmDiagHandler, &HasError); 599 auto HasError = 600 ((const LLCDiagnosticHandler *)(Context.getDiagHandlerPtr()))->HasError; [all...] |
/external/clang/test/Parser/ |
cxx-ambig-init-templ.cpp | 99 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/ |
RuntimeDyldCOFF.cpp | 64 HasError = true;
|