Searched refs:value_is (Results 1 – 2 of 2) sorted by relevance
71 bool value_is( long expected_value ) const { in value_is() function83 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()
135 bool value_is(long expected_value) const { in value_is() function157 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()