Home
last modified time | relevance | path

Searched refs:pthread_once (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/bionic/
Dpthread_once.cpp41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { in pthread_once() function
DNetdClient.cpp55 if (pthread_once(&netdClientInitOnce, netdClientInitImpl)) { in netdClientInit()
Dlocale.cpp112 pthread_once(&g_locale_once, __locale_init); in localeconv()
168 pthread_once(&g_uselocale_once, g_uselocale_key_init); in uselocale()
Dmalloc_debug_common.cpp514 if (pthread_once(&malloc_init_once_ctl, malloc_init_impl)) { in malloc_debug_init()
523 if (pthread_once(&malloc_fini_once_ctl, malloc_fini_impl)) { in malloc_debug_fini()
/bionic/benchmarks/
Dpthread_benchmark.cpp72 pthread_once(&once, DummyPthreadOnceInitFunction); in Run()
76 pthread_once(&once, DummyPthreadOnceInitFunction); in Run()
/bionic/libc/include/
Dpthread.h192 int pthread_once(pthread_once_t*, void (*)(void)) __nonnull((1, 2));
/bionic/libc/dns/resolv/
Dres_cache.c1635 pthread_once(&_res_cache_once, _res_cache_init); in _resolv_cache_lookup()
1842 pthread_once(&_res_cache_once, _res_cache_init); in _resolv_flush_cache_for_net()
1861 pthread_once(&_res_cache_once, _res_cache_init); in _resolv_delete_cache_for_net()
1940 pthread_once(&_res_cache_once, _res_cache_init); in _resolv_set_nameservers_for_net()
2062 pthread_once(&_res_cache_once, _res_cache_init); in _resolv_populate_res_for_net()
/bionic/tests/
Dpthread_test.cpp930 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()
931 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()
944 pthread_once(&once_control_2, &Routine2); in Routine1()
951 ASSERT_EQ(0, pthread_once(&once_control_1, &Routine1)); in TEST()
/bionic/libc/tools/
Dposix-2013.txt789 pthread_once
/bionic/libc/
Dlibc.map911 pthread_once;
DAndroid.mk539 bionic/pthread_once.cpp \