/external/rust/crates/tokio/tests/ |
D | sync_once_cell.rs | 55 static ONCE: OnceCell<u32> = OnceCell::const_new(); in get_or_init() constant 58 let handle1 = rt.spawn(async { ONCE.get_or_init(func1).await }); in get_or_init() 59 let handle2 = rt.spawn(async { ONCE.get_or_init(func2).await }); in get_or_init() 79 static ONCE: OnceCell<u32> = OnceCell::const_new(); in get_or_init_panic() constant 84 let handle1 = rt.spawn(async { ONCE.get_or_init(func1).await }); in get_or_init_panic() 85 let handle2 = rt.spawn(async { ONCE.get_or_init(func_panic).await }); in get_or_init_panic() 104 static ONCE: OnceCell<u32> = OnceCell::const_new(); in set_and_get() variable 107 let _ = rt.spawn(async { ONCE.set(5) }).await; in set_and_get() 108 let value = ONCE.get().unwrap(); in set_and_get() 115 static ONCE: OnceCell<u32> = OnceCell::const_new(); in get_uninit() variable [all …]
|
/external/llvm-project/llvm/test/Other/ |
D | print-before-after.ll | 5 …es='no-op-module,no-op-function' -print-before=no-op-module 2>&1 | FileCheck %s --check-prefix=ONCE 6 …ses='no-op-module,no-op-function' -print-after=no-op-module 2>&1 | FileCheck %s --check-prefix=ONCE 7 …utput -passes='no-op-function' -print-before=no-op-function 2>&1 | FileCheck %s --check-prefix=ONCE 8 …output -passes='no-op-function' -print-after=no-op-function 2>&1 | FileCheck %s --check-prefix=ONCE 15 ; ONCE: @foo 16 ; ONCE: @bar 17 ; ONCE-NOT: @foo 18 ; ONCE-NOT: @bar
|
/external/easymock/src/org/easymock/internal/ |
D | RecordState.java | 98 times(MocksControl.ONCE); in andReturn() 107 times(MocksControl.ONCE); in andThrow() 116 times(MocksControl.ONCE); in andAnswer() 125 times(MocksControl.ONCE); in andDelegateTo() 135 times(MocksControl.ONCE); in andStubReturn() 147 times(MocksControl.ONCE); in setDefaultReturnValue() 176 times(MocksControl.ONCE); in andStubThrow() 187 times(MocksControl.ONCE); in setDefaultThrowable() 199 times(MocksControl.ONCE); in andStubAnswer() 209 times(MocksControl.ONCE); in andStubDelegateTo()
|
D | MocksControl.java | 238 state.times(ONCE); in once() 266 public static final Range ONCE = new Range(1); field in MocksControl
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | erase-dbg-values-at-dead-alloc-site.ll | 1 ; RUN: opt -S -instcombine %s | FileCheck %s -check-prefix=RUN-ONCE 13 ; RUN-ONCE-LABEL: @t1( 14 ; RUN-ONCE-NEXT: llvm.dbg.value(metadata i32 %0, metadata [[t1_arg0:![0-9]+]], metadata !DIExpressi… 15 ; RUN-ONCE-NEXT: llvm.dbg.value(metadata i32* undef, metadata [[t1_fake_ptr:![0-9]+]], metadata !DI… 16 ; RUN-ONCE-NEXT: ret void 53 ; RUN-ONCE: [[t1_arg0]] = !DILocalVariable(name: "a" 54 ; RUN-ONCE: [[t1_fake_ptr]] = !DILocalVariable(name: "fake_ptr"
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/ |
D | install-name-tool-change.test | 59 # RUN: llvm-install-name-tool -change /usr/COMMON /usr/ONCE %t.copy 60 # RUN: llvm-objdump -p %t.copy | FileCheck %s --check-prefix=CHANGE-ONCE --implicit-check-not='name… 62 # CHANGE-ONCE: name /usr/ONCE 63 # CHANGE-ONCE: name /usr/ONCE 72 # RUN: not llvm-install-name-tool %t -change /usr/ONCE 2>&1 | \
|
/external/rust/crates/lazy_static/tests/ |
D | test.rs | 113 static ONCE: X = X; variable 122 test(vec![X, Once(X).0, ONCE_INIT.0, DATA, ONCE,
|
/external/toybox/toys/pending/ |
D | init.c | 37 #define ONCE 0x04 macro 321 if (x->action & (SHUTDOWN|ONCE|SYSINIT|CTRLALTDEL|WAIT)) { in run_action_from_list() 499 run_action_from_list(ONCE); in init_main()
|
/external/rust/crates/libloading/tests/ |
D | functions.rs | 10 static ONCE: ::std::sync::Once = ::std::sync::Once::new(); in make_helpers() variable 11 ONCE.call_once(|| { in make_helpers()
|
/external/rust/crates/num_cpus/src/ |
D | linux.rs | 112 static ONCE: Once = ::std::sync::ONCE_INIT; in cgroups_num_cpus() constant 114 ONCE.call_once(init_cgroups); in cgroups_num_cpus()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShadingLanguage420PackTests.cpp | 2506 static const testCase test_cases[] = { { ASSIGNMENT_BEFORE_OPERATOR, ONCE, UNIX }, in prepareNextTestCase() 2507 { ASSIGNMENT_BEFORE_OPERATOR, ONCE, DOS }, in prepareNextTestCase() 2510 { ASSIGNMENT_AFTER_OPERATOR, ONCE, UNIX }, in prepareNextTestCase() 2511 { ASSIGNMENT_AFTER_OPERATOR, ONCE, DOS }, in prepareNextTestCase() 2514 { VECTOR_VARIABLE_INITIALIZER, ONCE, UNIX }, in prepareNextTestCase() 2515 { VECTOR_VARIABLE_INITIALIZER, ONCE, DOS }, in prepareNextTestCase() 2518 { TOKEN_INSIDE_FUNCTION_NAME, ONCE, UNIX }, in prepareNextTestCase() 2519 { TOKEN_INSIDE_FUNCTION_NAME, ONCE, DOS }, in prepareNextTestCase() 2522 { TOKEN_INSIDE_TYPE_NAME, ONCE, UNIX }, in prepareNextTestCase() 2523 { TOKEN_INSIDE_TYPE_NAME, ONCE, DOS }, in prepareNextTestCase() [all …]
|
D | gl4cShadingLanguage420PackTests.hpp | 731 ONCE = 0, enumerator
|
/external/easymock/src/org/easymock/ |
D | MockControl.java | 414 public static final Range ONE = MocksControl.ONCE;
|
/external/rust/crates/clap/src/ |
D | macros.rs | 484 static ONCE: Once = ONCE_INIT; constant 488 ONCE.call_once(|| {
|
/external/skqp/src/compute/skc/platforms/cl_12/kernels/ |
D | prefix.cl | 178 // WITH SIMD, ONCE A TTS_INVALID IS DETECTED WE CAN QUIT
|
/external/catch2/projects/SelfTest/Baselines/ |
D | console.std.approved.txt | 1314 this SHOULD be seen only ONCE
|
D | compact.sw.approved.txt | 1665 Message.tests.cpp:<line number>: failed: false with 1 message: 'this SHOULD be seen only ONCE' 1667 Message.tests.cpp:<line number>: passed: true with 1 message: 'this MAY also be seen only ONCE IF i…
|
D | console.sw.approved.txt | 12353 this SHOULD be seen only ONCE 12361 this MAY also be seen only ONCE IF info is printed for passing assertions
|