Home
last modified time | relevance | path

Searched refs:caught (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/external/python/setuptools/setuptools/tests/
Dtest_sandbox.py51 with pytest.raises(ValueError) as caught:
54 assert isinstance(caught.value, ValueError)
55 assert str(caught.value) == 'details'
63 with pytest.raises(ValueError) as caught:
66 assert isinstance(caught.value, ValueError)
67 assert caught.value is not orig_exc
84 with pytest.raises(setuptools.sandbox.UnpickleableException) as caught:
87 assert str(caught.value) == "CantPickleThis('detail',)"
100 with pytest.raises(setuptools.sandbox.UnpickleableException) as caught:
105 msg, = caught.value.args
[all …]
/external/llvm-project/polly/lib/External/isl/
Disl_test_cpp.cc52 bool caught = false; in test_return_bool() local
57 caught = true; in test_return_bool()
62 assert(caught); in test_return_bool()
107 bool caught = false; in test_foreach() local
112 caught = true; in test_foreach()
114 assert(caught); in test_foreach()
131 bool caught = false; in test_every() local
136 caught = true; in test_every()
138 assert(caught); in test_every()
184 auto caught = false; in test_schedule_tree() local
[all …]
Disl_test_python.py188 caught = False
192 caught = True
193 assert(caught)
222 caught = False
226 caught = True
227 assert(caught)
294 caught = False
298 caught = True
299 assert(caught)
322 caught = False
[all …]
Disl_test_cpp-checked-conversion.cc25 bool caught = false; in check_conversion_null() local
30 caught = true; in check_conversion_null()
32 if (!caught) in check_conversion_null()
/external/libpng/contrib/visupng/
Dcexcept.h199 int caught; \
220 while (the_exception_context->caught = 0, \
221 the_exception_context->caught); \
224 the_exception_context->caught = 1; \
228 if (!the_exception_context->caught || action) { } \
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/
D4-4.c44 int caught = 0; variable
51 caught++; in handler()
116 caught = 0; in main()
120 if (caught == 1) { in main()
129 if (caught >= 2) { in main()
132 printf("Caught %d < 2 signals\n", caught); in main()
D4-3.c46 int caught = 0; variable
53 caught++; in handler()
126 if (caught == 1) { in main()
129 printf("FAIL: Caught %d signals, not 1\n", caught); in main()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DLaunchFlow.kt69 var caught: Throwable? = null in launchFlow() variable
79 caught = e in launchFlow()
84 if (caught == null) { in launchFlow()
85 caught = e in launchFlow()
90 handlers.finally?.invoke(CoroutineScope(coroutineContext + NonCancellable), caught) in launchFlow()
/external/libchrome/base/android/junit/src/org/chromium/base/
DPromiseTest.java149 boolean caught = false; in rejectPromiseNoCallbacks()
154 caught = true; in rejectPromiseNoCallbacks()
156 assertFalse(caught); in rejectPromiseNoCallbacks()
165 boolean caught = false; in rejectPromiseNoHandler()
170 caught = true; in rejectPromiseNoHandler()
172 assertTrue(caught); in rejectPromiseNoHandler()
182 boolean caught = false; in rejectPromiseHandled()
187 caught = true; in rejectPromiseHandled()
189 assertFalse(caught); in rejectPromiseHandled()
/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java64 RuntimeException caught = null; in provision() local
68 caught = t; in provision()
73 } else if (caught != null) { in provision()
77 caught, in provision()
81 caught); in provision()
/external/libcxx/test/std/re/re.regex/re.regex.assign/
Dassign.pass.cpp30 bool caught = false; in main() local
32 catch(std::regex_error &) { caught = true; } in main()
33 assert(caught); in main()
/external/llvm-project/libcxx/test/std/re/re.regex/re.regex.assign/
Dassign.pass.cpp29 bool caught = false; in main() local
31 catch(std::regex_error &) { caught = true; } in main()
32 assert(caught); in main()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReflectionLongAdderCounter.java43 Throwable caught = null;
62 caught = e;
65 if (caught == null && defaultConstructorLookup != null) {
74 initializationException = new RuntimeException(caught);
/external/clang/test/CodeGenObjC/
Dnested-rethrow.m16 printf("caught \n");
18 printf("caught (WRONG)\n");
21 printf("caught nothing (WRONG)\n");
/external/llvm-project/clang/test/CodeGenObjC/
Dnested-rethrow.m16 printf("caught \n");
18 printf("caught (WRONG)\n");
21 printf("caught nothing (WRONG)\n");
/external/llvm-project/llvm/test/Transforms/Attributor/
Dnoreturn_sync.ll18 …0BG@CMNEKHOP@Exception?5NOT?5caught?6?$AA@" = linkonce_odr dso_local unnamed_addr constant [22 x i…
19 …"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@" = linkonce_odr dso_local unnamed_addr constant [18 x…
32 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
34 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
85 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
88 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
Dnoreturn_async.ll18 …0BG@CMNEKHOP@Exception?5NOT?5caught?6?$AA@" = linkonce_odr dso_local unnamed_addr constant [22 x i…
19 …"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@" = linkonce_odr dso_local unnamed_addr constant [18 x…
32 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
34 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
89 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
92 …ementptr inbounds ([18 x i8], [18 x i8]* @"??_C@_0BC@NKPAGFFJ@Exception?5caught?6?$AA@", i64 0, i6…
/external/guava/android/guava/src/com/google/common/collect/
DForwardingQueue.java92 } catch (IllegalStateException caught) { in standardOffer()
106 } catch (NoSuchElementException caught) { in standardPeek()
120 } catch (NoSuchElementException caught) { in standardPoll()
/external/guava/guava/src/com/google/common/collect/
DForwardingQueue.java92 } catch (IllegalStateException caught) { in standardOffer()
106 } catch (NoSuchElementException caught) { in standardPeek()
120 } catch (NoSuchElementException caught) { in standardPoll()
/external/flatbuffers/tests/FlatBuffers.Test/
DAssert.cs120 var caught = false;
127 caught = true;
130 if (!caught)
/external/llvm-project/llvm/test/CodeGen/X86/
Dpr27501.ll31 to label %try.success.or.caught unwind label %cleanuppad
33 try.success.or.caught: ; preds = %catchhandler
39 postinvoke27: ; preds = %try.success.or.caught
45 cleanuppad24: ; preds = %try.success.or.caught
/external/llvm/test/CodeGen/X86/
Dpr27501.ll31 to label %try.success.or.caught unwind label %cleanuppad
33 try.success.or.caught: ; preds = %catchhandler
39 postinvoke27: ; preds = %try.success.or.caught
45 cleanuppad24: ; preds = %try.success.or.caught
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dmisc-throw-by-value-catch-by-reference.rst25 * Re-throwing caught exception variables will not be flragged as not throwing
40 Also warns for any large, trivial object caught by value. Catching a large
42 maximum size of an object allowed to be caught without warning can be set
48 Determines the maximum size of an object allowed to be caught without
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEventBuilder.java123 public EventBuilder setExceptionOnly(long exceptionClassID, boolean caught, in setExceptionOnly() argument
126 mod.caught = caught; in setExceptionOnly()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D16-1.c48 char caught; member
107 s->caught = 1; in handler()
183 while (!s->caught) in test_sig()

12345678910>>...15