HomeSort by relevance Sort by last modified time
    Searched refs:pthread_once (Results 1 - 25 of 185) sorted by null

1 2 3 4 5 6 7 8

  /external/skia/src/ports/
SkTLS_pthread.cpp 20 // should we use forceCreateTheSlot to potentially skip calling pthread_once
24 (void)pthread_once(&gSkTLSKey_Once, sk_tls_make_key);
  /ndk/sources/android/support/src/locale/
uselocale.c 40 pthread_once(&s_once, init_key);
  /external/webrtc/webrtc/modules/audio_device/android/
ensure_initialized.cc 41 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce));
  /bionic/libc/bionic/
pthread_once.cpp 41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { function
NetdClient.cpp 55 if (pthread_once(&netdClientInitOnce, netdClientInitImpl)) {
  /external/webrtc/talk/app/webrtc/test/
androidtestinitializer.cc 71 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce));
  /external/libselinux/src/
selinux_internal.h 96 /* Make pthread_once optional */
97 #pragma weak pthread_once macro
105 if (pthread_once != NULL) \
106 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
  /device/generic/goldfish-opengl/system/OpenglSystemCommon/
ProcessPipe.cpp 31 // Use it with pthread_once for thread safety.
74 pthread_once(&sProcPipeOnce, processPipeInitOnce);
  /external/libcxxabi/src/
cxa_exception_storage.cpp 95 if (0 != pthread_once(&flag_, construct_))
96 abort_message("pthread_once failure in __cxa_get_globals_fast()");
  /external/valgrind/none/tests/
pth_once.c 44 if ((rtn = pthread_once(&welcome_once_block,
46 fprintf(stderr, "pthread_once failed with %d",rtn);
  /frameworks/av/include/cpustats/
ThreadCpuUsage.h 49 (void) pthread_once(&sOnceControl, &init);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
vpx_once.h 81 pthread_once(&lock, func);
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_exception_storage.cpp 95 if (0 != pthread_once(&flag_, construct_))
96 abort_message("pthread_once failure in __cxa_get_globals_fast()");
  /external/clang/test/Analysis/
unix-fns.c 12 int pthread_once(pthread_once_t *, void (*)(void));
73 pthread_once(&pred, test_pthread_once_aux); // expected-warning{{Call to 'pthread_once' uses the local variable 'pred' for the "control" value}}
77 pthread_once(&pred, test_pthread_once_aux); // no-warning
635 // CHECK-NEXT: <string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as &apos;static&apos;?</string>
637 // CHECK-NEXT: <string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as &apos;static&apos;?</string>
640 // CHECK-NEXT: <key>description</key><string>Call to &apos;pthread_once&apos; uses the local variable &apos;pred&apos; for the &quot;control&quot; value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as &apos;static&apos;?</string>
642 // CHECK-NEXT: <key>type</key><string>Improper use of &apos;pthread_once&apos;</string>
    [all...]
  /external/selinux/libselinux/src/
selinux_internal.h 111 /* Make pthread_once optional */
112 #pragma weak pthread_once macro
120 if (pthread_once != NULL) \
121 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
  /prebuilts/go/darwin-x86/src/runtime/cgo/
gcc_openbsd_386.c 96 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
124 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
gcc_openbsd_amd64.c 96 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
124 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
  /prebuilts/go/linux-x86/src/runtime/cgo/
gcc_openbsd_386.c 96 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
124 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
gcc_openbsd_amd64.c 96 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
124 if(pthread_once(&init_pthread_wrapper_once, init_pthread_wrapper) != 0) {
  /system/core/libcutils/
qtaguid.c 106 pthread_once(&resTrackInitDone, qtaguid_resTrack);
154 pthread_once(&resTrackInitDone, qtaguid_resTrack);
  /build/kati/
thread_local.h 77 pthread_once(once, ThreadLocalInit<Type*, key>);
  /external/google-breakpad/src/common/linux/
guid_creator.cc 75 pthread_once(&once_control, &InitOnceImpl);
  /external/libvpx/libvpx/vpx_ports/
vpx_once.h 108 pthread_once(&lock, func);
  /external/skia/src/core/
SkUtilsArm.cpp 136 // called through pthread_once()
142 pthread_once(&sOnce, sk_cpu_arm_probe_features);
  /external/valgrind/helgrind/tests/
tc21_pthonce.c 3 with pthread_once calls. Which it appears to.
54 ensure threads[0] gets to the pthread_once call first. This is so
72 r= pthread_once(&welcome_once_block, welcome); assert(!r);

Completed in 1250 milliseconds

1 2 3 4 5 6 7 8