/external/mesa3d/src/glx/ |
glxcurrent.c | 116 * \c pthread_once mechanism. 130 pthread_once(&once_control, init_thread_data); 139 pthread_once(&once_control, init_thread_data);
|
/external/bluetooth/bluedroid/utils/src/ |
bt_utils.c | 128 pthread_once(&g_DoSchedulingGroupOnce[g_TaskIdx], check_do_scheduling_group);
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
spl_init.c | 126 pthread_once(&lock, func);
|
/external/jemalloc/src/ |
mutex.c | 58 pthread_once(&once_control, pthread_create_once);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
profile-handler.cc | 223 // pthread_once won't be defined. We declare it here, for that 226 extern "C" int pthread_once(pthread_once_t *, void (*)(void)) 234 if (pthread_once) { 235 pthread_once(&once_, Init); 239 // including on FreeBSD where pthread_once has a non-zero address
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
profile-handler.cc | 223 // pthread_once won't be defined. We declare it here, for that 226 extern "C" int pthread_once(pthread_once_t *, void (*)(void)) 234 if (pthread_once) { 235 pthread_once(&once_, Init); 239 // including on FreeBSD where pthread_once has a non-zero address
|
/external/libunwind/src/x86_64/ |
Gtrace.c | 30 #pragma weak pthread_once macro 183 if (likely (pthread_once != NULL)) 185 pthread_once(&trace_cache_once, &trace_cache_init_once);
|
/bionic/libc/bionic/ |
locale.cpp | 59 // We don't use pthread_once for this so that we know when the resource (a TLS slot) will be taken. 113 pthread_once(&g_locale_once, __locale_init);
|
malloc_debug_common.cpp | 514 if (pthread_once(&malloc_init_once_ctl, malloc_init_impl)) { 523 if (pthread_once(&malloc_fini_once_ctl, malloc_fini_impl)) {
|
/external/chromium_org/content/zygote/ |
zygote_main_linux.cc | 242 CHECK_EQ(0, pthread_once(&g_libc_localtime_funcs_guard, 266 CHECK_EQ(0, pthread_once(&g_libc_localtime_funcs_guard, 287 CHECK_EQ(0, pthread_once(&g_libc_localtime_funcs_guard, 308 CHECK_EQ(0, pthread_once(&g_libc_localtime_funcs_guard,
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
stub.c | 60 pthread_once(&once, entry_patch_public);
|
/external/chromium_org/third_party/skia/platform_tools/android/third_party/cpufeatures/ |
cpu-features.c | 703 pthread_once(&g_once, android_cpuInit); 711 pthread_once(&g_once, android_cpuInit); 719 pthread_once(&g_once, android_cpuInit); 739 pthread_once(&g_once, android_cpuInitDummy);
|
/external/mesa3d/src/mapi/mapi/ |
stub.c | 60 pthread_once(&once, entry_patch_public);
|
/bionic/libc/dns/resolv/ |
res_state.c | 118 pthread_once( &_res_once, _res_init_key );
|
/device/lge/hammerhead/liblight/ |
lights.c | 227 pthread_once(&g_init, init_globals);
|
/external/chromium_org/third_party/libxml/src/ |
threads.c | 53 extern int pthread_once (pthread_once_t *__once_control, 664 pthread_once(&once_control, xmlOnceInit); 802 pthread_once(&once_control, xmlOnceInit); 864 if ((pthread_once != NULL) && 945 * pthread_once() in association with the once_control variable to ensure 946 * that the function is only called once. See man pthread_once for more
|
/external/libunwind/src/ |
Los-common.c | 44 pthread_once (&local_rdwr_lock_init, map_local_init_once);
|
/external/libxml2/ |
threads.c | 53 extern int pthread_once (pthread_once_t *__once_control, 665 pthread_once(&once_control, xmlOnceInit); 803 pthread_once(&once_control, xmlOnceInit); 865 if ((pthread_once != NULL) && 947 * pthread_once() in association with the once_control variable to ensure 948 * that the function is only called once. See man pthread_once for more
|
/art/compiler/llvm/ |
compiler_llvm.cc | 117 pthread_once(&llvm_initialized, InitializeLLVM);
|
/bionic/libc/include/ |
pthread.h | 214 int pthread_once(pthread_once_t*, void (*)(void)) __nonnull((1, 2));
|
/bionic/tests/ |
pthread_test.cpp | 682 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); 683 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); 696 pthread_once(&once_control_2, &Routine2); 700 // Very old versions of Android couldn't call pthread_once from a 701 // pthread_once init routine. http://b/1934122. 703 ASSERT_EQ(0, pthread_once(&once_control_1, &Routine1));
|
/development/ndk/platforms/android-3/include/ |
pthread.h | 206 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-5/include/ |
pthread.h | 233 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-8/include/ |
pthread.h | 238 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|
/development/ndk/platforms/android-9/include/ |
pthread.h | 275 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
|