Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DRelocVisitor.h53 HasError = true;
57 bool error() { return HasError; } in error()
61 bool HasError = false; variable
87 HasError = true; in visitELF()
114 HasError = true; in visitELF()
139 HasError = true; in visitX86_64()
148 HasError = true; in visitAarch64()
154 HasError = true; in visitAarch64()
165 HasError = true; in visitBpf()
178 HasError = true; in visitMips64()
[all …]
/external/llvm/include/llvm/Object/
DRelocVisitor.h46 : 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-7.0/llvm/include/llvm/Support/
DErrorOr.h79 : HasError(true) { in HasError() function
83 ErrorOr(std::error_code EC) : HasError(true) { in ErrorOr()
91 : HasError(false) { in HasError() function
148 if (!HasError) in ~ErrorOr()
154 return !HasError;
161 return HasError ? *getErrorStorage() : std::error_code(); in getError()
179 if (!Other.HasError) { in copyConstruct()
181 HasError = false; in copyConstruct()
185 HasError = true; in copyConstruct()
211 if (!Other.HasError) { in moveConstruct()
[all …]
DError.h450 : HasError(true) in Expected()
471 : HasError(false) in HasError() function
511 if (!HasError) in ~Expected()
520 Unchecked = HasError;
522 return !HasError;
539 return HasError && (*getErrorStorage())->template isA<ErrT>(); in errorIsA()
550 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError()
589 HasError = Other.HasError; in moveConstruct()
595 if (!HasError) in moveConstruct()
620 assert(!HasError && "Cannot get value when an error exists!"); in getStorage()
[all …]
DBinaryStreamArray.h180 assert(Array && !HasError);
185 assert(Array && !HasError);
224 HasError = true; in markError()
235 bool HasError{false};
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DErrorOr.h88 : 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 …]
DError.h651 : 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/
DErrorOr.h88 : 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 …]
DError.h620 : 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/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()
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc75 static void HasError(const Status& s, const string& substr) { in HasError() function
96 HasError(rm.Create("foo", "bar", new Resource("kitty")), in TEST()
105 HasError(FindErr<Resource>(rm, "bar", "foo"), "Not found: Container bar"); in TEST()
106 HasError(FindErr<Resource>(rm, "foo", "xxx"), "Not found: Resource foo/xxx"); in TEST()
107 HasError(FindErr<Other>(rm, "foo", "baz"), "Not found: Resource foo/baz"); in TEST()
111 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Resource foo/bar"); in TEST()
118 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); in TEST()
122 HasError(FindErr<Resource>(rm, "foo", "bar"), "Not found: Container foo"); in TEST()
137 HasError(FindErr<Other>(rm, "foo", "bar"), "Not found: Resource foo/bar"); in TEST()
215 HasError(WrongPolicy("none", "", false), "No attr"); in TEST()
[all …]
Dfunction_test.cc558 static void HasError(const Status& s, const string& substr) { in HasError() function
567 HasError( in TEST()
577 HasError(InstantiateFunction(fdef, Attrs({{"T", DT_INT32}, {"U", DT_FLOAT}}),
587 HasError( in TEST()
598 HasError( in TEST()
606 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST()
617 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST()
628 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST()
638 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST()
649 HasError(InstantiateFunction(fdef, AttrSlice(), GetOpSig, &result), in TEST()
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmparser.cpp33 if (HasError()) in Parse()
42 if (HasError()) in NextToken()
45 while (!HasError() && m_token->m_type == TOKreserver) in NextToken()
47 return !HasError(); in NextToken()
51 if (HasError()) in CheckThenNext()
68 if (HasError() || !IncrementParseDepthAndCheck()) in ParseTopExpression()
73 while (!HasError()) { in ParseTopExpression()
92 if (HasError() || !IncrementParseDepthAndCheck()) in ParseFunction()
155 if (HasError() || !IncrementParseDepthAndCheck()) in ParseExpression()
208 if (HasError() || !IncrementParseDepthAndCheck()) in ParseVarExpression()
[all …]
Dcxfa_fmparser_unittest.cpp19 EXPECT_FALSE(parser->HasError()); in TEST()
33 EXPECT_FALSE(parser->HasError()); in TEST()
53 EXPECT_FALSE(parser->HasError()); in TEST()
109 EXPECT_FALSE(parser->HasError()); in TEST()
121 EXPECT_TRUE(parser->HasError()); in TEST()
130 EXPECT_TRUE(parser->HasError()); in TEST()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h55 bool HasError; variable
61 HasError = true; in Error()
69 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {} in RuntimeDyldImpl()
86 bool hasError() { return HasError; } in hasError()
89 void clearError() { HasError = false; } in clearError()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp243 bool *HasError; member
244 LLCDiagnosticHandler(bool *HasErrorPtr) : HasError(HasErrorPtr) {} in LLCDiagnosticHandler()
247 *HasError = true; in handleDiagnostics()
263 bool *HasError = static_cast<bool *>(Context); in InlineAsmDiagHandler() local
265 *HasError = true; in InlineAsmDiagHandler()
317 bool HasError = false; in main() local
319 llvm::make_unique<LLCDiagnosticHandler>(&HasError)); in main()
320 Context.setInlineAsmDiagnosticHandler(InlineAsmDiagHandler, &HasError); in main()
599 auto HasError = in compileModule() local
600 ((const LLCDiagnosticHandler *)(Context.getDiagHandlerPtr()))->HasError; in compileModule()
[all …]
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc194 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/image_io/src/jpeg/
Djpeg_scanner.cc42 while (!IsDone() && !HasError()) { in FindAndProcessSegments()
60 if (marker.IsValid() && !HasError()) { in FindAndProcessSegments()
66 if (!HasError()) { in FindAndProcessSegments()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h50 HasError = 1U << 0, enumerator
76 return (Flags & HasError) == HasError; in hasError()
198 : Err(std::move(Err)), Flags(JITSymbolFlags::HasError) {} in JITSymbol()
/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/tools/llc/
Dllc.cpp214 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/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
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamArray.h143 assert(Array && !HasError);
182 HasError = true; in markError()
191 bool HasError{false};
/external/pdfium/fxjs/
DJS_Define.h79 if (result.HasError()) { in JSPropGetter()
107 if (result.HasError()) { in JSPropSetter()
135 if (result.HasError()) { in JSMethod()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h296 bool HasError; variable
425 ProcessAllSections(false), HasError(false) { in RuntimeDyldImpl()
475 bool hasError() { return HasError; } in hasError()
478 void clearError() { HasError = false; } in clearError()

123