Searched refs:pthread_once_t (Results 1 - 9 of 9) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_once.cpp41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) {
42 static_assert(sizeof(atomic_int) == sizeof(pthread_once_t),
43 "pthread_once_t should actually be atomic_int in implementation.");
45 // We prefer casting to atomic_int instead of declaring pthread_once_t to be atomic_int directly.
H A DNetdClient.cpp52 static pthread_once_t netdClientInitOnce = PTHREAD_ONCE_INIT;
H A Dlocale.cpp70 static pthread_once_t g_locale_once = PTHREAD_ONCE_INIT;
160 static pthread_once_t g_uselocale_once = PTHREAD_ONCE_INIT;
/bionic/libc/include/sys/
H A Dtypes.h112 typedef .... pthread_once_t;
/bionic/libc/include/
H A Dpthread.h95 typedef int pthread_once_t; typedef
212 int pthread_once(pthread_once_t*, void (*)(void)) __nonnull((1, 2));
/bionic/benchmarks/
H A Dpthread_benchmark.cpp59 pthread_once_t once = PTHREAD_ONCE_INIT;
/bionic/libc/malloc_debug/
H A Dmalloc_debug.cpp94 static pthread_once_t atfork_init = PTHREAD_ONCE_INIT;
/bionic/tests/
H A Dpthread_test.cpp997 pthread_once_t once_control = PTHREAD_ONCE_INIT;
1010 pthread_once_t once_control_2 = PTHREAD_ONCE_INIT;
1018 pthread_once_t once_control_1 = PTHREAD_ONCE_INIT;
/bionic/libc/dns/resolv/
H A Dres_cache.c1248 static pthread_once_t _res_cache_once = PTHREAD_ONCE_INIT;

Completed in 8731 milliseconds