Home
last modified time | relevance | path

Searched refs:Try (Results 1 - 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DErrorTests.cpp75 auto Try = [ReturnSuccess, &tryReturned]() -> MaybeError { in TEST() local
81 MaybeError result = Try(); in TEST()
90 auto Try = [ReturnError]() -> MaybeError { in TEST() local
97 MaybeError result = Try(); in TEST()
137 auto Try = [ReturnSuccess, &tryReturned]() -> ResultOrError<int*> { in TEST() local
146 ResultOrError<int*> result = Try(); in TEST()
158 auto Try = [ReturnError]() -> ResultOrError<int*> { in TEST() local
168 ResultOrError<int*> result = Try(); in TEST()
209 auto Try = [ReturnError]() -> MaybeError { in TEST() local
217 MaybeError result = Try(); in TEST()
231 auto Try = [ReturnError]() -> MaybeError { TEST() local
255 auto Try = [ReturnSuccess, &tryReturned, &tryCleanup]() -> ResultOrError<int*> { TEST() local
280 auto Try = [ReturnError, &tryCleanup]() -> ResultOrError<int*> { TEST() local
304 auto Try = [ReturnError]() -> bool { TEST() local
323 auto Try = [ReturnError]() -> ResultOrError<int*> { TEST() local
340 auto Try = [ReturnError]() -> ResultOrError<int> { TEST() local
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dlock_test.cc25 // Basic test to make sure that Acquire()/Unlock()/Try() don't crash
44 if (lock_->Try()) { in ThreadMain()
81 if (lock.Try()) { in BasicLockTest()
102 // Test that Try() works as expected -------------------------------------------
109 got_lock_ = lock_->Try(); in ThreadMain()
126 EXPECT_TRUE(lock.Try()); in TryLockTest()
154 EXPECT_TRUE(lock.Try()); in TryLockTest()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Dlock.cc33 bool Lock::Try() { in Try() function in sfntly::Lock
58 bool Lock::Try() {
H A Dlock.h44 bool Try();
50 // a successful call to Try, or a call to Lock.
/third_party/python/Python/
H A Dast.c838 if (!validate_body(state, stmt->v.Try.body, "Try")) in validate_stmt()
840 if (!asdl_seq_LEN(stmt->v.Try.handlers) && in validate_stmt()
841 !asdl_seq_LEN(stmt->v.Try.finalbody)) { in validate_stmt()
842 PyErr_SetString(PyExc_ValueError, "Try has neither except handlers nor finalbody"); in validate_stmt()
845 if (!asdl_seq_LEN(stmt->v.Try.handlers) && in validate_stmt()
846 asdl_seq_LEN(stmt->v.Try.orelse)) { in validate_stmt()
847 PyErr_SetString(PyExc_ValueError, "Try has orelse but no except handlers"); in validate_stmt()
850 for (Py_ssize_t i = 0; i < asdl_seq_LEN(stmt->v.Try.handlers); i++) { in validate_stmt()
851 excepthandler_ty handler = asdl_seq_GET(stmt->v.Try in validate_stmt()
[all...]
/third_party/cJSON/tests/unity/test/testdata/
H A DCException.h8 #define Try if (e) macro
/third_party/unity/test/testdata/
H A DCException.h8 #define Try if (e) macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp189 Try, enumerator
238 case Try: in nestingString()
468 push(Try); variable
478 if (pop(Name, Try))
480 push(Try);
485 if (pop(Name, Try))
/third_party/cJSON/tests/unity/test/expectdata/
H A Dtestsample_new1.c12 Try { \
H A Dtestsample_run1.c12 Try { \
H A Dtestsample_yaml.c12 Try { \
H A Dtestsample_mock_cmd.c14 Try { \
H A Dtestsample_cmd.c12 Try { \
H A Dtestsample_mock_new1.c14 Try { \
H A Dtestsample_mock_run1.c14 Try { \
H A Dtestsample_mock_yaml.c14 Try { \
/third_party/skia/third_party/externals/libpng/contrib/visupng/
H A Dcexcept.h69 The Try/Catch and Throw statements (described below) implicitly
97 Try/Catch/Throw macros, so it shouldn't be expensive or have side
108 are used by a Try/Catch statement. It does no harm to initialize
112 Try/Catch statement.
115 Try statement
118 The Try/Catch/Throw macros are capitalized in order to avoid
122 A Try/Catch statement has a syntax similar to an if/else statement,
132 If a Throw that uses the same exception context as the Try/Catch is
133 executed within the Try clause (typically within a function called
134 by the Try claus
211 #define Try global() macro
[all...]
/third_party/unity/test/expectdata/
H A Dtestsample_cmd.c12 Try { \
H A Dtestsample_mock_cmd.c14 Try { \
H A Dtestsample_new1.c12 Try { \
H A Dtestsample_run1.c12 Try { \
H A Dtestsample_yaml.c12 Try { \
H A Dtestsample_mock_new1.c14 Try { \
H A Dtestsample_mock_run1.c14 Try { \
H A Dtestsample_mock_yaml.c14 Try { \

Completed in 7 milliseconds

123