/external/chromium_org/net/third_party/nss/ssl/ |
H A D | sslerrstrs.c | 27 static PRCallOnceType once; variable 32 return (PR_SUCCESS == PR_CallOnce(&once, ssl_InitializePRErrorTableOnce))
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | once.cc | 33 // emulates google3/base/once.h 38 #include <google/protobuf/stubs/once.h> 65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { argument 66 internal::AtomicWord state = internal::Acquire_Load(once); 71 // The closure execution did not complete yet. The once object can be in one 79 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_CLOSURE); 84 internal::Release_Store(once, ONCE_STATE_DONE); 91 state = internal::Acquire_Load(once);
|
H A D | once.h | 33 // emulates google3/base/once.h 46 // * A function GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()). 65 // // Calls Init() exactly once. 93 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { argument 94 if (!*once) { 95 *once = true; 101 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg), argument 103 if (!*once) { 104 *once = true; 122 void GoogleOnceInitImpl(ProtobufOnceType* once, Closur [all...] |
/external/chromium_org/v8/src/base/ |
H A D | once.cc | 5 #include "src/base/once.h" 18 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) { argument 19 AtomicWord state = Acquire_Load(once); 25 // The function execution did not complete yet. The once object can be in one 33 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_FUNCTION); 38 Release_Store(once, ONCE_STATE_DONE); 48 state = Acquire_Load(once);
|
H A D | once.h | 5 // emulates google3/base/once.h 16 // * A function CallOnce(OnceType* once, void (*init_func)()). 39 // // Calls Init() exactly once. 80 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg); 82 inline void CallOnce(OnceType* once, NoArgFunction init_func) { argument 83 if (Acquire_Load(once) != ONCE_STATE_DONE) { 84 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), NULL); 90 inline void CallOnce(OnceType* once, argument 92 if (Acquire_Load(once) != ONCE_STATE_DONE) { 93 CallOnceImpl(once, reinterpret_cas [all...] |
H A D | lazy-instance.h | 9 // be called once, even if two threads are racing to create the object. Get() 50 // which is explicitly called once. 72 #include "src/base/once.h" 147 static void Init(OnceType* once, Function function, Storage storage) { argument 148 CallOnce(once, function, storage); 156 static void Init(OnceType* once, Function function, Storage storage) { argument 157 if (*once == ONCE_STATE_UNINITIALIZED) { 159 *once = ONCE_STATE_DONE;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/ |
H A D | vpx_once.h | 19 static void once(void (*func)(void)) function 79 static void once(void (*func)(void)) function 105 static void once(void (*func)(void)) function 118 static void once(void (*func)(void)) function
|
/external/libvpx/libvpx/vpx_ports/ |
H A D | vpx_once.h | 19 static void once(void (*func)(void)) function 78 static void once(void (*func)(void)) function 91 static void once(void (*func)(void)) function
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | once.h | 33 // emulates google3/base/once.h 46 // * A function GogoleOnceInit(ProtobufOnceType* once, void (*init_func)()). 59 // // Calls Init() exactly once. 100 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { argument 102 if (!once->initialized_) { 103 once->Init(init_func); 114 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { 115 pthread_once(once, init_func);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | OnceTest.cpp | 19 SK_DECLARE_STATIC_ONCE(once); 21 SkOnce(&once, add_five, &x); 22 SkOnce(&once, add_five, &x); 23 SkOnce(&once, add_five, &x); 24 SkOnce(&once, add_five, &x); 25 SkOnce(&once, add_five, &x); 36 SkOnceFlag* once; member in class:Racer 40 SkOnce(once, add_six, ptr); 49 SK_DECLARE_STATIC_ONCE(once); 52 racers[i].once [all...] |
/external/libselinux/src/ |
H A D | checkAccess.c | 8 static pthread_once_t once = PTHREAD_ONCE_INIT; variable 26 __selinux_once(once, avc_init_once);
|
/external/openfst/src/include/fst/ |
H A D | lock.h | 40 inline int FstOnceInit(FstOnceType *once, void (*init)(void)) { argument 41 if (*once) 43 *once = 0;
|
/external/qemu/distrib/libselinux/src/ |
H A D | checkAccess.c | 8 static pthread_once_t once = PTHREAD_ONCE_INIT; variable 26 __selinux_once(once, avc_init_once);
|
/external/skia/tests/ |
H A D | OnceTest.cpp | 19 SK_DECLARE_STATIC_ONCE(once); 21 SkOnce(&once, add_five, &x); 22 SkOnce(&once, add_five, &x); 23 SkOnce(&once, add_five, &x); 24 SkOnce(&once, add_five, &x); 25 SkOnce(&once, add_five, &x); 36 SkOnceFlag* once; member in class:Racer 40 SkOnce(once, add_six, ptr); 49 SK_DECLARE_STATIC_ONCE(once); 52 racers[i].once [all...] |
/external/chromium_org/third_party/leveldatabase/src/port/ |
H A D | port_posix.cc | 49 void InitOnce(OnceType* once, void (*initializer)()) { argument 50 PthreadCall("once", pthread_once(once, initializer));
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | comparator.cc | 69 static port::OnceType once = LEVELDB_ONCE_INIT; member in class:leveldb::__anon12467::BytewiseComparatorImpl 77 port::InitOnce(&once, InitModule);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkOnce.h | 16 // together to create a threadsafe way to call a function just once. E.g. 23 // SK_DECLARE_STATIC_ONCE(once); 24 // SkOnce(&once, register_my_stuff, GetGlobalRegistry()); 27 // No matter how many times you call EnsureRegistered(), register_my_stuff will be called just once. 39 inline void SkOnce(SkOnceFlag* once, void (*f)()); 42 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg); 124 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { argument 125 return SkOnce(once->mutableDone(), once, f, arg); 135 inline void SkOnce(SkOnceFlag* once, voi argument [all...] |
/external/skia/include/core/ |
H A D | SkOnce.h | 16 // together to create a threadsafe way to call a function just once. E.g. 23 // SK_DECLARE_STATIC_ONCE(once); 24 // SkOnce(&once, register_my_stuff, GetGlobalRegistry()); 27 // No matter how many times you call EnsureRegistered(), register_my_stuff will be called just once. 39 inline void SkOnce(SkOnceFlag* once, void (*f)()); 42 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg); 124 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { argument 125 return SkOnce(once->mutableDone(), once, f, arg); 135 inline void SkOnce(SkOnceFlag* once, voi argument [all...] |
/external/chromium_org/third_party/leveldatabase/port/ |
H A D | port_chromium.cc | 53 void InitOnceImpl(OnceType* once, void (*initializer)()) { argument 54 OnceType state = ::base::subtle::Acquire_Load(once); 59 once, 66 ::base::subtle::Release_Store(once, ONCE_STATE_DONE); 71 state = ::base::subtle::Acquire_Load(once);
|
H A D | port_chromium.h | 100 void InitOnceImpl(OnceType* once, void (*initializer)()); 102 static inline void InitOnce(OnceType* once, void (*initializer)()) { argument 103 if (::base::subtle::Acquire_Load(once) != ONCE_STATE_DONE) 104 InitOnceImpl(once, initializer);
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
H A D | stub.c | 59 static pthread_once_t once = PTHREAD_ONCE_INIT; local 60 pthread_once(&once, entry_patch_public);
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | spl_init.c | 124 static void once(void (*func)(void)) { function 132 static void once(void (*func)(void)) { function 158 once(InitFunctionPointers);
|
/external/easymock/src/org/easymock/ |
H A D | IExpectationSetters.java | 132 * Expect the last invocation once. This is default in EasyMock.
136 IExpectationSetters<T> once();
method in interface:IExpectationSetters 139 * Expect the last invocation at least once.
|
/external/mesa3d/src/mapi/mapi/ |
H A D | stub.c | 59 static pthread_once_t once = PTHREAD_ONCE_INIT; local 60 pthread_once(&once, entry_patch_public);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | colormatrix.cpp | 19 bool once() const { function in class:SkDoOnce 44 if (fOnce.once()) {
|