/external/llvm/include/llvm/Object/ |
D | RelocVisitor.h | 46 : ObjToVisit(Obj), HasError(false) {} in RelocVisitor() 59 HasError = true; 63 bool error() { return HasError; } in error() 67 bool HasError; variable 85 HasError = true; in visitELF() 95 HasError = true; in visitELF() 106 HasError = true; in visitELF() 117 HasError = true; in visitELF() 127 HasError = true; in visitELF() 139 HasError = true; in visitELF() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ErrorOr.h | 78 : HasError(true) { in HasError() function 82 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr() 90 : HasError(false) { in HasError() function 147 if (!HasError) in ~ErrorOr() 153 return !HasError; 160 return HasError ? *getErrorStorage() : std::error_code(); in getError() 178 if (!Other.HasError) { in copyConstruct() 180 HasError = false; in copyConstruct() 184 HasError = true; in copyConstruct() 210 if (!Other.HasError) { in moveConstruct() [all …]
|
D | Error.h | 456 : HasError(true) in Expected() 477 : HasError(false) in HasError() function 517 if (!HasError) in ~Expected() 526 Unchecked = HasError; 528 return !HasError; 545 return HasError && (*getErrorStorage())->template isA<ErrT>(); in errorIsA() 556 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError() 595 HasError = Other.HasError; in moveConstruct() 601 if (!HasError) in moveConstruct() 626 assert(!HasError && "Cannot get value when an error exists!"); in getStorage() [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | ErrorOr.h | 77 : HasError(true) { in HasError() function 81 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr() 88 : HasError(false) { in HasError() function 140 if (!HasError) in ~ErrorOr() 146 return !HasError; 153 return HasError ? *getErrorStorage() : std::error_code(); in getError() 171 if (!Other.HasError) { in copyConstruct() 173 HasError = false; in copyConstruct() 177 HasError = true; in copyConstruct() 203 if (!Other.HasError) { in moveConstruct() [all …]
|
D | Error.h | 461 : HasError(true) in Expected() 481 : HasError(false) in HasError() function 521 if (!HasError) in ~Expected() 530 Unchecked = HasError; 532 return !HasError; 549 return HasError && (*getErrorStorage())->template isA<ErrT>(); in errorIsA() 560 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError() 599 HasError = Other.HasError; in moveConstruct() 605 if (!HasError) in moveConstruct() 630 assert(!HasError && "Cannot get value when an error exists!"); in getStorage() [all …]
|
/external/libbrillo/brillo/errors/ |
D | error_test.cc | 43 EXPECT_TRUE(err->HasError("network", "not_found")); in TEST() 44 EXPECT_FALSE(err->HasError("network", "404")); in TEST() 45 EXPECT_FALSE(err->HasError("HTTP", "404")); in TEST() 46 EXPECT_FALSE(err->HasError("HTTP", "not_found")); in TEST() 47 EXPECT_FALSE(err->HasError("foo", "bar")); in TEST() 60 EXPECT_TRUE(err->HasError("network", "not_found")); in TEST() 61 EXPECT_FALSE(err->HasError("network", "404")); in TEST() 62 EXPECT_TRUE(err->HasError("HTTP", "404")); in TEST() 63 EXPECT_FALSE(err->HasError("HTTP", "not_found")); in TEST() 64 EXPECT_FALSE(err->HasError("foo", "bar")); in TEST()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ErrorOr.h | 88 : HasError(true) { in HasError() function 92 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr() 100 : HasError(false) { in HasError() function 157 if (!HasError) in ~ErrorOr() 163 return !HasError; 170 return HasError ? *getErrorStorage() : std::error_code(); in getError() 188 if (!Other.HasError) { in copyConstruct() 190 HasError = false; in copyConstruct() 194 HasError = true; in copyConstruct() 220 if (!Other.HasError) { in moveConstruct() [all …]
|
D | Error.h | 651 : HasError(true) in Expected() 672 : HasError(false) in HasError() function 712 if (!HasError) in ~Expected() 721 Unchecked = HasError; 723 return !HasError; 740 return HasError && getErrorStorage()->template isA<ErrT>(); in errorIsA() 751 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError() 790 HasError = Other.HasError; in moveConstruct() 796 if (!HasError) in moveConstruct() 821 assert(!HasError && "Cannot get value when an error exists!"); in getStorage() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ErrorOr.h | 88 : HasError(true) { in HasError() function 92 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr() 100 : HasError(false) { in HasError() function 157 if (!HasError) in ~ErrorOr() 163 return !HasError; 170 return HasError ? *getErrorStorage() : std::error_code(); in getError() 188 if (!Other.HasError) { in copyConstruct() 190 HasError = false; in copyConstruct() 194 HasError = true; in copyConstruct() 220 if (!Other.HasError) { in moveConstruct() [all …]
|
D | Error.h | 620 : HasError(true) in Expected() 636 : HasError(false) in HasError() function 676 if (!HasError) in ~Expected() 685 Checked = !HasError; 687 return !HasError; 704 return HasError && getErrorStorage()->template isA<ErrT>(); in errorIsA() 715 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError() 754 HasError = Other.HasError; in moveConstruct() 761 if (!HasError) in moveConstruct() 786 assert(!HasError && "Cannot get value when an error exists!"); in getStorage() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_mgr_test.cc | 79 static void HasError(const Status& s, const string& substr) { in HasError() function 100 HasError(rm.Create("foo", "bar", new Resource("kitty")), in TEST() 109 HasError(FindErr<Resource>(rm, "bar", "foo"), "Not found: Container bar"); in TEST() 110 HasError(FindErr<Resource>(rm, "foo", "xxx"), "Not found: Resource foo/xxx"); in TEST() 111 HasError(FindErr<Other>(rm, "foo", "baz"), "Not found: Resource foo/baz"); in TEST() 115 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Resource foo/bar"); in TEST() 122 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); in TEST() 126 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); in TEST() 141 HasError(FindErr<Other>(rm, "foo", "bar"), "Not found: Resource foo/bar"); in TEST() 221 HasError(WrongPolicy("none", "", false), "No attr"); in TEST() [all …]
|
D | function_test.cc | 561 static void HasError(const Status& s, const string& substr) { in HasError() function 570 HasError( in TEST() 580 HasError(InstantiateFunction(fdef, Attrs({{"T", DT_INT32}, {"U", DT_FLOAT}}), 590 HasError( in TEST() 601 HasError( in TEST() 609 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST() 620 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST() 631 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST() 641 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST() 652 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST() [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmparser.cpp | 34 if (HasError()) in Parse() 38 if (HasError()) in Parse() 49 if (HasError()) in NextToken() 53 while (!HasError() && m_token.m_type == TOKreserver) in NextToken() 55 return !HasError(); in NextToken() 59 if (HasError()) in CheckThenNext() 76 if (HasError() || !IncrementParseDepthAndCheck()) in ParseExpressionList() 80 while (!HasError()) { in ParseExpressionList() 111 if (HasError() || !IncrementParseDepthAndCheck()) in ParseFunction() 165 if (HasError() || !IncrementParseDepthAndCheck()) in ParseExpression() [all …]
|
D | cxfa_fmparser_unittest.cpp | 18 EXPECT_FALSE(parser->HasError()); in TEST() 32 EXPECT_FALSE(parser->HasError()); in TEST() 62 EXPECT_FALSE(parser->HasError()); in TEST() 131 EXPECT_FALSE(parser->HasError()); in TEST() 143 EXPECT_TRUE(parser->HasError()); in TEST() 152 EXPECT_TRUE(parser->HasError()); in TEST() 160 EXPECT_TRUE(parser->HasError()); in TEST() 193 EXPECT_FALSE(parser->HasError()); in TEST() 231 EXPECT_FALSE(parser->HasError()); in TEST() 248 EXPECT_TRUE(parser->HasError()); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/test/modularize/ |
D | ProblemsDisplayLists.modularize | 3 # CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}CompileError{{[/\\]}}HasError.h:1:9: error: unknown type nam… 7 # CHECK: Inputs/CompileError/HasError.h 15 # CHECK: {{.*}}Inputs/CompileError/HasError.h
|
/external/llvm-project/llvm/tools/llc/ |
D | llc.cpp | 262 bool *HasError; member 263 LLCDiagnosticHandler(bool *HasErrorPtr) : HasError(HasErrorPtr) {} in LLCDiagnosticHandler() 266 *HasError = true; in handleDiagnostics() 282 bool *HasError = static_cast<bool *>(Context); in InlineAsmDiagHandler() local 284 *HasError = true; in InlineAsmDiagHandler() 338 bool HasError = false; in main() local 340 std::make_unique<LLCDiagnosticHandler>(&HasError)); in main() 341 Context.setInlineAsmDiagnosticHandler(InlineAsmDiagHandler, &HasError); in main() 660 auto HasError = in compileModule() local 661 ((const LLCDiagnosticHandler *)(Context.getDiagHandlerPtr()))->HasError; in compileModule() [all …]
|
/external/llvm-project/clang-tools-extra/test/modularize/Inputs/CompileError/ |
D | module.modulemap | 7 module HasError { 8 header "HasError.h"
|
/external/llvm-project/llvm/test/ExecutionEngine/OrcLazy/ |
D | static-initializers-in-objectfiles.ll | 12 @HasError = global i8 1, align 1 17 store i8 0, i8* @HasError, align 1 23 %0 = load i8, i8* @HasError, align 1
|
/external/image_io/src/jpeg/ |
D | jpeg_scanner.cc | 42 while (!IsDone() && !HasError()) { in FindAndProcessSegments() 60 if (marker.IsValid() && !HasError()) { in FindAndProcessSegments() 66 if (!HasError()) { in FindAndProcessSegments()
|
/external/grpc-grpc/test/cpp/util/ |
D | grpc_tool.cc | 194 if (parser->HasError() && print_mode) { in ReadResponse() 487 if (parser->HasError()) { in CallMethod() 499 if (parser->HasError()) { in CallMethod() 553 if (parser->HasError()) { in CallMethod() 637 if (parser->HasError()) { in CallMethod() 674 if (parser->HasError() && print_mode) { in CallMethod() 731 if (parser->HasError()) { in CallMethod() 756 if (parser->HasError()) { in CallMethod() 836 if (parser->HasError()) { in ParseMessage() 849 if (parser->HasError()) { in ParseMessage() [all …]
|
/external/llvm-project/clang/test/Parser/ |
D | cxx-ambig-init-templ.cpp | 113 …template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no memb… argument 118 void f(int a = X<Y, HasError<int>::Z >()); // expected-note {{in instantiation of}} 122 template<typename> struct HasError { typedef int Z; }; struct 125 HasError<int> hei;
|
/external/clang/test/Parser/ |
D | cxx-ambig-init-templ.cpp | 99 …template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no memb… argument 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/tools/llc/ |
D | llc.cpp | 214 bool *HasError = static_cast<bool *>(Context); in DiagnosticHandler() local 216 *HasError = true; in DiagnosticHandler() 259 bool HasError = false; in main() local 260 Context.setDiagnosticHandler(DiagnosticHandler, &HasError); in main() 489 auto HasError = *static_cast<bool *>(Context.getDiagnosticContext()); in compileModule() local 490 if (HasError) in compileModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 81 HasError = 1U << 0, enumerator 123 return (Flags & HasError) == HasError; in hasError() 249 : Err(std::move(Err)), Flags(JITSymbolFlags::HasError) {} in JITSymbol()
|
/external/pdfium/fxjs/ |
D | js_define.h | 79 if (result.HasError()) { in JSPropGetter() 104 if (result.HasError()) { in JSPropSetter() 129 if (result.HasError()) { in JSMethod()
|