Home
last modified time | relevance | path

Searched refs:ONCE_CONTROL (Results 1 – 2 of 2) sorted by relevance

/external/bison/lib/glthread/
Dlock.h365 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ argument
367 ? pthread_once (ONCE_CONTROL, INITFUNCTION) \
368 : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
472 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ argument
474 ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION) \
475 : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
601 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ argument
603 ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION) \
604 : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
754 # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ argument
[all …]
/external/selinux/libselinux/src/
Dselinux_internal.h121 #define __selinux_once(ONCE_CONTROL, INIT_FUNCTION) \ argument
124 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
125 else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \
127 (ONCE_CONTROL) = 2; \