/external/protobuf/src/google/protobuf/stubs/ |
D | once.h | 93 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { in GoogleOnceInit() argument 94 if (!*once) { in GoogleOnceInit() 95 *once = true; in GoogleOnceInit() 101 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg), in GoogleOnceInit() argument 103 if (!*once) { in GoogleOnceInit() 104 *once = true; in GoogleOnceInit() 122 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure); 124 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { 125 if (internal::Acquire_Load(once) != ONCE_STATE_DONE) { 127 GoogleOnceInitImpl(once, &func); [all …]
|
D | once.cc | 65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { in GoogleOnceInitImpl() argument 66 internal::AtomicWord state = internal::Acquire_Load(once); in GoogleOnceInitImpl() 79 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_CLOSURE); in GoogleOnceInitImpl() 84 internal::Release_Store(once, ONCE_STATE_DONE); in GoogleOnceInitImpl() 91 state = internal::Acquire_Load(once); in GoogleOnceInitImpl()
|
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 245 .andReturn("").once(); in testGlesVersion() 249 .andReturn(null).once(); in testGlesVersion() 266 .andReturn("").once(); in testGlesVersion() 270 EasyMock.expectLastCall().once(); in testGlesVersion() 273 EasyMock.expectLastCall().once(); in testGlesVersion() 276 EasyMock.expectLastCall().once(); in testGlesVersion() 279 EasyMock.expectLastCall().once(); in testGlesVersion() 384 .once(); in testResultCode() 388 .andReturn(null).once(); in testResultCode() 403 EasyMock.expectLastCall().once(); in testResultCode() [all …]
|
/external/v8/src/base/ |
D | once.h | 82 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg); 84 inline void CallOnce(OnceType* once, NoArgFunction init_func) { in CallOnce() argument 85 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 86 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), NULL); in CallOnce() 92 inline void CallOnce(OnceType* once, in CallOnce() argument 94 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 95 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), in CallOnce()
|
D | once.cc | 18 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) { in CallOnceImpl() argument 19 AtomicWord state = Acquire_Load(once); in CallOnceImpl() 33 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_FUNCTION); in CallOnceImpl() 38 Release_Store(once, ONCE_STATE_DONE); in CallOnceImpl() 48 state = Acquire_Load(once); in CallOnceImpl()
|
D | lazy-instance.h | 147 static void Init(OnceType* once, Function function, Storage storage) { in Init() 148 CallOnce(once, function, storage); in Init() 156 static void Init(OnceType* once, Function function, Storage storage) { in Init() 157 if (*once == ONCE_STATE_UNINITIALIZED) { in Init() 159 *once = ONCE_STATE_DONE; in Init()
|
/external/skia/include/private/ |
D | SkOnce.h | 38 inline void SkOnce(SkOnceFlag* once, void (*f)()); 41 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg); 119 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { in SkOnce() argument 120 return SkOnce(once->mutableDone(), once, f, arg); in SkOnce() 130 inline void SkOnce(SkOnceFlag* once, void (*func)()) { in SkOnce() argument 131 return SkOnce(once, sk_once_no_arg_adaptor, func); in SkOnce()
|
/external/google-breakpad/src/testing/test/ |
D | gmock_output_test_golden.txt | 41 Expected: to be called once 54 Expected: to be called once 62 Expected: to be called once 69 Expected: to be called once 98 Expected: to be called once 99 Actual: called once - saturated and retired 105 Expected: to be called once 119 Expected: to be called once 126 Expected: to be called once 140 Expected: to be called once [all …]
|
/external/gmock/test/ |
D | gmock_output_test_golden.txt | 41 Expected: to be called once 54 Expected: to be called once 62 Expected: to be called once 69 Expected: to be called once 98 Expected: to be called once 99 Actual: called once - saturated and retired 105 Expected: to be called once 119 Expected: to be called once 126 Expected: to be called once 140 Expected: to be called once [all …]
|
/external/curl/tests/data/ |
D | test527 | 14 file contents should appear once for each file 17 file contents should appear once for each file 18 file contents should appear once for each file 19 file contents should appear once for each file 20 file contents should appear once for each file
|
D | test526 | 14 file contents should appear once for each file 17 file contents should appear once for each file 18 file contents should appear once for each file 19 file contents should appear once for each file 20 file contents should appear once for each file
|
D | test532 | 14 file contents should appear once for each file 17 file contents should appear once for each file 18 file contents should appear once for each file 19 file contents should appear once for each file 20 file contents should appear once for each file
|
D | test528 | 18 file contents should appear once for each file 21 file contents should appear once for each file 22 file contents should appear once for each file 23 file contents should appear once for each file 24 file contents should appear once for each file
|
D | test530 | 18 file contents should appear once for each file 30 file contents should appear once for each file 36 file contents should appear once for each file 42 file contents should appear once for each file
|
D | test1512 | 17 file contents should appear once for each file 25 file contents should appear once for each file 33 file contents should appear once for each file 41 file contents should appear once for each file
|
/external/libvpx/libvpx/vpx_ports/ |
D | vpx_once.h | 19 static void once(void (*func)(void)) in once() function 79 static void once(void (*func)(void)) in once() function 105 static void once(void (*func)(void)) in once() function 118 static void once(void (*func)(void)) in once() function
|
/external/boringssl/src/crypto/ |
D | thread_win.c | 35 volatile LONG *once = in_once; in run_once() local 38 assert((((uintptr_t) once) & 3) == 0); in run_once() 46 if (*once == 1) { in run_once() 51 switch (InterlockedCompareExchange(once, 2, 0)) { in run_once() 57 InterlockedExchange(once, 1); in run_once() 123 run_once(&lock->once, static_lock_init, lock); in CRYPTO_STATIC_MUTEX_lock_read()
|
D | thread_none.c | 35 void CRYPTO_once(CRYPTO_once_t *once, void (*init)(void)) { in CRYPTO_once() argument 36 if (*once) { in CRYPTO_once() 39 *once = 1; in CRYPTO_once()
|
/external/mesa3d/src/glsl/glcpp/tests/ |
D | 101-macros-used-twice.c.expected | 5 once 12 once 15 once again
|
D | 101-macros-used-twice.c | 5 once 12 once 15 once again
|
/external/clang/test/Driver/ |
D | modules.m | 19 // RUN: %clang -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -### %s 2>&1… 21 // MODULES_VALIDATE_ONCE: -fmodules-validate-once-per-build-session 23 // RUN: %clang -fbuild-session-file=%t.build-session-file -fmodules-validate-once-per-build-session… 25 // MODULES_VALIDATE_ONCE_FILE: -fmodules-validate-once-per-build-session 27 // RUN: %clang -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MOD… 28 // MODULES_VALIDATE_ONCE_ERR: option '-fmodules-validate-once-per-build-session' requires '-fbuild-…
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingOutputStreamTest.java | 40 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp() 46 EasyMock.expect(hasher.putByte((byte) b)).andReturn(hasher).once(); in testWrite_putSingleByte() 58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once(); in testWrite_putByteArray() 70 EasyMock.expect(hasher.putBytes(buf, 0, 3)).andReturn(hasher).once(); in testWrite_putByteArrayAtPos()
|
D | HashingInputStreamTest.java | 46 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp() 51 EasyMock.expect(hasher.putByte((byte) 'y')).andReturn(hasher).once(); in testRead_putSingleByte() 64 .andReturn(hasher).once(); in testRead_putByteArray() 81 .andReturn(hasher).once(); in testRead_putByteArrayAtPos() 102 .andReturn(hasher).once(); in testRead_putByteArrayOutOfBound()
|
/external/easymock/src/org/easymock/ |
D | MockControl.java | 148 .once(); in setVoidCallable() 169 .andThrow(throwable).once(); in setThrowable() 186 .andReturn(value).once(); in setReturnValue() 468 EasyMock.expectLastCall().andReturn(value).once(); in expectAndReturn() 550 EasyMock.expect(ignored).andThrow(throwable).once(); in expectAndThrow() 639 setter.once(); in callWithConvertedRange()
|
/external/boringssl/src/crypto/rand/ |
D | urandom.c | 62 static CRYPTO_once_t once = CRYPTO_ONCE_INIT; variable 111 CRYPTO_once(&once, init_once); in RAND_set_urandom_fd() 132 CRYPTO_once(&once, init_once); in RAND_enable_fork_unsafe_buffering() 209 CRYPTO_once(&once, init_once); in CRYPTO_sysrand()
|