Searched refs:pthread_once (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_once.cpp | 41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { in pthread_once() function
|
D | NetdClient.cpp | 55 if (pthread_once(&netdClientInitOnce, netdClientInitImpl)) { in netdClientInit()
|
D | locale.cpp | 112 pthread_once(&g_locale_once, __locale_init); in localeconv() 168 pthread_once(&g_uselocale_once, g_uselocale_key_init); in uselocale()
|
D | malloc_debug_common.cpp | 514 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/ |
D | pthread_benchmark.cpp | 72 pthread_once(&once, DummyPthreadOnceInitFunction); in Run() 76 pthread_once(&once, DummyPthreadOnceInitFunction); in Run()
|
/bionic/libc/include/ |
D | pthread.h | 192 int pthread_once(pthread_once_t*, void (*)(void)) __nonnull((1, 2));
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1635 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/ |
D | pthread_test.cpp | 930 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/ |
D | posix-2013.txt | 789 pthread_once
|
/bionic/libc/ |
D | libc.map | 911 pthread_once;
|
D | Android.mk | 539 bionic/pthread_once.cpp \
|