/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/v8/src/base/ |
D | once.h | 80 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg); 82 inline void CallOnce(OnceType* once, NoArgFunction init_func) { in CallOnce() argument 83 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 84 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), NULL); in CallOnce() 90 inline void CallOnce(OnceType* once, in CallOnce() argument 92 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 93 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/core/ |
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/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/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/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/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/openfst/src/include/fst/ |
D | lock.h | 40 inline int FstOnceInit(FstOnceType *once, void (*init)(void)) { in FstOnceInit() argument 41 if (*once) in FstOnceInit() 43 *once = 0; in FstOnceInit()
|
/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 | 45 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp() 50 EasyMock.expect(hasher.putByte((byte) 'y')).andReturn(hasher).once(); in testRead_putSingleByte() 63 .andReturn(hasher).once(); in testRead_putByteArray() 80 .andReturn(hasher).once(); in testRead_putByteArrayAtPos() 101 .andReturn(hasher).once(); in testRead_putByteArrayOutOfBound()
|
/external/skia/tests/ |
D | OnceTest.cpp | 39 SkOnceFlag* once; member in __anon9dea4e000111::Racer 43 SkOnce(once, add_six, ptr); in run() 57 racers[i].once = &mt_once; in DEF_TEST()
|
/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/clang/test/Preprocessor/Inputs/microsoft-header-search/a/ |
D | include2.h | 1 #pragma once 4 #pragma once
|
/external/clang/test/Preprocessor/Inputs/microsoft-header-search/ |
D | include1.h | 1 #pragma once 4 #pragma once
|
/external/clang/test/Modules/ |
D | validate-system-headers.m | 25 // This should override -fmodules-validate-once-per-build-session 27 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session 33 // Don't recompile due to -fmodules-validate-once-per-build-session 34 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session 38 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session
|
/external/llvm/test/tools/llvm-cov/Inputs/ |
D | test_-b_-f.output | 34 Taken at least once:100.00% of 4 40 Taken at least once:81.82% of 11 56 Taken at least once:86.67% of 15
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Links, reference style.text | 14 Indented [once][]. 22 [once]: /url
|
/external/markdown/tests/markdown-test/ |
D | links-reference.txt | 14 Indented [once][]. 22 [once]: /url
|
/external/libselinux/src/ |
D | checkAccess.c | 10 static pthread_once_t once = PTHREAD_ONCE_INIT; variable 27 __selinux_once(once, avc_init_once); in selinux_check_access()
|