Home
last modified time | relevance | path

Searched refs:LAZY (Results 1 – 25 of 52) sorted by relevance

123

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DAsyncLazyTest.kt16 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
32 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
50 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
79 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
93 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
107 val d = async(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
125 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
147 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
166 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
DLaunchLazyTest.kt13 val job = launch(start = CoroutineStart.LAZY) { in <lambda>()
30 val job = launch(start = CoroutineStart.LAZY) { in <lambda>()
57 val job = launch(start = CoroutineStart.LAZY) { in <lambda>()
DJobStatesTest.kt19 val job = launch(start = CoroutineStart.LAZY) { in <lambda>()
55 val job = launch(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
92 val job = launch(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
127 val job = launch(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
DAwaitTest.kt39 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
43 val d2 = async(start = CoroutineStart.LAZY) { in <lambda>()
271 val d = async(start = CoroutineStart.LAZY) { in <lambda>()
274 val d2 = launch(start = CoroutineStart.LAZY) { in <lambda>()
DExperimentalDispatchModeTest.kt46 val job = launch(Dispatchers.Unconfined, start = CoroutineStart.LAZY) { in <lambda>()
/external/dagger2/java/dagger/internal/codegen/base/
DRequestKinds.java29 import static dagger.model.RequestKind.LAZY;
58 return types.wrapType(requestType(LAZY, type, types), Provider.class); in requestType()
77 case LAZY: in requestTypeName()
100 LAZY, Lazy.class,
116 if (kind.equals(PROVIDER) && getRequestKind(DaggerTypes.unwrapType(type)).equals(LAZY)) { in getRequestKind()
143 return extractKeyType(LAZY, extractKeyType(PROVIDER, type)); in extractKeyType()
176 case LAZY: in canBeSatisfiedByProductionBinding()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCoroutineStart.kt49 LAZY,
93 LAZY -> Unit // will start lazily in invoke()
112 LAZY -> Unit // will start lazily in invoke()
121 public val isLazy: Boolean get() = this === LAZY
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DStartModeProbesTest.kt144 launch(start = CoroutineStart.LAZY) { } in <lambda>()
145 actor<Int>(start = CoroutineStart.LAZY) { } in <lambda>()
146 broadcast<Int>(start = CoroutineStart.LAZY) { } in <lambda>()
147 async(start = CoroutineStart.LAZY) { 1 } in <lambda>()
DDebugLeaksTest.kt28 GlobalScope.launch(start = CoroutineStart.LAZY) { println(captured) } in testLazyGlobalCoroutineLeak()
36 val child = launch(start = CoroutineStart.LAZY) { println(captured) } in <lambda>()
DLazyCoroutineTest.kt14 val job = launch(start = CoroutineStart.LAZY) {} in <lambda>()
/external/dagger2/javatests/dagger/internal/codegen/
DFrameworkTypeMapperTest.java21 import static dagger.model.RequestKind.LAZY;
38 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
45 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProducer()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DActorLazyTest.kt15 val actor = actor<String>(start = CoroutineStart.LAZY) { in <lambda>()
41 val actor = actor<String>(start = CoroutineStart.LAZY) { in <lambda>()
68 val actor = actor<Int>(start = CoroutineStart.LAZY) { in <lambda>()
DDoubleChannelCloseStressTest.kt16 … val actor = GlobalScope.actor<Int>(CoroutineName("actor"), start = CoroutineStart.LAZY) { in testDoubleCloseStress()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailFastOnStartTest.kt28 val job = launch(Dispatchers.Main, start = CoroutineStart.LAZY) { fail() } in <lambda>()
47 val job = async(Dispatchers.Main, start = CoroutineStart.LAZY) { fail() } in testAsyncLazy()
70 val actor = actor<Int>(Dispatchers.Main, start = CoroutineStart.LAZY) { fail() } in <lambda>()
DJobActivationStressTest.kt31 val d = scope.async(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
/external/rust/crates/protobuf/src/
Dlazy_v2.rs49 static mut LAZY: LazyV2<String> = LazyV2::INIT; in many_threads_calling_get() variable
57 LAZY = LazyV2::INIT; in many_threads_calling_get()
73 LAZY.get(|| { in many_threads_calling_get()
Dlazy.rs72 static mut LAZY: Lazy<String> = Lazy::INIT; in many_threads_calling_get() variable
80 LAZY = Lazy::INIT; in many_threads_calling_get()
96 LAZY.get(|| { in many_threads_calling_get()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-compose-03.kt13 val one = async(start = CoroutineStart.LAZY) { doSomethingUsefulOne() } in <lambda>()
14 val two = async(start = CoroutineStart.LAZY) { doSomethingUsefulTwo() } in <lambda>()
/external/dagger2/java/dagger/internal/codegen/binding/
DFrameworkTypeMapper.java37 case LAZY: in FOR_PROVIDER()
57 case LAZY: in FOR_PRODUCER()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DStackTraceRecoveryTest.kt89 val deferred = async<Unit>(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
127 val deferred = async<Unit>(NonCancellable, start = CoroutineStart.LAZY) { in <lambda>()
208 val task = GlobalScope.async(Dispatchers.Default, start = CoroutineStart.LAZY) { throws() } in <lambda>()
/external/rust/crates/lazy_static/src/
Dlib.rs142 __lazy_static_create!(LAZY, $T);
143 LAZY.get(__static_ref_initialize)
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DBroadcast.kt45 start: CoroutineStart = CoroutineStart.LAZY in <lambda>()
112 start: CoroutineStart = CoroutineStart.LAZY, in broadcast()
/external/dagger2/java/dagger/model/
DRequestKind.java42 LAZY, enumConstant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectJobTest.kt55 val job = launch(start = CoroutineStart.LAZY) { in <lambda>()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeNames.java65 public static final ClassName LAZY = ClassName.get(Lazy.class); field in TypeNames
108 return ParameterizedTypeName.get(LAZY, typeName); in lazyOf()

123