Home
last modified time | relevance | path

Searched refs:once_control (Results 1 – 8 of 8) sorted by relevance

/external/bison/lib/glthread/
Dlock.c457 glthread_once_singlethreaded (pthread_once_t *once_control) in glthread_once_singlethreaded() argument
461 char *firstbyte = (char *)once_control; in glthread_once_singlethreaded()
497 glthread_once_multithreaded (pth_once_t *once_control, void (*initfunction) (void)) in glthread_once_multithreaded() argument
500 return (!pth_once (once_control, glthread_once_call, &temp) ? errno : 0); in glthread_once_multithreaded()
504 glthread_once_singlethreaded (pth_once_t *once_control) in glthread_once_singlethreaded() argument
507 if (*once_control == PTH_ONCE_INIT) in glthread_once_singlethreaded()
510 *once_control = ~ PTH_ONCE_INIT; in glthread_once_singlethreaded()
592 glthread_once_multithreaded (gl_once_t *once_control, void (*initfunction) (void)) in glthread_once_multithreaded() argument
594 if (!once_control->inited) in glthread_once_multithreaded()
600 err = mutex_lock (&once_control->mutex); in glthread_once_multithreaded()
[all …]
Dlock.h369 extern int glthread_once_singlethreaded (pthread_once_t *once_control);
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);
605 extern int glthread_once_multithreaded (gl_once_t *once_control, void (*initfunction) (void));
606 extern int glthread_once_singlethreaded (gl_once_t *once_control);
756 extern void glthread_once_func (gl_once_t *once_control, void (*initfunction) (void));
/external/google-breakpad/src/common/linux/
Dguid_creator.cc75 pthread_once(&once_control, &InitOnceImpl); in InitOnce()
82 static pthread_once_t once_control; member in GUIDGenerator
85 pthread_once_t GUIDGenerator::once_control = PTHREAD_ONCE_INIT; member in GUIDGenerator
/external/jemalloc/src/
Dmutex.c56 static pthread_once_t once_control = PTHREAD_ONCE_INIT; in pthread_create() local
58 pthread_once(&once_control, pthread_create_once); in pthread_create()
/external/mesa3d/src/glx/
Dglxcurrent.c100 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
130 pthread_once(&once_control, init_thread_data); in __glXSetCurrentContext()
139 pthread_once(&once_control, init_thread_data); in __glXGetCurrentContext()
/external/mesa3d/src/mapi/glapi/
Dglapi_entrypoint.c341 static pthread_once_t once_control = PTHREAD_ONCE_INIT; in init_glapi_relocs_once() local
342 pthread_once( & once_control, init_glapi_relocs ); in init_glapi_relocs_once()
/external/valgrind/drd/
Ddrd_pthread_intercepts.c569 int pthread_once_intercept(pthread_once_t *once_control, in pthread_once_intercept() argument
580 DRD_IGNORE_VAR(*once_control); in pthread_once_intercept()
582 CALL_FN_W_WW(ret, fn, once_control, init_routine); in pthread_once_intercept()
584 DRD_STOP_IGNORING_VAR(*once_control); in pthread_once_intercept()
589 (pthread_once_t *once_control, void (*init_routine)(void)),
590 (once_control, init_routine));
/external/libxml2/
Dthreads.c148 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
667 pthread_once(&once_control, xmlOnceInit); in xmlGetGlobalState()
805 pthread_once(&once_control, xmlOnceInit); in xmlIsMainThread()
919 once_control = once_control_init; in xmlCleanupThreads()