/external/libchrome/base/containers/ |
D | flat_tree_unittest.cc | 280 Tree cont({{0, 0}, {1, 0}, {0, 1}, {2, 0}, {0, 2}, {1, 1}}); in TEST() local 282 auto AllOfSecondsAreZero = [&cont] { in TEST() 283 return std::all_of(cont.begin(), cont.end(), in TEST() 290 cont.insert(Pair(0, 2)); in TEST() 291 cont.insert(Pair(1, 2)); in TEST() 292 cont.insert(Pair(2, 2)); in TEST() 296 cont.insert(Pair(3, 0)); in TEST() 297 cont.insert(Pair(3, 2)); in TEST() 341 IntTree cont; in TEST() local 342 EXPECT_THAT(cont, ElementsAre()); in TEST() [all …]
|
/external/rust/crates/serde_derive/src/internals/ |
D | check.rs | 8 pub fn check(cx: &Ctxt, cont: &mut Container, derive: Derive) { in check() 9 check_getter(cx, cont); in check() 10 check_flatten(cx, cont); in check() 11 check_identifier(cx, cont); in check() 12 check_variant_skip_attrs(cx, cont); in check() 13 check_internal_tag_field_name_conflict(cx, cont); in check() 14 check_adjacent_tag_conflict(cx, cont); in check() 15 check_transparent(cx, cont, derive); in check() 16 check_from_and_try_from(cx, cont); in check() 21 fn check_getter(cx: &Ctxt, cont: &Container) { in check_getter() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CancellableResumeTest.kt | 18 val ok = suspendCancellableCoroutine<String> { cont -> in <lambda>() method 20 cont.invokeOnCancellation { expectUnreached() } in <lambda>() 21 cont.resume("OK") { expectUnreached() } in <lambda>() 33 suspendCancellableCoroutine<String> { cont -> in <lambda>() method 35 cont.invokeOnCancellation { expect(3) } in <lambda>() 36 cont.cancel(TestException("FAIL")) in <lambda>() 38 cont.resume("OK") { cause -> in <lambda>() 56 suspendCancellableCoroutine<String> { cont -> in <lambda>() method 58 cont.invokeOnCancellation { in <lambda>() 62 cont.cancel(TestException("FAIL")) in <lambda>() [all …]
|
D | DispatchedContinuationTest.kt | 15 private lateinit var cont: Continuation<String> variable in kotlinx.coroutines.DispatchedContinuationTest 26 cont = it in testCancelThenResume() 32 cont.resume("OK") in testCancelThenResume() 47 cont = it in <lambda>() 53 cont.resume("OK") // immediately resumes -- because unconfined in <lambda>() 64 cont = it in <lambda>() 70 cont.resume("OK") in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/ |
D | RxAwait.kt | 24 public suspend fun CompletableSource.await(): Unit = suspendCancellableCoroutine { cont -> in <lambda>() method 26 override fun onSubscribe(d: Disposable) { cont.disposeOnCancellation(d) } in <lambda>() 27 override fun onComplete() { cont.resume(Unit) } in <lambda>() 28 override fun onError(e: Throwable) { cont.resumeWithException(e) } in <lambda>() 55 …uspend fun <T> MaybeSource<T>.awaitOrDefault(default: T): T = suspendCancellableCoroutine { cont -> in await() method 57 override fun onSubscribe(d: Disposable) { cont.disposeOnCancellation(d) } in await() 58 override fun onComplete() { cont.resume(default) } in await() 59 override fun onSuccess(t: T) { cont.resume(t) } in await() 60 override fun onError(error: Throwable) { cont.resumeWithException(error) } in await() 74 public suspend fun <T> SingleSource<T>.await(): T = suspendCancellableCoroutine { cont -> in await() method [all …]
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/ |
D | RxAwait.kt | 24 public suspend fun CompletableSource.await(): Unit = suspendCancellableCoroutine { cont -> in <lambda>() method 26 override fun onSubscribe(d: Disposable) { cont.disposeOnCancellation(d) } in <lambda>() 27 override fun onComplete() { cont.resume(Unit) } in <lambda>() 28 override fun onError(e: Throwable) { cont.resumeWithException(e) } in <lambda>() 55 …uspend fun <T> MaybeSource<T>.awaitOrDefault(default: T): T = suspendCancellableCoroutine { cont -> in await() method 57 override fun onSubscribe(d: Disposable) { cont.disposeOnCancellation(d) } in await() 58 override fun onComplete() { cont.resume(default) } in await() 59 override fun onSuccess(t: T) { cont.resume(t) } in await() 60 override fun onError(error: Throwable) { cont.resumeWithException(error) } in await() 74 public suspend fun <T> SingleSource<T>.await(): T = suspendCancellableCoroutine { cont -> in await() method [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | LandingPadClauses.ll | 17 to label %cont.a unwind label %lpad.a 18 cont.a: 20 to label %cont.b unwind label %lpad.b 21 cont.b: 23 to label %cont.c unwind label %lpad.c 24 cont.c: 26 to label %cont.d unwind label %lpad.d 27 cont.d: 29 to label %cont.e unwind label %lpad.e 30 cont.e: [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | LandingPadClauses.ll | 17 to label %cont.a unwind label %lpad.a 18 cont.a: 20 to label %cont.b unwind label %lpad.b 21 cont.b: 23 to label %cont.c unwind label %lpad.c 24 cont.c: 26 to label %cont.d unwind label %lpad.d 27 cont.d: 29 to label %cont.e unwind label %lpad.e 30 cont.e: [all …]
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/X86/ |
D | empty-cleanuppad.ll | 28 invoke void @g() to label %invoke.cont unwind label %ehcleanup 30 invoke.cont: ; preds = %entry 77 invoke void @g() to label %invoke.cont unwind label %ehcleanup 79 invoke.cont: ; preds = %entry 80 br label %try.cont 95 br label %try.cont 97 try.cont: ; preds = %catchret.dest, %invoke.cont 124 ; CHECK: to label %try.cont unwind label %catch.dispatch 139 invoke void @g() to label %invoke.cont unwind label %ehcleanup 141 invoke.cont: ; preds = %entry [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | empty-cleanuppad.ll | 28 invoke void @g() to label %invoke.cont unwind label %ehcleanup 30 invoke.cont: ; preds = %entry 77 invoke void @g() to label %invoke.cont unwind label %ehcleanup 79 invoke.cont: ; preds = %entry 80 br label %try.cont 95 br label %try.cont 97 try.cont: ; preds = %catchret.dest, %invoke.cont 124 ; CHECK: to label %try.cont unwind label %catch.dispatch 139 invoke void @g() to label %invoke.cont unwind label %ehcleanup 141 invoke.cont: ; preds = %entry [all …]
|
/external/llvm-project/llvm/test/Analysis/ScalarEvolution/ |
D | overflow-intrinsics.ll | 12 for.cond.cleanup: ; preds = %cont 15 for.body: ; preds = %entry, %cont 16 ; CHECK: %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 19 %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 25 br i1 %tmp1, label %trap, label %cont, !nosanitize !{} 31 cont: ; preds = %for.body 43 for.cond.cleanup: ; preds = %cont 46 for.body: ; preds = %entry, %cont 47 ; CHECK: %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 54 %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] [all …]
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | overflow-intrinsics.ll | 11 for.cond.cleanup: ; preds = %cont 14 for.body: ; preds = %entry, %cont 15 ; CHECK: %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 18 %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 24 br i1 %tmp1, label %trap, label %cont, !nosanitize !{} 30 cont: ; preds = %for.body 42 for.cond.cleanup: ; preds = %cont 45 for.body: ; preds = %entry, %cont 46 ; CHECK: %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] 53 %i.04 = phi i32 [ 0, %entry ], [ %tmp2, %cont ] [all …]
|
/external/llvm-project/llvm/test/CodeGen/WebAssembly/ |
D | lower-em-exceptions-allowed.ll | 10 to label %invoke.cont unwind label %lpad 13 ; CHECK-NEXT: br label %invoke.cont 15 invoke.cont: ; preds = %entry 16 br label %try.cont 28 br label %try.cont 30 try.cont: ; preds = %catch, %invoke.cont 38 to label %invoke.cont unwind label %lpad 43 invoke.cont: ; preds = %entry 44 br label %try.cont 56 br label %try.cont [all …]
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | overflow-intrinsics.ll | 11 for.cond.cleanup: ; preds = %cont 14 for.body: ; preds = %entry, %cont 15 %i.04 = phi i32 [ 0, %entry ], [ %2, %cont ] 23 ; CHECK: br i1 false, label %trap, label %cont, !nosanitize !0 24 br i1 %1, label %trap, label %cont, !nosanitize !{} 30 cont: ; preds = %for.body 41 for.cond.cleanup: ; preds = %cont 44 for.body: ; preds = %entry, %cont 45 %i.04 = phi i32 [ 0, %entry ], [ %2, %cont ] 53 ; CHECK: br i1 false, label %trap, label %cont, !nosanitize !0 [all …]
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/ |
D | overflow-intrinsics.ll | 11 for.cond.cleanup: ; preds = %cont 14 for.body: ; preds = %entry, %cont 15 %i.04 = phi i32 [ 0, %entry ], [ %2, %cont ] 23 ; CHECK: br i1 false, label %trap, label %cont, !nosanitize !0 24 br i1 %1, label %trap, label %cont, !nosanitize !{} 30 cont: ; preds = %for.body 41 for.cond.cleanup: ; preds = %cont 44 for.body: ; preds = %entry, %cont 45 %i.04 = phi i32 [ 0, %entry ], [ %2, %cont ] 53 ; CHECK: br i1 false, label %trap, label %cont, !nosanitize !0 [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | uenumtst.c | 49 #define cont ((chArrayContext *)en->context) macro 53 if(cont->currUChar != NULL) { in chArrayClose() 54 free(cont->currUChar); in chArrayClose() 55 cont->currUChar = NULL; in chArrayClose() 63 return cont->maxIndex; in chArrayCount() 69 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext() 73 if(cont->currUChar == NULL) { in chArrayUNext() 74 cont->currUChar = (UChar *)malloc(1024*sizeof(UChar)); in chArrayUNext() 77 cont->currChar = (cont->array)[cont->currIndex]; in chArrayUNext() 78 *resultLength = (int32_t)strlen(cont->currChar); in chArrayUNext() [all …]
|
/external/rust/crates/serde_derive/src/ |
D | pretend.rs | 23 pub fn pretend_used(cont: &Container) -> TokenStream { in pretend_used() 24 let pretend_fields = pretend_fields_used(cont); in pretend_used() 25 let pretend_variants = pretend_variants_used(cont); in pretend_used() 51 fn pretend_fields_used(cont: &Container) -> TokenStream { in pretend_fields_used() 52 let type_ident = &cont.ident; in pretend_fields_used() 53 let (_, ty_generics, _) = cont.generics.split_for_impl(); in pretend_fields_used() 55 let patterns = match &cont.data { in pretend_fields_used() 95 fn pretend_variants_used(cont: &Container) -> TokenStream { in pretend_variants_used() 96 let variants = match &cont.data { in pretend_variants_used() 103 let type_ident = &cont.ident; in pretend_variants_used() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | win32-seh-catchpad.ll | 11 to label %invoke.cont unwind label %catch.dispatch 22 br label %__try.cont 24 __try.cont: ; preds = %__except, %invoke.cont 28 invoke.cont: ; preds = %entry 29 br label %__try.cont 75 to label %__try.cont unwind label %catch.dispatch 82 catchret from %0 to label %__try.cont 84 __try.cont: ; preds = %entry, %__except.ret 86 to label %__try.cont.9 unwind label %catch.dispatch.5 88 catch.dispatch.5: ; preds = %__try.cont [all …]
|
D | funclet-layout.ll | 28 catchret from %cp to label %try.cont 30 try.cont: 39 ; The entry funclet contains %entry and %try.cont 41 ; CHECK: # %try.cont 70 catchret from %1 to label %try.cont 72 try.cont: ; preds = %catch.3 73 catchret from %0 to label %try.cont.5 75 try.cont.5: ; preds = %try.cont 84 ; The parent function contains %entry and %try.cont.5 87 ; CHECK: # %try.cont.5 [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | win32-seh-catchpad.ll | 11 to label %invoke.cont unwind label %catch.dispatch 22 br label %__try.cont 24 __try.cont: ; preds = %__except, %invoke.cont 28 invoke.cont: ; preds = %entry 29 br label %__try.cont 75 to label %__try.cont unwind label %catch.dispatch 82 catchret from %0 to label %__try.cont 84 __try.cont: ; preds = %entry, %__except.ret 86 to label %__try.cont.9 unwind label %catch.dispatch.5 88 catch.dispatch.5: ; preds = %__try.cont [all …]
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/ |
D | Await.kt | 136 ): T = suspendCancellableCoroutine { cont -> in awaitOne() method 137 injectCoroutineContext(cont.context).subscribe(object : Subscriber<T> { in awaitOne() 144 cont.invokeOnCancellation { sub.cancel() } in awaitOne() 154 cont.resume(t) in awaitOne() 160 if (cont.isActive) in awaitOne() 161 … cont.resumeWithException(IllegalArgumentException("More than one onNext value for $mode")) in awaitOne() 173 if (cont.isActive) cont.resume(value as T) in awaitOne() 178 cont.resume(default as T) in awaitOne() 180 cont.isActive -> { in awaitOne() 181 … cont.resumeWithException(NoSuchElementException("No value received via onNext for $mode")) in awaitOne() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ContinuationSerializationTest.kt | 53 private suspend fun serialize() = suspendCoroutine<Unit> { cont -> in <lambda>() method 55 kryo.writeClassAndObject(it, cont) in <lambda>() 59 private suspend fun serializeCancellable() = suspendCancellableCoroutine<Unit> { cont -> in <lambda>() method 61 kryo.writeClassAndObject(it, cont) in <lambda>() 65 private suspend fun serializeUnsafe() = suspendCoroutineUninterceptedOrReturn<Unit> { cont -> in <lambda>() method 67 kryo.writeClassAndObject(it, cont) in <lambda>() 79 val cont = deserialise() in <lambda>() constant 80 patcher(cont) in <lambda>() 82 cont.resume(Unit) in <lambda>()
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/ |
D | pr45835.ll | 18 br i1 icmp ne (i8 0, i8 0), label %cont, label %while.end 20 cont: 28 %a.mux.lcssa4 = phi i8* [ %a.mux, %cont ], [ %a.mux, %cont ] 29 ; ALWAYS: [ %scevgep, %cont ], [ %scevgep, %cont ] 30 ; NEVER: [ %a.mux, %cont ], [ %a.mux, %cont ] 32 ; CHEAP: [ %[[VAL:.*]], %cont ], [ %[[VAL]], %cont ]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/ |
D | AbstractChannel.kt | 170 …ivate suspend fun sendSuspend(element: E): Unit = suspendCancellableCoroutineReusable sc@ { cont -> in <lambda>() method 174 SendElement(element, cont) else in <lambda>() 175 SendElementWithUndeliveredHandler(element, cont, onUndeliveredElement) in <lambda>() 179 cont.removeOnCancellation(send) in <lambda>() 183 cont.helpCloseAndResumeWithSendException(element, enqueueResult) in <lambda>() 195 cont.resume(Unit) in <lambda>() 200 cont.helpCloseAndResumeWithSendException(element, offerResult) in <lambda>() 570 …end fun <R> receiveSuspend(receiveMode: Int): R = suspendCancellableCoroutineReusable sc@ { cont -> in receiveSuspend() method 572 ReceiveElement(cont as CancellableContinuation<Any?>, receiveMode) else in receiveSuspend() 573 …ReceiveElementWithUndeliveredHandler(cont as CancellableContinuation<Any?>, receiveMode, onUndeliv… in receiveSuspend() [all …]
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | ir_test.go | 141 cont := NewContext() 142 defer cont.Dispose() 144 int_pointer := PointerType(cont.Int32Type(), 0) 149 if int_inner[0] != cont.Int32Type() { 153 st_pointer := cont.StructType([]Type{cont.Int32Type(), cont.Int8Type()}, false) 158 if st_inner[0] != cont.Int32Type() { 161 if st_inner[1] != cont.Int8Type() {
|