/bionic/libc/bionic/ |
pthread_barrier.cpp | 74 atomic_uint wait_count; member in struct:pthread_barrier_internal_t 99 atomic_init(&barrier->wait_count, 0); 119 // the last thread leaving the previous cycle, so we can read correct wait_count below. 124 uint32_t prev_wait_count = atomic_load_explicit(&barrier->wait_count, memory_order_relaxed); 135 if (atomic_compare_exchange_weak_explicit(&barrier->wait_count, &prev_wait_count, 159 if (atomic_fetch_sub_explicit(&barrier->wait_count, 1, memory_order_release) == 1) { 174 // So we can read correct wait_count below. 178 if (atomic_load_explicit(&barrier->wait_count, memory_order_relaxed) != 0) {
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
event.cpp | 31 ctx(ctx), __status(0), wait_count(1), 42 if (!--wait_count) { 65 return !wait_count; 70 if (wait_count) { 71 ev->wait_count++;
|
event.hpp | 78 unsigned wait_count; member in struct:_cl_event
|
/external/valgrind/drd/tests/ |
annotate_barrier.c | 32 volatile unsigned wait_count; member in struct:__anon26693 60 b->wait_count = 0; 79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count) 81 __sync_sub_and_fetch(&b->wait_count, b->thread_count);
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
DataVerify.java | 33 private static final int WAIT_COUNT = 100; 75 if (cnt++ > WAIT_COUNT) {
|
/ndk/sources/host-tools/make-3.81/w32/subproc/ |
sub_proc.c | 690 DWORD wait_count; local 739 wait_count = 0; 741 wait_list[wait_count++] = tStdin; 744 wait_list[wait_count++] = tStdout; 747 wait_list[wait_count++] = tStderr; 750 wait_list[wait_count++] = childhand; 753 wait_return = WaitForMultipleObjects(wait_count, wait_list,
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_i.h | 124 unsigned int wait_count; member in struct:p2p_device
|