/external/skqp/tests/ |
D | OnceTest.cpp | 20 SkOnce once; in DEF_TEST() local 21 once(add_five, &x); in DEF_TEST() 22 once(add_five, &x); in DEF_TEST() 23 once(add_five, &x); in DEF_TEST() 24 once(add_five, &x); in DEF_TEST() 25 once(add_five, &x); in DEF_TEST() 34 SkOnce once; in DEF_TEST() local 36 once([&] { x += 6; }); in DEF_TEST() 47 SkOnce once; in DEF_TEST() local 48 once(inc_gX); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | OnceTest.cpp | 20 SkOnce once; in DEF_TEST() local 21 once(add_five, &x); in DEF_TEST() 22 once(add_five, &x); in DEF_TEST() 23 once(add_five, &x); in DEF_TEST() 24 once(add_five, &x); in DEF_TEST() 25 once(add_five, &x); in DEF_TEST() 34 SkOnce once; in DEF_TEST() local 36 once([&] { x += 6; }); in DEF_TEST() 47 SkOnce once; in DEF_TEST() local 48 once(inc_gX); in DEF_TEST() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | once.h | 94 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { in GoogleOnceInit() argument 95 if (!*once) { in GoogleOnceInit() 96 *once = true; in GoogleOnceInit() 102 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg), in GoogleOnceInit() argument 104 if (!*once) { in GoogleOnceInit() 105 *once = true; in GoogleOnceInit() 123 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure); 125 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { 126 if (internal::Acquire_Load(once) != ONCE_STATE_DONE) { 128 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/grpc-grpc/src/ruby/spec/generic/ |
D | client_interceptors_spec.rb | 30 .once.and_call_original 35 .once.and_call_original 42 .once.and_call_original 48 .once.and_call_original 57 .once.and_call_original 62 .once.and_call_original 70 .once.and_call_original 77 .once.and_call_original 86 .once.and_call_original 92 .once.and_call_original [all …]
|
D | server_interceptors_spec.rb | 37 .once.and_call_original 47 .once.and_call_original 53 .once.and_call_original 72 .once.and_call_original 82 .once.and_call_original 88 .once.and_call_original 107 .once.and_call_original 120 .once.and_call_original 126 .once.and_call_original 147 .once.and_call_original [all …]
|
D | rpc_desc_spec.rb | 41 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 42 expect(@call).to receive(:send_status).once.with(@bs_code, 'NOK', false, 48 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 49 expect(@call).to receive(:send_status).once.with(UNKNOWN, 56 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 57 expect(@call).to receive(:send_status).once.with( 63 expect(@call).to receive(:read_unary_request).once.and_raise(CallError) 85 expect(@call).to receive(:read_unary_request).once.and_return(req) 86 expect(@call).to receive(:output_metadata).once.and_return(fake_md) 87 expect(@call).to receive(:server_unary_response).once [all …]
|
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 234 andReturn("").once(); in testGlesVersion() 236 andReturn("").once(); in testGlesVersion() 254 EasyMock.expectLastCall().once(); in testGlesVersion() 257 EasyMock.expectLastCall().once(); in testGlesVersion() 260 EasyMock.expectLastCall().once(); in testGlesVersion() 263 EasyMock.expectLastCall().once(); in testGlesVersion() 380 EasyMock.expectLastCall().once(); in testResultCode() 383 andReturn("").once(); in testResultCode() 385 andReturn("").once(); in testResultCode() 388 EasyMock.expectLastCall().once(); in testResultCode() [all …]
|
/external/v8/src/base/ |
D | once.h | 84 V8_BASE_EXPORT void CallOnceImpl(OnceType* once, 87 inline void CallOnce(OnceType* once, NoArgFunction init_func) { in CallOnce() argument 88 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 89 CallOnceImpl(once, init_func); in CallOnce() 95 inline void CallOnce(OnceType* once, in CallOnce() argument 97 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 98 CallOnceImpl(once, [=]() { init_func(arg); }); in CallOnce()
|
D | once.cc | 18 void CallOnceImpl(OnceType* once, std::function<void()> init_func) { 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 | 145 static void Init(OnceType* once, Function function, Storage storage) { in Init() 146 CallOnce(once, function, storage); in Init() 154 static void Init(OnceType* once, Function function, Storage storage) { in Init() 155 if (*once == ONCE_STATE_UNINITIALIZED) { in Init() 157 *once = ONCE_STATE_DONE; in Init()
|
/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/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 | 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 | 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 | 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
|
/external/libvpx/libvpx/vpx_ports/ |
D | vpx_once.h | 51 static void once(void (*func)(void)) { in once() function 97 static void once(void (*func)(void)) { in once() function 119 static void once(void (*func)(void)) { in once() function 130 static void once(void (*func)(void)) { in once() function
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | cpu_posix.cc | 48 static gpr_once once = GPR_ONCE_INIT; in gpr_cpu_num_cores() local 49 gpr_once_init(&once, init_ncpus); in gpr_cpu_num_cores() 68 static gpr_once once = GPR_ONCE_INIT; in gpr_cpu_current_cpu() local 69 gpr_once_init(&once, init_thread_id_key); in gpr_cpu_current_cpu()
|
/external/perfetto/ui/src/common/ |
D | actions_unittest.ts | 46 const once = produce(createEmptyState(), draft => { constant 55 const twice = produce(once, draft => { 98 const once = produce(createEmptyState(), draft => { constant 113 const firstTrackId = once.scrollingTracks[0]; 114 const secondTrackId = once.scrollingTracks[1]; 116 const twice = produce(once, draft => { 257 const once = produce(createEmptyState(), draft => { constant 263 const twice = produce(once, draft => {
|
/external/googletest/googlemock/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/mesa3d/src/compiler/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/boringssl/src/crypto/ |
D | thread_none.c | 39 void CRYPTO_once(CRYPTO_once_t *once, void (*init)(void)) { in CRYPTO_once() argument 40 if (*once) { in CRYPTO_once() 43 *once = 1; in CRYPTO_once()
|