Searched refs:counter (Results 1 - 9 of 9) sorted by relevance
/bionic/benchmarks/ |
H A D | atomic_benchmark.cpp | 40 volatile unsigned counter; variable 50 ++counter; 59 ++counter; 69 ++counter; 76 int i = counter; 79 ++counter; 85 int i = counter; 88 ++counter; 97 ++counter; 107 ++counter; [all...] |
/bionic/tests/ |
H A D | pty_test.cpp | 89 uint32_t counter = 0; local 90 while (counter <= arg->data_count) { 92 size_t to_read = std::min(sizeof(buf), (arg->data_count + 1 - counter) * sizeof(uint32_t)); 97 if (*p++ != counter++) { 155 uint32_t counter = 0; local 156 while (counter <= TEST_DATA_COUNT) { 158 counter_buf[i] = counter++; 161 ASSERT_TRUE(arg.matched) << "failed at count = " << counter;
|
H A D | time_test.cpp | 429 Counter counter(Counter::CountAndDisarmNotifyFunction); 430 ASSERT_EQ(0, counter.Value()); 432 counter.SetTime(0, 500000000, 1, 0); 436 ASSERT_EQ(1, counter.Value()); 440 Counter counter(Counter::CountNotifyFunction); 441 ASSERT_EQ(0, counter.Value()); 443 counter.SetTime(0, 1, 0, 10); 444 ASSERT_TRUE(counter.ValueUpdated()); 445 ASSERT_TRUE(counter.ValueUpdated()); 446 ASSERT_TRUE(counter [all...] |
/bionic/libc/bionic/ |
H A D | pthread_mutex.cpp | 143 uint16_t counter; member in struct:PIMutex 167 if (mutex.counter == 0xffff) { 170 mutex.counter++; 210 if (mutex.counter != 0u) { 211 --mutex.counter; 382 /* Mutex counter: 385 * detect when the counter is 0 394 /* Used to increment the counter directly after overflow has been checked */ 443 // 12-2 counter <number of times a thread holding a recursive Non-PI mutex> - 1 575 * Non-recursive mutexes don't use the thread-id or counter field [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | bpf.h | 372 __u64 counter; member in struct:bpf_perf_event_value
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | bpf.h | 372 __u64 counter; member in struct:bpf_perf_event_value
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | bpf.h | 372 __u64 counter; member in struct:bpf_perf_event_value
|
/bionic/libc/include/arpa/ |
H A D | nameser.h | 264 int counter; member in struct:ns_tcp_tsig_state
|
/bionic/tools/versioner/current/arpa/ |
H A D | nameser.h | 264 int counter; member in struct:ns_tcp_tsig_state
|
Completed in 503 milliseconds