Home
last modified time | relevance | path

Searched refs:once_control (Results 1 – 10 of 10) 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
D1-1.c41 pthread_once_t once_control = PTHREAD_ONCE_INIT; in main() local
46 ret = pthread_once(&once_control, an_init_func); in main()
53 ret = pthread_once(&once_control, an_init_func); in main()
D3-1.c32 pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
57 pthread_once(&once_control, (void *)an_init_func); in a_thread_func()
104 pthread_once(&once_control, (void *)an_init_func2); in main()
/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/mesa3d/src/glx/
Dglxcurrent.c90 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
120 pthread_once(&once_control, init_thread_data); in __glXSetCurrentContext()
129 pthread_once(&once_control, init_thread_data); in __glXGetCurrentContext()
/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()
Dandroid_je_iterate.c171 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/libxml2/
Dthreads.c136 static pthread_once_t once_control = PTHREAD_ONCE_INIT; variable
662 pthread_once(&once_control, xmlOnceInit); in xmlGetGlobalState()
800 pthread_once(&once_control, xmlOnceInit); in xmlIsMainThread()
916 once_control = once_control_init; in xmlCleanupThreads()
/external/valgrind/drd/
Ddrd_pthread_intercepts.c787 int pthread_once_intercept(pthread_once_t *once_control, in pthread_once_intercept() argument
798 DRD_IGNORE_VAR(*once_control); in pthread_once_intercept()
800 CALL_FN_W_WW(ret, fn, once_control, init_routine); in pthread_once_intercept()
802 DRD_STOP_IGNORING_VAR(*once_control); in pthread_once_intercept()
807 (pthread_once_t *once_control, void (*init_routine)(void)),
808 (once_control, init_routine));