HomeSort by relevance Sort by last modified time
    Searched full:once_control (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /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/libselinux/src/
selinux_internal.h 103 #define __selinux_once(ONCE_CONTROL, INIT_FUNCTION) \
106 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
107 else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \
109 (ONCE_CONTROL) = 2; \
  /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/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);
  /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)");
  /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);
  /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);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
libc-lock.h 369 #define __libc_once(ONCE_CONTROL, INIT_FUNCTION) \
372 __libc_ptf_call_always (__pthread_once, (&(ONCE_CONTROL), \
374 else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \
376 (ONCE_CONTROL) |= 2; \
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
libc-lock.h 369 #define __libc_once(ONCE_CONTROL, INIT_FUNCTION) \
372 __libc_ptf_call_always (__pthread_once, (&(ONCE_CONTROL), \
374 else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \
376 (ONCE_CONTROL) |= 2; \
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
libc-lock.h 369 #define __libc_once(ONCE_CONTROL, INIT_FUNCTION) \
372 __libc_ptf_call_always (__pthread_once, (&(ONCE_CONTROL), \
374 else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \
376 (ONCE_CONTROL) |= 2; \
  /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/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 );
  /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));
  /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/libvpx/libvpx/examples/includes/geshi/geshi/
eiffel.php 174 'ONCE_CONTROL',
  /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
  /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));
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/
pthread.h 227 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));

Completed in 474 milliseconds

1 2 3 4 5