Home
last modified time | relevance | path

Searched refs:CHECK_FAST_MESSAGE (Results 1 – 10 of 10) sorted by relevance

/oneTBB/test/common/
H A Dstate_trackable.h91 CHECK_FAST_MESSAGE(state_initialized, "State trackable counters are not initialized"); in assign_new_state()
92 CHECK_FAST_MESSAGE((s == StateTrackableBase::Unspecified || in assign_new_state()
95 CHECK_FAST_MESSAGE((state == StateTrackableBase::Unspecified || in assign_new_state()
116 CHECK_FAST_MESSAGE(src.is_valid(), "Bad source for copy ctor"); in StateTrackable()
120 CHECK_FAST_MESSAGE(src.is_valid(), "Bad source for move ctor"); in StateTrackable()
125 CHECK_FAST_MESSAGE(is_valid(), "Copy assignment to invalid instance");
126 CHECK_FAST_MESSAGE(src.is_valid(), "Bad source for copy assignment");
132 CHECK_FAST_MESSAGE(is_valid(), "Move assignment to invalid instance");
133 CHECK_FAST_MESSAGE(src.is_valid(), "Bad source for move assignment");
140 CHECK_FAST_MESSAGE(is_valid(), "Calling destructor on invalid instance. (May be twice)"); in ~StateTrackable()
H A Dchecktype.h35 CHECK_FAST_MESSAGE(src.is_alive(), "Constructing from the dead source"); in DestroyedTracker()
39 CHECK_FAST_MESSAGE(is_alive(), "Destructing the dead object"); in ~DestroyedTracker()
44 CHECK_FAST_MESSAGE(is_alive(), "Assignment to the dead object");
45 CHECK_FAST_MESSAGE(src.is_alive(), "Assignment from the dead source");
89 CHECK_FAST_MESSAGE(check_type_counter >= 0, "Too many destructions"); in ~CheckType()
H A Dtest.h35 #define CHECK_FAST_MESSAGE(x, y) do { if (!(x)) { CHECK_MESSAGE(false, y); } } while((void)0, 0) macro
H A Dcontainer_move_support.h223 CHECK_FAST_MESSAGE(rhs.is_valid_or_zero(), "Comparing invalid objects");
228 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
233 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
234 CHECK_FAST_MESSAGE(rhs.is_valid_or_zero(), "Comparing invalid objects");
239 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
240 CHECK_FAST_MESSAGE(rhs.is_valid_or_zero(), "Comparing invalid objects");
H A Dutils.h284 CHECK_FAST_MESSAGE(src.IsLive(), "Constructing from the dead source");
287 CHECK_FAST_MESSAGE(IsLive(), "Repeated destructor call");
296 CHECK_FAST_MESSAGE(IsLive(), "Already dead");
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_regression.cpp137CHECK_FAST_MESSAGE(objSizes[i] >= allocSz[s], "allocated size must be not less than requested"); in TestAlignedMsize()
142 CHECK_FAST_MESSAGE((((char*)p[i])[j] == i), "Error: data broken"); in TestAlignedMsize()
152 CHECK_FAST_MESSAGE((((char*)p[i])[j] == i), "Error: data broken"); in TestAlignedMsize()
154 CHECK_FAST_MESSAGE((((char*)p[i])[j] == i+1), "Error: data broken"); in TestAlignedMsize()
H A Dtest_malloc_compliance.cpp453 CHECK_FAST_MESSAGE(0==((uintptr_t)ret & (alignment-1)), in Tmalloc()
463 CHECK_FAST_MESSAGE(0==((uintptr_t)ret & (alignment-1)), in Tcalloc()
473 CHECK_FAST_MESSAGE(0==((uintptr_t)ret & (alignment-1)), in Trealloc()
481 CHECK_FAST_MESSAGE(0==((uintptr_t)*memptr & (alignment-1)), in Tposix_memalign()
489 CHECK_FAST_MESSAGE(0==((uintptr_t)ret & (alignment-1)), in Taligned_malloc()
497 CHECK_FAST_MESSAGE(0==((uintptr_t)ret & (alignment-1)), in Taligned_realloc()
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp433 CHECK_FAST_MESSAGE(src_queue.size() == dst_queue.size(), "different size"); in TestConstructors()
434 CHECK_FAST_MESSAGE(src_queue.size() == copy_with_alloc.size(), "different size"); in TestConstructors()
457 CHECK_FAST_MESSAGE(res.first == dqe, "unexpected element"); in TestConstructors()
458 CHECK_FAST_MESSAGE(res.second == bar_array + size, "different size?"); in TestConstructors()
482 CHECK_FAST_MESSAGE(res.first == dqe, "unexpected element"); in TestConstructors()
483 CHECK_FAST_MESSAGE(res.second == src_queue.unsafe_end(), "different size?"); in TestConstructors()
547 CHECK_FAST_MESSAGE(res2.first == dqe_ex, "unexpected element"); in TestConstructors()
548 CHECK_FAST_MESSAGE(res2.second == src_queue_ex.unsafe_end(), "different size?"); in TestConstructors()
566CHECK_FAST_MESSAGE((src_queue.empty() && src_queue.size() == 0), "not working move constructor?"); in TestConstructors()
567CHECK_FAST_MESSAGE((size == size_of_queue && size_of_queue == dst_queue.size()), "not working move… in TestConstructors()
[all …]
H A Dconformance_concurrent_hash_map.cpp612CHECK_FAST_MESSAGE((table.insert( a, std::make_pair(MyKey::make(i), move_support_tests::Foo(next))… in apply()
623 CHECK_FAST_MESSAGE((table.emplace( a, MyKey::make(i), (i + 1))), in apply_impl()
751 CHECK_FAST_MESSAGE((0<=k && size_t(k)<n), "out of bounds key" ); in TraverseTable()
752 CHECK_FAST_MESSAGE( !array[k], "duplicate key" ); in TraverseTable()
/oneTBB/test/tbb/
H A Dtest_task_arena.cpp828CHECK_FAST_MESSAGE( myNestedLevel > isolated_level, "The outer-level task should not be stolen on … in operator ()()
1473CHECK_FAST_MESSAGE(threads == tbb::this_task_arena::max_concurrency(), "concurrency level is not e… in TestDefaultCreatedWorkersAmount()
1474CHECK_FAST_MESSAGE(tbb::this_task_arena::current_thread_index() < tbb::this_task_arena::max_concur… in TestDefaultCreatedWorkersAmount()