Searched defs:once_control (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_once.c41 pthread_once (pthread_once_t * once_control, void (PTW32_CDECL *init_routine) (void)) argument
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/chromium_org/third_party/mesa/src/src/mapi/glapi/
H A Dglapi_entrypoint.c341 static pthread_once_t once_control = PTHREAD_ONCE_INIT; local
342 pthread_once( & once_control, init_glapi_relocs );
/external/jemalloc/src/
H A Dmutex.c56 static pthread_once_t once_control = PTHREAD_ONCE_INIT; local
58 pthread_once(&once_control, pthread_create_once);
/external/mesa3d/src/mapi/glapi/
H A Dglapi_entrypoint.c341 static pthread_once_t once_control = PTHREAD_ONCE_INIT; local
342 pthread_once( & once_control, init_glapi_relocs );
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dglxcurrent.c100 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/
H A Dglxcurrent.c100 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/bison/lib/glthread/
H A Dlock.c457 glthread_once_singlethreaded (pthread_once_t *once_control) argument
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)) argument
500 return (!pth_once (once_control, glthread_once_call, &temp) ? errno : 0);
504 glthread_once_singlethreaded (pth_once_t *once_control) argument
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, voi argument
615 glthread_once_singlethreaded(gl_once_t *once_control) argument
1019 glthread_once_func(gl_once_t *once_control, void (*initfunction) (void)) argument
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dport.cc196 extern "C" int perftools_pthread_once(pthread_once_t *once_control, argument
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/
H A Dport.cc194 extern "C" int perftools_pthread_once(pthread_once_t *once_control, argument
198 if (*once_control != 1) {
200 switch (InterlockedCompareExchange(once_control, 2, 0)) {
203 InterlockedExchange(once_control, 1);
/external/chromium_org/third_party/libxml/src/
H A Dthreads.c148 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/
H A Dthreads.c148 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
665 pthread_once(&once_control, xmlOnceInit);
803 pthread_once(&once_control, xmlOnceInit);
917 once_control = once_control_init;
947 * pthread_once() in association with the once_control variable to ensure
/external/valgrind/main/drd/
H A Ddrd_pthread_intercepts.c562 int pthread_once_intercept(pthread_once_t *once_control, argument
573 DRD_IGNORE_VAR(*once_control);
575 CALL_FN_W_WW(ret, fn, once_control, init_routine);
577 DRD_STOP_IGNORING_VAR(*once_control);
582 (pthread_once_t *once_control, void (*init_routine)(void)),
583 (once_control, init_routine));

Completed in 1002 milliseconds