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;
H A Dmalloc_debug_common.cpp513 static pthread_once_t malloc_init_once_ctl = PTHREAD_ONCE_INIT;
522 static pthread_once_t malloc_fini_once_ctl = 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
192 int pthread_once(pthread_once_t*, void (*)(void)) __nonnull((1, 2));
/bionic/benchmarks/
H A Dpthread_benchmark.cpp71 pthread_once_t once = PTHREAD_ONCE_INIT;
/bionic/tests/
H A Dpthread_test.cpp929 pthread_once_t once_control = PTHREAD_ONCE_INIT;
942 pthread_once_t once_control_2 = PTHREAD_ONCE_INIT;
950 pthread_once_t once_control_1 = PTHREAD_ONCE_INIT;
/bionic/libc/dns/resolv/
H A Dres_cache.c1243 static pthread_once_t _res_cache_once = PTHREAD_ONCE_INIT;

Completed in 668 milliseconds