Home
last modified time | relevance | path

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

1234

/external/llvm/test/CodeGen/X86/
D2007-09-06-ExtWeakAliasee.ll3 @__gthrw_pthread_once = weak alias i32 (i32*, void ()*), i32 (i32*, void ()*)* @pthread_once ; <i3…
5 define weak i32 @pthread_once(i32*, void ()*) {
9 ; CHECK: .weak pthread_once
10 ; CHECK: pthread_once:
13 ; CHECK: __gthrw_pthread_once = pthread_once
/external/llvm-project/llvm/test/CodeGen/X86/
D2007-09-06-ExtWeakAliasee.ll3 @__gthrw_pthread_once = weak alias i32 (i32*, void ()*), i32 (i32*, void ()*)* @pthread_once ; <i3…
5 define weak i32 @pthread_once(i32*, void ()*) {
9 ; CHECK: .weak pthread_once
10 ; CHECK: pthread_once:
13 ; CHECK: .set __gthrw_pthread_once, pthread_once
/external/cpuinfo/src/
Dinit.c27 pthread_once(&init_guard, &cpuinfo_x86_mach_init); in cpuinfo_initialize()
29 pthread_once(&init_guard, &cpuinfo_x86_linux_init); in cpuinfo_initialize()
37 pthread_once(&init_guard, &cpuinfo_arm_linux_init); in cpuinfo_initialize()
39 pthread_once(&init_guard, &cpuinfo_arm_mach_init); in cpuinfo_initialize()
45 pthread_once(&init_guard, &cpuinfo_emscripten_init); in cpuinfo_initialize()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
D1-1.c46 ret = pthread_once(&once_control, an_init_func); in main()
53 ret = pthread_once(&once_control, an_init_func); in main()
D3-1.c57 pthread_once(&once_control, (void *)an_init_func); in a_thread_func()
104 pthread_once(&once_control, (void *)an_init_func2); in main()
D6-1.c184 ret = pthread_once(&once_ctl, initializer); in test()
194 ret = pthread_once(&once_ctl, initializer); in test()
D1-2.c99 ret = pthread_once(&myctl, my_init); in main()
D2-1.c99 ret = pthread_once(&myctl, my_init); in main()
Dcoverage.txt1 This document defines the coverage for the pthread_once function:
/external/cpu_features/ndk_compat/
Dcpu-features.c172 pthread_once(&g_once, android_cpuInit); in android_getCpuFeatures()
177 pthread_once(&g_once, android_cpuInit); in android_getCpuCount()
188 pthread_once(&g_once, android_cpuInitDummy); in android_setCpu()
195 pthread_once(&g_once, android_cpuInit); in android_getCpuIdArm()
/external/clang/test/Analysis/
Dunix-fns.c12 int pthread_once(pthread_once_t *, void (*)(void));
73pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the l… in test_pthread_once()
77 pthread_once(&pred, test_pthread_once_aux); // no-warning in test_pthread_once_neg()
/external/selinux/libselinux/src/
Dselinux_internal.h116 #pragma weak pthread_once macro
124 if (pthread_once != NULL) \
125 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
/external/llvm-project/clang/test/Analysis/
Dunix-fns.c14 int pthread_once(pthread_once_t *, void (*)(void));
116pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the l… in test_pthread_once()
120 pthread_once(&pred, test_pthread_once_aux); // no-warning in test_pthread_once_neg()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_fdr_logging.cpp147 pthread_once( in fdrCommonHeaderInfo()
209 pthread_once( in fdrIterator()
425 pthread_once( in getTimestamp()
569 pthread_once( in fdrLoggingHandleCustomEvent()
599 pthread_once( in fdrLoggingHandleTypedEvent()
681 pthread_once( in fdrLoggingInit()
Dxray_basic_logging.cpp93 pthread_once(&DetectOnce, +[] { in getLog()
120 pthread_once(&OnceInit, +[] { LW = getLog(); }); in getGlobalLog()
384 pthread_once(&OnceInit, +[] { in basicLoggingInit()
504 pthread_once(&DynamicOnce, +[] { in basicLogDynamicInitializer()
/external/mesa3d/src/glx/
Dglxcurrent.c120 pthread_once(&once_control, init_thread_data); in __glXSetCurrentContext()
129 pthread_once(&once_control, init_thread_data); in __glXGetCurrentContext()
/external/llvm-project/clang/docs/analyzer/checkers/
Dunix_api_example.c13 pthread_once(&pred, f); in test()
/external/webrtc/modules/audio_device/android/
Densure_initialized.cc43 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in EnsureInitialized()
/external/webrtc/pc/test/
Dandroid_test_initializer.cc56 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in InitializeAndroidObjects()
/external/ltp/include/
Dtst_safe_pthread.h32 pthread_once(&ltp_once, exec_fn); \
/external/libvpx/libvpx/vpx_ports/
Dvpx_once.h121 pthread_once(&lock, func); in once()
/external/libaom/libaom/aom_ports/
Daom_once.h88 pthread_once(&lock, func); in aom_once()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_tsd_exclusive.cpp56 CHECK_EQ(pthread_once(&GlobalInitialized, initOnce), 0); in initThread()
/external/webrtc/rtc_base/synchronization/
Dyield_policy.cc48 RTC_CHECK_EQ(pthread_once(&init_once, &InitializeTls), 0);
/external/webrtc/api/task_queue/
Dtask_queue_base.cc55 RTC_CHECK(pthread_once(&init_once, &InitializeTls) == 0); in GetQueuePtrTls()

1234