Searched refs:counter (Results 1 - 3 of 3) sorted by relevance

/bionic/tests/
H A Dtime_test.cpp263 Counter counter(Counter::CountAndDisarmNotifyFunction);
264 ASSERT_TRUE(counter.timer_valid);
266 ASSERT_EQ(0, counter.value);
268 counter.SetTime(0, 1, 1, 0);
272 ASSERT_EQ(1, counter.value);
276 Counter counter(Counter::CountNotifyFunction);
277 ASSERT_TRUE(counter.timer_valid);
279 ASSERT_EQ(0, counter.value);
281 counter.SetTime(0, 1, 0, 10);
282 ASSERT_TRUE(counter
[all...]
/bionic/libc/bionic/
H A Dpthread_cond.cpp46 // CLOCK_MONOTONIC is ((clockid_t) 0).). The rest of the bits are a counter.
125 // pthread_cond_signal to atomically decrement the counter
126 // then wake up 'counter' threads.
127 static int __pthread_cond_pulse(pthread_cond_t* cond, int counter) { argument
147 __futex_wake_ex(&cond->value, COND_IS_SHARED(cond->value), counter);
/bionic/libc/include/arpa/
H A Dnameser.h268 int counter; member in struct:ns_tcp_tsig_state

Completed in 88 milliseconds