Searched refs:ReturnError (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | ErrorTests.cpp | 37 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() 154 auto ReturnError = []() -> ResultOrError<int*> { TEST() local 177 auto ReturnError = []() -> ResultOrError<int*> { TEST() local 205 auto ReturnError = []() -> ResultOrError<int*> { TEST() local 227 auto ReturnError = []() -> ResultOrError<int> { TEST() local 273 auto ReturnError = []() -> ResultOrError<int*> { TEST() local 300 auto ReturnError = []() -> ResultOrError<int*> { TEST() local 321 auto ReturnError = []() -> MaybeError { return DAWN_VALIDATION_ERROR(dummyErrorMessage); }; TEST() local 338 auto ReturnError = []() -> MaybeError { return DAWN_VALIDATION_ERROR(dummyErrorMessage); }; TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
H A D | TGLexer.cpp | 67 /// ReturnError - Set the error to the specified string at the specified 69 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(StrStar in LexString() [all...] |
H A D | TGLexer.h | 132 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/ |
H A D | AsmLexer.cpp | 50 /// ReturnError - Set the error to the specified string at the specified 52 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(TokStar in LexDigit() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
H A D | AsmLexer.h | 57 AsmToken ReturnError(const char *Loc, const std::string &Msg);
|
Completed in 5 milliseconds