Home
last modified time | relevance | path

Searched refs:exception_caught (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_new_handler.cpp44 bool exception_caught = false; in allocateWithException() local
50 exception_caught = allocateWithException(big_mem * 2); in allocateWithException()
56 exception_caught = true; in allocateWithException()
58 return exception_caught; in allocateWithException()
/oneTBB/test/tbb/
H A Dtest_allocators.cpp52 bool exception_caught = false; variable
57 exception_caught = true;
60 exception_caught = true;
62 REQUIRE_MESSAGE(exception_caught, "cache_aligned_allocate did not throw bad_alloc");
/oneTBB/test/common/
H A Dallocator_test_common.h196 bool exception_caught = false; in TestAllocatorExceptions() local
206 exception_caught = true; in TestAllocatorExceptions()
208 REQUIRE_MESSAGE(exception_caught, "allocate expected to throw bad_alloc"); in TestAllocatorExceptions()
/oneTBB/test/conformance/
H A Dconformance_enumerable_thread_specific.cpp488 bool exception_caught = false; in run_parallel_scalar_tests() local
502 exception_caught = false; in run_parallel_scalar_tests()
567 exception_caught = true; in run_parallel_scalar_tests()
572 if (!exception_caught) { in run_parallel_scalar_tests()
582 } while (exception_caught && test_throw_count < 200); in run_parallel_scalar_tests()
583 REQUIRE_MESSAGE(!exception_caught, "No non-exception test completed"); in run_parallel_scalar_tests()