Home
last modified time | relevance | path

Searched refs:ReturnError (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DErrorTests.cpp37 auto ReturnError = []() -> MaybeError { return DAWN_VALIDATION_ERROR(dummyErrorMessage); }; in TEST() local
39 MaybeError result = ReturnError(); in TEST()
57 auto ReturnError = []() -> ResultOrError<int*> { in TEST() local
61 ResultOrError<int*> result = ReturnError(); in TEST()
88 auto ReturnError = []() -> MaybeError { return DAWN_VALIDATION_ERROR(dummyErrorMessage); }; in TEST() local
90 auto Try = [ReturnError]() -> MaybeError { in TEST()
91 DAWN_TRY(ReturnError()); in TEST()
106 auto ReturnError = []() -> MaybeError { return DAWN_VALIDATION_ERROR(dummyErrorMessage); }; in TEST() local
108 auto SingleTry = [ReturnError]() -> MaybeError { in TEST()
109 DAWN_TRY(ReturnError()); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DErrorTests.cpp39 auto ReturnError = []() -> MaybeError { in TEST() local
43 MaybeError result = ReturnError(); in TEST()
64 auto ReturnError = []() -> ResultOrError<int*> { in TEST() local
68 ResultOrError<int*> result = ReturnError(); in TEST()
98 auto ReturnError = []() -> MaybeError { in TEST() local
102 auto Try = [ReturnError]() -> MaybeError { in TEST()
103 DAWN_TRY(ReturnError()); in TEST()
119 auto ReturnError = []() -> MaybeError { in TEST() local
123 auto SingleTry = [ReturnError]() -> MaybeError { in TEST()
124 DAWN_TRY(ReturnError()); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp69 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) { in ReturnError() function in TGLexer
74 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { in ReturnError() function in TGLexer
75 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError()
148 return ReturnError(TokStart, "Unexpected character"); in LexToken()
204 return ReturnError(TokStart, "Unexpected character"); in LexToken()
262 return ReturnError(StrStart, "End of file in string literal"); in LexString()
265 return ReturnError(StrStart, "End of line in string literal"); in LexString()
290 return ReturnError(CurPtr, "escaped newlines not supported in tblgen"); in LexString()
295 return ReturnError(StrStart, "End of file in string literal"); in LexString()
298 return ReturnError(CurPtr, "invalid escape in string literal"); in LexString()
[all …]
DTGLexer.h132 tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
133 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp52 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { in ReturnError() function in AsmLexer
73 return ReturnError(CurPtr, "Invalid sign in float literal"); in LexFloatLiteral()
113 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
118 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
131 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral()
200 return ReturnError(TokStart, "unterminated comment"); in LexSlash()
313 return ReturnError(TokStart, Radix == 2 ? "invalid binary number" : in LexDigit()
341 return ReturnError(TokStart, !isHex ? "invalid decimal number" : in LexDigit()
369 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
375 return ReturnError(TokStart, "invalid binary number"); in LexDigit()
[all …]
/third_party/grpc/src/core/ext/filters/client_channel/
Dresolver.h84 virtual void ReturnError(grpc_error* error) = 0;
Dresolving_lb_policy.cc92 void ReturnError(grpc_error* error) override { in ReturnError() function in grpc_core::ResolvingLoadBalancingPolicy::ResolverResultHandler
Dclient_channel.cc276 void ReturnError(grpc_error* error) override { in ReturnError() function in grpc_core::__anon6b4c07050111::ChannelData::ResolverResultHandler
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DAsmLexer.h57 AsmToken ReturnError(const char *Loc, const std::string &Msg);
/third_party/grpc/test/core/client_channel/resolvers/
Ddns_resolver_test.cc35 void ReturnError(grpc_error* /*error*/) override {} in ReturnError() function in TestResultHandler
Dsockaddr_resolver_test.cc37 void ReturnError(grpc_error* error) override { GRPC_ERROR_UNREF(error); } in ReturnError() function in ResultHandler
Ddns_resolver_connectivity_test.cc134 void ReturnError(grpc_error* error) override { in ReturnError() function in ResultHandler
Dfake_resolver_test.cc61 void ReturnError(grpc_error* /*error*/) override {} in ReturnError() function in ResultHandler
Ddns_resolver_cooldown_test.cc203 void ReturnError(grpc_error* error) override { in ReturnError() function in ResultHandler
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc201 result_handler_->ReturnError(grpc_error_set_int( in OnResolvedLocked()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc146 result_handler_->ReturnError(grpc_error_set_int( in MaybeSendResultLocked()
/third_party/grpc/test/cpp/naming/
Dcancel_ares_query_test.cc153 void ReturnError(grpc_error* /*error*/) override { GPR_ASSERT(false); } in ReturnError() function in __anon7e2b619f0111::AssertFailureResultHandler
Dresolver_component_test.cc451 void ReturnError(grpc_error* error) override { in ReturnError() function in __anon2240e79e0111::ResultHandler
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc360 result_handler_->ReturnError(grpc_error_set_int( in OnResolvedLocked()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_resolver.cc252 void ReturnError(grpc_error* error) override;
544 ReturnError(grpc_error* error) { in ReturnError() function in grpc_core::__anon9699b2f90111::XdsClusterResolverLb::LogicalDNSDiscoveryMechanism::ResolverResultHandler
/third_party/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc521 result_handler_->ReturnError(error); in StartLocked()