Searched refs:pthread_once (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_globals.cpp30 pthread_once(&g_globals_once, CreateGlobalsInstance);
H A Dcrazy_linker_thread.cpp59 pthread_once(&s_once, InitThreadKey);
/external/chromium_org/third_party/decklink/mac/include/
H A DDeckLinkAPIDispatch_v7_6.cpp68 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI_v7_6);
78 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI_v7_6);
88 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI_v7_6);
98 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI_v7_6);
H A DDeckLinkAPIDispatch_v8_0.cpp84 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
94 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
104 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
114 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
124 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
H A DDeckLinkAPIDispatch.cpp88 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
98 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
108 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
118 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
128 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
138 pthread_once(&gDeckLinkOnceControl, InitDeckLinkAPI);
177 pthread_once(&gBMDStreamingOnceControl, InitBMDStreamingAPI);
187 pthread_once(&gBMDStreamingOnceControl, InitBMDStreamingAPI);
/external/chromium_org/third_party/skia/src/ports/
H A DSkTLS_pthread.cpp20 // should we use forceCreateTheSlot to potentially skip calling pthread_once
24 (void)pthread_once(&gSkTLSKey_Once, sk_tls_make_key);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmaybe_threads.cc66 int pthread_once(pthread_once_t *, void (*)(void))
107 // On __FreeBSD__, calling pthread_once on a system that is not
124 // Android >= 2.3 (GB) always implement pthread_once.
125 return pthread_once(ctl, init_routine);
127 if (pthread_once) {
128 return pthread_once(ctl, init_routine);
/external/skia/src/ports/
H A DSkTLS_pthread.cpp20 // should we use forceCreateTheSlot to potentially skip calling pthread_once
24 (void)pthread_once(&gSkTLSKey_Once, sk_tls_make_key);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dh_errno.c21 pthread_once(&s_h_errno_once, __h_errno_create);
/external/chromium_org/third_party/webrtc/modules/video_capture/
H A Densure_initialized.cc43 CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce));
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmaybe_threads.cc66 int pthread_once(pthread_once_t *, void (*)(void))
107 // On __FreeBSD__, calling pthread_once on a system that is not
124 if (pthread_once) {
125 return pthread_once(ctl, init_routine);
/external/chromium_org/sandbox/linux/services/
H A Dlibc_urandom_override.cc41 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
137 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
153 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
175 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
192 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
210 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
226 CHECK_EQ(0, pthread_once(&g_libc_file_io_funcs_guard,
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_once.c2 * pthread_once.c
41 pthread_once (pthread_once_t * once_control, void (PTW32_CDECL *init_routine) (void)) function
79 } /* pthread_once */
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/
H A Dsingleton_posix.h31 const int ret = pthread_once(&once_control_, &Init);
/external/protobuf/src/google/protobuf/stubs/
H A Donce.h38 // This is basically a portable version of pthread_once().
115 pthread_once(once, init_func);
/external/libselinux/src/
H A Dselinux_internal.h96 /* Make pthread_once optional */
97 #pragma weak pthread_once macro
105 if (pthread_once != NULL) \
106 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
/external/qemu/distrib/libselinux/src/
H A Dselinux_internal.h96 /* Make pthread_once optional */
97 #pragma weak pthread_once macro
105 if (pthread_once != NULL) \
106 pthread_once (&(ONCE_CONTROL), (INIT_FUNCTION)); \
/external/chromium_org/third_party/leveldatabase/src/port/
H A Dport_posix.cc50 PthreadCall("once", pthread_once(once, initializer));
/external/libcxxabi/src/
H A Dcxa_exception_storage.cpp95 if (0 != pthread_once(&flag_, construct_))
96 abort_message("pthread_once failure in __cxa_get_globals_fast()");
/external/libvpx/libvpx/vpx_ports/
H A Dvpx_once.h81 pthread_once(&lock, func);
/external/valgrind/main/none/tests/
H A Dpth_once.c44 if ((rtn = pthread_once(&welcome_once_block,
46 fprintf(stderr, "pthread_once failed with %d",rtn);
/external/clang/test/Analysis/
H A Dunix-fns.c12 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
629 // 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>
631 // 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>
634 // 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>
636 // CHECK-NEXT: <key>type</key><string>Improper use of &apos;pthread_once&apos;</string>
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDataLog.cpp77 pthread_once(&initializeLogFileOnceKey, initializeLogFileOnce);
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/
H A Dvpx_once.h108 pthread_once(&lock, func);
/external/chromium_org/third_party/skia/src/core/
H A DSkUtilsArm.cpp136 // called through pthread_once()
142 pthread_once(&sOnce, sk_cpu_arm_probe_features);

Completed in 682 milliseconds

123