/external/kotlinx.coroutines/kotlinx-coroutines-core/js/test/ |
D | PromiseTest.kt | 12 fun testPromiseResolvedAsDeferred() = GlobalScope.promise { in <lambda>() 21 fun testPromiseRejectedAsDeferred() = GlobalScope.promise { in <lambda>() 39 fun testCompletedDeferredAsPromise() = GlobalScope.promise { in <lambda>() 49 fun testWaitForDeferredAsPromise() = GlobalScope.promise { in <lambda>() 59 fun testCancellableAwaitPromise() = GlobalScope.promise { in <lambda>() 70 fun testAsPromiseAsDeferred() = GlobalScope.promise { in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
D | ConvertTest.kt | 48 val d = GlobalScope.async { in <lambda>() 64 val d = GlobalScope.async { in <lambda>() 76 val d = GlobalScope.async { in <lambda>() 92 val d = GlobalScope.async { in <lambda>() 108 val d = GlobalScope.async { in <lambda>() 124 val c = GlobalScope.produce { in <lambda>() 138 val c = GlobalScope.produce { in <lambda>()
|
D | ObservableAsFlowTest.kt | 54 GlobalScope.launch(Dispatchers.Unconfined) { in testImmediateCollection() 72 GlobalScope.launch(Dispatchers.Unconfined) { in testOnErrorCancellation() 96 GlobalScope.launch(Dispatchers.Unconfined) { in testUnsubscribeOnCollectionException() 124 val job = GlobalScope.launch(Dispatchers.Unconfined) { in testLateOnSubscribe()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
D | ConvertTest.kt | 48 val d = GlobalScope.async { in <lambda>() 64 val d = GlobalScope.async { in <lambda>() 76 val d = GlobalScope.async { in <lambda>() 92 val d = GlobalScope.async { in <lambda>() 108 val d = GlobalScope.async { in <lambda>() 124 val c = GlobalScope.produce { in <lambda>() 138 val c = GlobalScope.produce { in <lambda>()
|
D | ObservableAsFlowTest.kt | 54 GlobalScope.launch(Dispatchers.Unconfined) { in testImmediateCollection() 72 GlobalScope.launch(Dispatchers.Unconfined) { in testOnErrorCancellation() 96 GlobalScope.launch(Dispatchers.Unconfined) { in testUnsubscribeOnCollectionException() 124 val job = GlobalScope.launch(Dispatchers.Unconfined) { in testLateOnSubscribe()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ThreadContextElementTest.kt | 21 val job = GlobalScope.launch(element + exceptionHandler) { in <lambda>() 44 val job = GlobalScope.launch( in testUndispatched() 63 GlobalScope.async(Dispatchers.Default + MyElement(data)) { in <lambda>() 68 GlobalScope.async(it + MyElement(newData)) { in <lambda>() 78 GlobalScope.async(it) { in <lambda>()
|
D | ThreadLocalTest.kt | 92 val deferred = GlobalScope.async(intThreadLocal.asContextElement(1)) { in <lambda>() 108 val deferred2 = GlobalScope.async(executor) { in <lambda>() 186 GlobalScope.async(Dispatchers.Default + intThreadLocal.asContextElement(42)) { in <lambda>() 191 GlobalScope.async(it + intThreadLocal.asContextElement(31)) { in <lambda>() 201 GlobalScope.async(it) { in <lambda>() 217 GlobalScope.async { in <lambda>() 222 GlobalScope.async(intThreadLocal.asContextElement()) { in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactor/test/ |
D | ConvertTest.kt | 49 val d = GlobalScope.async { in <lambda>() 65 val d = GlobalScope.async { in <lambda>() 77 val d = GlobalScope.async { in <lambda>() 93 val c = GlobalScope.produce { in <lambda>() 107 val c = GlobalScope.produce { in <lambda>()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/ |
D | FutureTest.kt | 28 val future = GlobalScope.future { in <lambda>() 40 val future = GlobalScope.future { in <lambda>() 51 val future = GlobalScope.future { in <lambda>() 60 val future = GlobalScope.future { in <lambda>() 72 val future = GlobalScope.future { in <lambda>() 84 val future = GlobalScope.future { in <lambda>() 100 val future = GlobalScope.future { in <lambda>() 136 val future = GlobalScope.future { in <lambda>() 150 val future = GlobalScope.future { in <lambda>() 189 val future = GlobalScope.future(wrapContinuation { in <lambda>()
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.cpp | 402 auto GlobalScope(Session->getGlobalScope()); in dumpPretty() local 403 std::string FileName(GlobalScope->getSymbolsFileName()); in dumpPretty() 420 Printer << ": " << GlobalScope->getGuid(); in dumpPretty() 424 Printer << ": " << GlobalScope->getAge(); in dumpPretty() 429 if (GlobalScope->hasCTypes()) in dumpPretty() 431 if (GlobalScope->hasPrivateSymbols()) in dumpPretty() 440 auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>(); in dumpPretty() 455 Dumper.start(*GlobalScope); in dumpPretty() 463 auto Compilands = GlobalScope->findAllChildren<PDBSymbolCompiland>(); in dumpPretty() 476 auto Functions = GlobalScope->findAllChildren<PDBSymbolFunc>(); in dumpPretty() [all …]
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/ |
D | FakeAndroid.kt | 3 import kotlinx.coroutines.GlobalScope 8 GlobalScope.launch { r.run() } in post()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-exceptions-01.kt | 11 val job = GlobalScope.launch { // root coroutine with launch in <lambda>() 17 val deferred = GlobalScope.async { // root coroutine with async in <lambda>()
|
D | example-exceptions-02.kt | 14 val job = GlobalScope.launch(handler) { // root coroutine, running in GlobalScope in <lambda>() 17 val deferred = GlobalScope.async(handler) { // also root, but async instead of launch in <lambda>()
|
D | example-compose-04.kt | 26 fun somethingUsefulOneAsync() = GlobalScope.async { in <lambda>() 30 fun somethingUsefulTwoAsync() = GlobalScope.async { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | DoubleChannelCloseStressTest.kt | 16 … val actor = GlobalScope.actor<Int>(CoroutineName("actor"), start = CoroutineStart.LAZY) { in testDoubleCloseStress() 19 GlobalScope.launch(CoroutineName("sender")) { in testDoubleCloseStress()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/ |
D | ListenableFutureTest.kt | 24 val future = GlobalScope.future { in <lambda>() 63 val future = GlobalScope.future { in <lambda>() 72 val future = GlobalScope.future { in <lambda>() 84 val future = GlobalScope.future { in <lambda>() 98 val future = GlobalScope.future { in <lambda>() 114 val future = GlobalScope.future { in <lambda>() 133 GlobalScope.future(start = CoroutineStart.LAZY) {} in <lambda>() 168 val deferred = GlobalScope.async { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/ |
D | DebugLeaksTest.kt | 28 GlobalScope.launch(start = CoroutineStart.LAZY) { println(captured) } in testLazyGlobalCoroutineLeak() 45 GlobalScope.launch { in testAbandonedGlobalCoroutineLeak()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cppcoreguidelines-interfaces-global-init.cpp | 58 static int GlobalScope = makesInt(); variable 59 static int GlobalScopeGoodInit2 = takesInt(GlobalScope);
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | UnconfinedTest.kt | 93 GlobalScope.launch(Dispatchers.Unconfined) { in <lambda>() 97 GlobalScope.launch(Dispatchers.Unconfined) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/ |
D | Builders.kt | 40 newContext = GlobalScope.newCoroutineContext(context + eventLoop) in runBlocking() 46 newContext = GlobalScope.newCoroutineContext(context) in runBlocking()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/ |
D | Builders.kt | 49 newContext = GlobalScope.newCoroutineContext(context + eventLoop) in runBlocking() 55 newContext = GlobalScope.newCoroutineContext(context) in runBlocking()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/test/guide/ |
D | example-ui-blocking-01.kt | 54 val eventActor = GlobalScope.actor<MouseEvent>(Dispatchers.Main, capacity = Channel.CONFLATED) { in onClick() 68 GlobalScope.launch(Dispatchers.Main) { in fib()
|
D | example-ui-blocking-03.kt | 54 val eventActor = GlobalScope.actor<MouseEvent>(Dispatchers.Main, capacity = Channel.CONFLATED) { in onClick() 65 GlobalScope.launch(Dispatchers.Main) { in setup()
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/ |
D | ChannelSinkBenchmark.kt | 49 …nel.Factory.range(start: Int, count: Int, context: CoroutineContext) = GlobalScope.produce(context… in <lambda>() 57 GlobalScope.produce(context, onCompletion = { cancel() }) { in <lambda>()
|
D | SemaphoreBenchmark.kt | 54 jobs += GlobalScope.launch { in <lambda>() 72 jobs += GlobalScope.launch { in <lambda>()
|