Searched defs:once (Results 1 - 8 of 8) sorted by relevance
/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);
|
H A D | once_unittest.cc | 40 #include <google/protobuf/stubs/once.h> 58 void SetOnces(ProtobufOnceType* once, ProtobufOnceType* recursive_once) { argument 59 once_ = once;
|
/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/chromium/net/base/ |
H A D | nss_memio.c | 24 Simple private circular buffer class. Size cannot be changed once allocated. 348 static PRCallOnceType once; local 350 PR_CallOnce(&once, memio_InitializeLayerName);
|
/external/easymock/src/org/easymock/internal/ |
H A D | MocksControl.java | 236 public IExpectationSetters<Object> once() {
method in class:MocksControl
|
/external/bluetooth/glib/glib/ |
H A D | gthread.c | 133 /* This must be called only once, before any threads are created. 176 g_once_impl (GOnce *once, argument 182 while (once->status == G_ONCE_STATUS_PROGRESS) 185 if (once->status != G_ONCE_STATUS_READY) 187 once->status = G_ONCE_STATUS_PROGRESS; 190 once->retval = func (arg); 193 once->status = G_ONCE_STATUS_READY; 199 return once->retval;
|
/external/chromium/net/third_party/nss/ssl/ |
H A D | ssl3ecc.c | 190 int error; /* error code of the call-once function */ 191 PRCallOnceType once; member in struct:ECDHEKeyPairStr 529 /* CallOnce function, called once for each named curve. */ 584 status = PR_CallOnce(&gECDHEKeyPairs[ec_noName].once, ssl3_ECRegister); 589 status = PR_CallOnceWithArg(&gECDHEKeyPairs[ec_curve].once,
|
/external/ping/ |
H A D | ping.c | 1193 static int once; local 1198 if (once++ == 1) 1200 if (once == 1) 1634 static int once; local 1650 if (once) 1652 once = 1;
|
Completed in 99 milliseconds