/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_once.c | 41 pthread_once (pthread_once_t * once_control, void (PTW32_CDECL *init_routine) (void)) 43 if (once_control == NULL || init_routine == NULL) 49 (PTW32_INTERLOCKED_LONG)PTW32_INTERLOCKED_EXCHANGE_ADD_LONG((PTW32_INTERLOCKED_LONGPTR)&once_control->done, 54 ptw32_mcs_lock_acquire((ptw32_mcs_lock_t *)&once_control->lock, &node); 56 if (!once_control->done) 71 once_control->done = PTW32_TRUE;
|
/external/bison/lib/glthread/ |
lock.c | 457 glthread_once_singlethreaded (pthread_once_t *once_control) 461 char *firstbyte = (char *)once_control; 464 /* First time use of once_control. Invert the first byte. */ 497 glthread_once_multithreaded (pth_once_t *once_control, void (*initfunction) (void)) 500 return (!pth_once (once_control, glthread_once_call, &temp) ? errno : 0); 504 glthread_once_singlethreaded (pth_once_t *once_control) 507 if (*once_control == PTH_ONCE_INIT) 509 /* First time use of once_control. Invert the marker. */ 510 *once_control = ~ PTH_ONCE_INIT; 592 glthread_once_multithreaded (gl_once_t *once_control, void (*initfunction) (void) [all...] |
lock.h | 365 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ 367 ? pthread_once (ONCE_CONTROL, INITFUNCTION) \ 368 : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) 369 extern int glthread_once_singlethreaded (pthread_once_t *once_control); 472 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ 474 ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION) \ 475 : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) 476 extern int glthread_once_multithreaded (pth_once_t *once_control, void (*initfunction) (void)); 477 extern int glthread_once_singlethreaded (pth_once_t *once_control); 601 # define glthread_once(ONCE_CONTROL, INITFUNCTION) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
port.cc | 194 extern "C" int perftools_pthread_once(pthread_once_t *once_control, 198 if (*once_control != 1) { 200 switch (InterlockedCompareExchange(once_control, 2, 0)) { 203 InterlockedExchange(once_control, 1);
|
port.h | 163 EXTERN_C int perftools_pthread_once(pthread_once_t *once_control,
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
glxcurrent.c | 100 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable 130 pthread_once(&once_control, init_thread_data); 139 pthread_once(&once_control, init_thread_data);
|
/external/mesa3d/src/glx/ |
glxcurrent.c | 100 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable 130 pthread_once(&once_control, init_thread_data); 139 pthread_once(&once_control, init_thread_data);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
port.cc | 196 extern "C" int perftools_pthread_once(pthread_once_t *once_control, 200 if (*once_control != 1) { 202 switch (InterlockedCompareExchange(once_control, 2, 0)) { 205 InterlockedExchange(once_control, 1);
|
port.h | 166 EXTERN_C int perftools_pthread_once(pthread_once_t *once_control,
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/ |
glapi_entrypoint.c | 341 static pthread_once_t once_control = PTHREAD_ONCE_INIT; local 342 pthread_once( & once_control, init_glapi_relocs );
|
/external/mesa3d/src/mapi/glapi/ |
glapi_entrypoint.c | 341 static pthread_once_t once_control = PTHREAD_ONCE_INIT; local 342 pthread_once( & once_control, init_glapi_relocs );
|
/frameworks/native/opengl/libs/EGL/ |
egl.cpp | 246 static pthread_once_t once_control = PTHREAD_ONCE_INIT; member in namespace:android 247 static int sEarlyInitState = pthread_once(&once_control, &early_egl_init);
|
/external/valgrind/main/drd/ |
drd_pthread_intercepts.c | 580 int pthread_once_intercept(pthread_once_t *once_control, 591 DRD_IGNORE_VAR(*once_control); 593 CALL_FN_W_WW(ret, fn, once_control, init_routine); 595 DRD_STOP_IGNORING_VAR(*once_control); 600 (pthread_once_t *once_control, void (*init_routine)(void)), 601 (once_control, init_routine)); [all...] |
/external/chromium_org/third_party/libxml/src/ |
threads.c | 148 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable 664 pthread_once(&once_control, xmlOnceInit); 802 pthread_once(&once_control, xmlOnceInit); 945 * pthread_once() in association with the once_control variable to ensure
|
/external/libxml2/ |
threads.c | 148 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable 666 pthread_once(&once_control, xmlOnceInit); 804 pthread_once(&once_control, xmlOnceInit); 947 * pthread_once() in association with the once_control variable to ensure
|
/development/ndk/sources/android/libportable/arch-mips/ |
pthread.c | 311 PTHREAD_WRAPPER(pthread_once, (pthread_once_t *once_control, void (*init_routine)(void)), 312 (once_control, init_routine), "(once_control:%p, init_routine:%p)");
|
/frameworks/av/services/audioflinger/ |
AudioResampler.cpp | 96 static pthread_once_t once_control = PTHREAD_ONCE_INIT; member in namespace:android 141 int ok = pthread_once(&once_control, init_routine);
|
/bionic/libc/include/ |
pthread.h | 271 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-3/include/ |
pthread.h | 200 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-5/include/ |
pthread.h | 227 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-8/include/ |
pthread.h | 232 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-9/include/ |
pthread.h | 273 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
pthread.h | 200 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
pthread.h | 200 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
pthread.h | 200 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|