| /external/clang/test/OpenMP/ |
| D | cancel_if_messages.cpp | 16 #pragma omp cancel parallel if // expected-error {{expected '(' after 'if'}} in tmain() 17 …#pragma omp cancel parallel if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 18 #pragma omp cancel parallel if () // expected-error {{expected expression}} in tmain() 19 …#pragma omp cancel parallel if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 20 …#pragma omp cancel parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 21 #pragma omp cancel parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 22 …#pragma omp cancel parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 23 #pragma omp cancel parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 24 …#pragma omp cancel parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() 25 …#pragma omp cancel parallel if (argc argc) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
| D | cancel_messages.cpp | 5 #pragma omp cancel // expected-error {{one of 'for', 'parallel', 'sections' or 'taskgroup' is expec… in main() 7 #pragma omp cancel parallel untied // expected-error {{unexpected OpenMP clause 'untied' in directi… in main() 8 #pragma omp cancel unknown // expected-error {{one of 'for', 'parallel', 'sections' or 'tas… in main() 9 #pragma omp cancel sections( // expected-warning {{extra tokens at the end of '#pragma omp ca… in main() 10 #pragma omp cancel for, ) // expected-warning {{extra tokens at the end of '#pragma omp ca… in main() 11 #pragma omp cancel taskgroup() // expected-warning {{extra tokens at the end of '#pragma omp ca… in main() 12 #pragma omp cancel parallel, if // expected-warning {{extra tokens at the end of '#pragma omp ca… in main() 14 #pragma omp cancel for // expected-error {{'#pragma omp cancel' cannot be an immediate substatement… in main() 20 #pragma omp cancel taskgroup // expected-error {{region cannot be closely nested inside 'parallel' … in main() 26 #pragma omp cancel taskgroup // expected-error {{region cannot be closely nested inside 'taskgroup'… in main() [all …]
|
| D | cancel_ast_print.cpp | 13 #pragma omp cancel parallel if(argc) in main() 17 // CHECK-NEXT: #pragma omp cancel parallel if(argc) in main() 21 #pragma omp cancel sections in main() 25 // CHECK: #pragma omp cancel sections in main() 29 #pragma omp cancel for if(cancel:argc) in main() 33 // CHECK-NEXT: #pragma omp cancel for if(cancel: argc) in main() 37 #pragma omp cancel taskgroup in main() 41 // CHECK: #pragma omp cancel taskgroup in main()
|
| /external/libcups/man/ |
| D | cancel.1 | 2 .\" cancel man page for CUPS. 10 .TH cancel 1 "CUPS" "26 April 2019" "Apple Inc." 12 cancel \- cancel jobs 14 .B cancel 38 The \fBcancel\fR command cancels print jobs. 41 The following options are recognized by \fBcancel\fR: 44 Cancel all jobs on the named destination, or all jobs on all 64 Cancel the current print job: 67 cancel 70 Cancel job "myprinter-42": [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
| D | JobTest.kt | 14 job.cancel() in <lambda>() 25 // cancel once in <lambda>() 26 job.cancel() in <lambda>() 29 // cancel again in <lambda>() 30 job.cancel() in <lambda>() 43 // cancel once in <lambda>() 44 job.cancel() in <lambda>() 47 // cancel again in <lambda>() 48 job.cancel() in <lambda>() 67 // cancel once in <lambda>() [all …]
|
| D | AtomicCancellationCommonTest.kt | 16 job.cancel() in <lambda>() 27 job.cancel() in <lambda>() 36 cancel() in <lambda>() 52 cancel() in <lambda>() 72 launch { // will cancel job as soon as deferred completes in <lambda>() 75 job!!.cancel() in <lambda>() 99 launch { // will cancel job as soon as jobToJoin completes in testJobJoinCancellable() 102 job!!.cancel() in testJobJoinCancellable() 129 job.cancel() // cancel the job next in <lambda>() 150 job.cancel() // cancel the job next in <lambda>()
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcancelstate/ |
| D | 2-1.c | 14 * 3. Send out a thread cancel request to the new thread 15 * 4. If the cancel request was honored, the cancel_flag will remain 1. 35 /* Set default cancel state should be ENABLE, meaning it should honor all in a_thread_func() 36 * cancel requests. */ in a_thread_func() 37 /* Set cancel type to ASYNCHRONOUS so that it honors cancel requests immediately. */ in a_thread_func() 45 /* Wait until main() has sent out a cancel request, meaning until it in a_thread_func() 50 /* If the thread correctly honors the cancel request, then the cancel_flag will in a_thread_func() 55 /* Should not reach here if the thread correctly honors the cancel request. */ in a_thread_func() 75 /* Make sure thread is created before we cancel it. (wait for in main() 81 perror("Error sending cancel request\n"); in main() [all …]
|
| D | 1-1.c | 19 * 3. Send out a thread cancel request to the new thread 20 * 4. If the cancel request was honored, the cancel_flag will remain 1. 40 /* Set cancel state to ENABLE, meaning it should honor all cancel requests. */ in a_thread_func() 41 /* Set cancel type to ASYNCHRONOUS so that it honors cancel requests immediately. */ in a_thread_func() 50 /* Wait until main() has sent out a cancel request, meaning until it in a_thread_func() 55 /* If the thread correctly honors the cancel request, then the cancel_flag will in a_thread_func() 60 /* Should not reach here if the thread correctly honors the cancel request. */ in a_thread_func() 80 /* Make sure thread is created before we cancel it. (wait for in main() 86 perror("Error sending cancel request\n"); in main() 90 /* Indicate to the thread function that the thread cancel request in main() [all …]
|
| D | 1-2.c | 19 * 3. Send out a thread cancel request to the new thread 20 * 4. If the cancel request was honored, the cancel_flag will remain -1. 40 /* Set cancel state to DISABLE, meaning it shouldn't honor any cancel requests. */ in a_thread_func() 48 /* Wait until main() has sent out a cancel request, meaning until it in a_thread_func() 53 /* If the thread incorrectly honors the cancel request, then the cancel_flag will in a_thread_func() 58 /* Should reach here if the thread correctly ignores the cancel in a_thread_func() 79 /* Make sure thread is created before we cancel it. (wait for in main() 85 perror("Error sending cancel request\n"); in main() 89 /* Indicate to the thread function that the thread cancel request in main() 99 /* This means that the cancel request was honored rather than ignored, and in main()
|
| /external/cronet/stable/base/ |
| D | cancelable_callback_unittest.cc | 36 // Cancel(). 38 // - After Cancel(), Run() completes but has no effect. 39 TEST(CancelableCallbackTest, Cancel) { in TEST() argument 51 cancelable.Cancel(); in TEST() 56 // Cancel() called multiple times. 57 // - Cancel() cancels all copies of the wrapped callback. 58 // - Calling Cancel() more than once has no effect. 59 // - After Cancel(), callback() returns a null callback. 67 cancelable.Cancel(); in TEST() 75 // Calling Cancel() again has no effect. in TEST() [all …]
|
| /external/cronet/tot/base/ |
| D | cancelable_callback_unittest.cc | 36 // Cancel(). 38 // - After Cancel(), Run() completes but has no effect. 39 TEST(CancelableCallbackTest, Cancel) { in TEST() argument 51 cancelable.Cancel(); in TEST() 56 // Cancel() called multiple times. 57 // - Cancel() cancels all copies of the wrapped callback. 58 // - Calling Cancel() more than once has no effect. 59 // - After Cancel(), callback() returns a null callback. 67 cancelable.Cancel(); in TEST() 75 // Calling Cancel() again has no effect. in TEST() [all …]
|
| /external/libchrome/base/ |
| D | cancelable_callback_unittest.cc | 38 // Cancel(). 40 // - After Cancel(), Run() completes but has no effect. 41 TEST(CancelableCallbackTest, Cancel) { in TEST() argument 53 cancelable.Cancel(); in TEST() 58 // Cancel() called multiple times. 59 // - Cancel() cancels all copies of the wrapped callback. 60 // - Calling Cancel() more than once has no effect. 61 // - After Cancel(), callback() returns a null callback. 69 cancelable.Cancel(); in TEST() 77 // Calling Cancel() again has no effect. in TEST() [all …]
|
| /external/libcups/doc/help/ |
| D | man-cancel.html | 6 <title>cancel(1)</title> 9 <h1 class="title">cancel(1)</h1> 11 cancel - cancel jobs 13 <b>cancel</b> 37 The <b>cancel</b> command cancels print jobs. 40 The following options are recognized by <b>cancel</b>: 43 <dd style="margin-left: 5.0em">Cancel all jobs on the named destination, or all jobs on all 59 Cancel the current print job: 62 cancel 65 Cancel job "myprinter-42": [all …]
|
| /external/libcups/conf/ |
| D | cupsd.conf.in | 62 …on Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspe… 75 …-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-J… 81 # Only the owner or an administrator can cancel or authenticate a job... 82 <Limit Cancel-Job CUPS-Authenticate-Job> 106 …on Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspe… 120 …-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-J… 126 # Only the owner or an administrator can cancel or authenticate a job... 127 <Limit Cancel-Job CUPS-Authenticate-Job> 152 …on Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspe… 166 …-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-J… [all …]
|
| /external/libcups/test/ |
| D | 5.8-cancel.sh | 3 # Test the cancel command. 12 echo "Cancel Destination Test" 16 echo " cancel Test1" 17 $runcups $VALGRIND ../systemv/cancel Test1 2>&1 26 echo "Cancel All Test" 28 echo " cancel -a" 29 $runcups $VALGRIND ../systemv/cancel -a 2>&1 40 echo " cancel -a -x" 41 $runcups $VALGRIND ../systemv/cancel -a -x 2>&1
|
| /external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/ |
| D | ListenableFuture.kt | 68 * When `this` `ListenableFuture` is [successfully cancelled][java.util.concurrent.Future.cancel], 69 * it will cancel the returned `Deferred`. 71 * When the returned `Deferred` is [cancelled][Deferred.cancel], it will try to propagate the 83 * `ListenableFuture.cancel()` returned `true` - it will synchronously cancel the returned in asDeferred() 89 * When the returned `Deferred` is cancelled, `ListenableFuture.cancel()` will be synchronously in asDeferred() 90 * called on `this` `ListenableFuture`. This will attempt to cancel the `Future`, though in asDeferred() 95 * `ListenableFuture.cancel()` when the task is cancelled via the `Deferred` reference to it. in asDeferred() 100 * This is inherently a race. See `Future.cancel()` for a description of `Future` cancellation in asDeferred() 122 CompletableDeferred<T>().also { it.cancel(e) } in asDeferred() 145 // ... And cancel the Future when the deferred completes. Since the return type of this method in asDeferred() [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
| D | JobBasicCancellationTest.kt | 15 @Suppress("DEPRECATION") // cancel(cause) 28 child.cancel() in <lambda>() 46 child.cancel() in <lambda>() 68 child.cancel() in <lambda>() 86 child.cancel() in <lambda>() 123 child.cancel() // cancel without cause -- should not cancel us (parent) in <lambda>() 137 child.cancel() // cancel without cause -- should not cancel us (parent) in <lambda>()
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/ |
| D | AtomicCancellationTest.kt | 20 job.cancel() // cancel the job next in <lambda>() 42 job.cancel() // cancel the job next in <lambda>() 58 job.cancel() // cancel the job next in <lambda>() 80 job.cancel() // cancel the job next in <lambda>() 94 launch { // will cancel job as soon as deferred completes in <lambda>() 97 job!!.cancel() in <lambda>() 123 launch { // will cancel job as soon as jobToJoin completes in <lambda>() 126 job!!.cancel() in <lambda>()
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_testcancel/ |
| D | 2-1.c | 15 * 3. Send out a thread cancel request to the new thread 16 * 4. If the cancel request was honored, the cancel_flag will remain -1. 36 /* Set cancel state to DISABLE, meaning it shouldn't honor any cancel requests. */ in a_thread_func() 44 /* Wait until main() has sent out a cancel request, meaning until it in a_thread_func() 49 /* If the thread incorrectly honors the cancel request, then the cancel_flag will in a_thread_func() 54 /* Should reach here if the thread correctly ignores the cancel in a_thread_func() 75 /* Make sure thread is created before we cancel it. (wait for in main() 81 perror("Error sending cancel request\n"); in main() 85 /* Indicate to the thread function that the thread cancel request in main() 95 /* This means that the cancel request was honored rather than ignored, and in main()
|
| D | 1-1.c | 21 * 6. Send out a thread cancel request to the new thread, and unlock the mutex allowing the 23 * 7. If the cancel request was honored immediately, the 28 * 9. If the thread did not cancel at the cancelation point like it was supposed to, the thread 72 /* Should get here if the cancel request was deffered. */ in a_thread_func() 76 /* Cancelation point. Cancel request should not be honored here. */ in a_thread_func() 79 /* Should not get here if the cancel request was honored at the cancelation point in a_thread_func() 106 /* Make sure thread is created before we cancel it. (wait for in main() 111 /* Send cancel request to the thread. */ in main() 113 printf("Test FAILED: Couldn't cancel thread\n"); in main() 117 /* Cancel request has been sent, unlock the mutex */ in main() [all …]
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcanceltype/ |
| D | 1-2.c | 21 * 6. Send out a thread cancel request to the new thread, and unlock the mutex allowing the 23 * 7. If the cancel request was honored immediately, the 28 * 9. If the thread did not cancel at the cancelation point like it was supposed to, the thread 72 /* Should get here if the cancel request was deffered. */ in a_thread_func() 76 /* Cancelation point. Cancel request should not be honored here. */ in a_thread_func() 79 /* Should not get here if the cancel request was honored at the cancelation point in a_thread_func() 106 /* Make sure thread is created before we cancel it. (wait for in main() 111 /* Send cancel request to the thread. */ in main() 113 printf("Test FAILED: Couldn't cancel thread\n"); in main() 117 /* Cancel request has been sent, unlock the mutex */ in main() [all …]
|
| D | 2-1.c | 13 * 2. Create a thread. Without setting the cancel type, the default should be 17 * 5. Send out a thread cancel request to the new thread, and unlock the mutex allowing the 19 * 6. If the cancel request was honored immediately, the 24 * 8. If the thread did not cancel at the cancelation point like it was supposed to, the thread 67 /* Should get here if the cancel request was deffered. */ in a_thread_func() 71 /* Cancelation point. Cancel request should not be honored here. */ in a_thread_func() 74 /* Should not get here if the cancel request was honored at the cancelation point in a_thread_func() 101 /* Make sure thread is created before we cancel it. (wait for in main() 106 /* Send cancel request to the thread. */ in main() 112 /* Cancel request has been sent, unlock the mutex */ in main() [all …]
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
| D | 1-3.c | 22 * 6. Send out a thread cancel request to the new thread, and unlock the mutex allowing the 24 * 7. If the cancel request was honored immediately, the 29 * 9. If the thread did not cancel at the cancelation point like it was supposed to, the thread 73 /* Should get here if the cancel request was deffered. */ in a_thread_func() 77 /* Cancelation point. Cancel request should not be honored here. */ in a_thread_func() 80 /* Should not get here if the cancel request was honored at the cancelation point in a_thread_func() 107 /* Make sure thread is created before we cancel it. (wait for in main() 112 /* Send cancel request to the thread. */ in main() 114 printf("Test FAILED: Couldn't cancel thread\n"); in main() 118 /* Cancel request has been sent, unlock the mutex */ in main() [all …]
|
| /external/rust/android-crates-io/crates/tower/src/ready_cache/ |
| D | cache.rs | 80 struct Cancel { struct 86 struct CancelRx(Arc<Cancel>); argument 89 struct CancelTx(Arc<Cancel>); 105 cancel: Option<CancelRx>, 209 c.cancel(); in evict() 240 let cancel = cancelable(); in push() localVariable 241 self.push_pending(key, svc, cancel); in push() 246 // If there is already a service for this key, cancel it. in push_pending() 247 c.cancel(); in push_pending() 251 cancel: Some(cancel_rx), in push_pending() [all …]
|
| /external/googleapis/google/cloud/aiplatform/v1/schema/ |
| D | aiplatform_v1.yaml | 98 post: '/ui/{name=projects/*/locations/*/operations/*}:cancel' 100 - post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel' 101 - post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel' 102 - post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel' 103 - post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel' 104 … post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel' 105 - post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel' 106 - post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel' 107 - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel' 108 …t: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel' [all …]
|