Home
last modified time | relevance | path

Searched refs:value_is (Results 1 – 2 of 2) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_mutex.h71 bool value_is( long expected_value ) const { in value_is() function
83 return value_is(value[0]); in is_okay()
103 okay = value_is(my_value + 1); in flog_once()
114 okay = value_is(my_value + 1); in flog_once()
130 okay = value_is(my_value + 1); in flog_once()
141 okay = value_is(my_value + 1); in flog_once()
188 REQUIRE(invariant.value_is(expected_value)); in test_rw_basic()
/oneTBB/test/conformance/
H A Dconformance_mutex.h135 bool value_is(long expected_value) const { in value_is() function
157 okay = counter.value_is(counter_value + 1); in TestReaderWriterLock_Impl()
160 okay = counter.value_is(counter.value[0]); in TestReaderWriterLock_Impl()
169 okay = counter.value_is(counter_value + 1); in TestReaderWriterLock_Impl()
203 REQUIRE_MESSAGE(counter.value_is(N / 4), "ERROR for " << mutex_name << ": race is detected"); in TestReaderWriterLock()