Lines Matching refs:value
205 volatile int value; member
209 Counter(void (*fn)(sigval_t)) : value(0) { in Counter()
226 static void CountNotifyFunction(sigval_t value) { in CountNotifyFunction()
227 Counter* cd = reinterpret_cast<Counter*>(value.sival_ptr); in CountNotifyFunction()
228 ++cd->value; in CountNotifyFunction()
231 static void CountAndDisarmNotifyFunction(sigval_t value) { in CountAndDisarmNotifyFunction()
232 Counter* cd = reinterpret_cast<Counter*>(value.sival_ptr); in CountAndDisarmNotifyFunction()
233 ++cd->value; in CountAndDisarmNotifyFunction()
244 ASSERT_EQ(0, counter.value); in TEST()
250 ASSERT_EQ(1, counter.value); in TEST()
257 ASSERT_EQ(0, counter.value); in TEST()
263 ASSERT_GT(counter.value, 1); in TEST()
329 ASSERT_EQ(0, counter1.value); in TEST()
330 ASSERT_EQ(0, counter2.value); in TEST()
331 ASSERT_EQ(0, counter3.value); in TEST()
336 EXPECT_EQ(0, counter1.value); in TEST()
337 EXPECT_EQ(1, counter2.value); in TEST()
338 EXPECT_EQ(0, counter3.value); in TEST()
347 static void TimerDeleteCallback(sigval_t value) { in TimerDeleteCallback() argument
348 TimerDeleteData* tdd = reinterpret_cast<TimerDeleteData*>(value.sival_ptr); in TimerDeleteCallback()