Searched refs:once_control (Results 1 – 9 of 9) sorted by relevance
/external/bison/lib/glthread/ |
D | lock.c | 457 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 …]
|
D | lock.h | 369 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/ |
D | guid_creator.cc | 75 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/mesa3d/src/glx/ |
D | glxcurrent.c | 100 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/jemalloc/src/ |
D | mutex.c | 56 static pthread_once_t once_control = PTHREAD_ONCE_INIT; in pthread_create() local 58 pthread_once(&once_control, pthread_create_once); in pthread_create()
|
D | android_je_iterate.c | 171 static pthread_once_t once_control = PTHREAD_ONCE_INIT; in je_malloc_disable() local 172 pthread_once(&once_control, je_malloc_disable_init); in je_malloc_disable()
|
/external/mesa3d/src/mapi/glapi/ |
D | glapi_entrypoint.c | 341 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/libxml2/ |
D | threads.c | 148 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()
|
/external/valgrind/drd/ |
D | drd_pthread_intercepts.c | 781 int pthread_once_intercept(pthread_once_t *once_control, in pthread_once_intercept() argument 792 DRD_IGNORE_VAR(*once_control); in pthread_once_intercept() 794 CALL_FN_W_WW(ret, fn, once_control, init_routine); in pthread_once_intercept() 796 DRD_STOP_IGNORING_VAR(*once_control); in pthread_once_intercept() 801 (pthread_once_t *once_control, void (*init_routine)(void)), 802 (once_control, init_routine));
|