Home
last modified time | relevance | path

Searched refs:cancel (Results 1 – 25 of 603) sorted by relevance

12345678910>>...25

/external/clang/test/OpenMP/
Dcancel_if_messages.cpp16 #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 …]
Dcancel_messages.cpp5 #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 …]
Dcancel_codegen.cpp14 #pragma omp cancel parallel if(flag) in main()
20 #pragma omp cancel sections in main()
29 #pragma omp cancel sections in main()
32 #pragma omp cancel sections in main()
55 #pragma omp cancel for if(cancel: flag) in main()
76 #pragma omp cancel taskgroup in main()
82 #pragma omp cancel sections in main()
87 #pragma omp cancel sections in main()
90 #pragma omp cancel sections in main()
96 #pragma omp cancel for in main()
Dcancellation_point_codegen.cpp14 #pragma omp cancel parallel in main()
22 #pragma omp cancel sections in main()
42 #pragma omp cancel sections in main()
66 #pragma omp cancel for in main()
82 #pragma omp cancel taskgroup in main()
90 #pragma omp cancel sections in main()
98 #pragma omp cancel sections in main()
109 #pragma omp cancel for in main()
Dcancel_ast_print.cpp13 #pragma omp cancel parallel if(argc) in main()
21 #pragma omp cancel sections in main()
29 #pragma omp cancel for if(cancel:argc) in main()
37 #pragma omp cancel taskgroup in main()
/external/syzkaller/vendor/golang.org/x/net/context/
Dpre_go17.go64 func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
67 return c, func() { c.cancel(true, Canceled) }
87 child.cancel(false, p.err)
99 child.cancel(false, parent.Err())
140 cancel(removeFromParent bool, err error) methodSpec
172 func (c *cancelCtx) cancel(removeFromParent bool, err error) { func
185 child.cancel(false, err)
216 c.cancel(true, DeadlineExceeded) // deadline has already passed
217 return c, func() { c.cancel(true, Canceled) }
223 c.cancel(true, DeadlineExceeded)
[all …]
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_server_rpc.py26 def cancel(self): member in UnaryUnaryServerRpc
27 self._handler.cancel()
44 def cancel(self): member in UnaryStreamServerRpc
45 self._handler.cancel()
65 def cancel(self): member in StreamUnaryServerRpc
66 self._handler.cancel()
89 def cancel(self): member in StreamStreamServerRpc
90 self._handler.cancel()
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dnullptr_t_assign_reentrant.pass.cpp24 static bool cancel; member
27 DoNotOptimize(cancel); in ~A()
28 if (cancel) in ~A()
35 bool A::cancel = false; member in A
43 A::cancel = true; in main()
Dmove_reentrant.pass.cpp24 static bool cancel; member
27 DoNotOptimize(cancel); in ~A()
28 if (cancel) in ~A()
35 bool A::cancel = false; member in A
43 A::cancel = true; in main()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DInactivityTimer.java51 cancel(); in onActivity()
65 cancel(); in onPause()
74 private void cancel() { in cancel() method in InactivityTimer
77 future.cancel(true); in cancel()
83 cancel(); in shutdown()
103 InactivityTimer.this.cancel(); in onReceive()
/external/python/cpython3/Lib/tkinter/
Dsimpledialog.py34 text='', buttons=[], default=None, cancel=None, argument
48 self.cancel = cancel
104 if self.cancel is None:
107 self.done(self.cancel)
156 self.protocol("WM_DELETE_WINDOW", self.cancel)
198 w = Button(box, text="Cancel", width=10, command=self.cancel)
202 self.bind("<Escape>", self.cancel)
221 self.cancel()
223 def cancel(self, event=None): member in Dialog
410 cancel=2,
/external/guava/guava/src/com/google/common/util/concurrent/
DFutures.java116 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() method in Futures.ImmediateFuture
473 running.cancel(wasInterrupted()); in FallbackFuture()
485 cancel(false); in FallbackFuture()
499 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() method in Futures.FallbackFuture
500 if (super.cancel(mayInterruptIfRunning)) { in cancel()
501 running.cancel(mayInterruptIfRunning); in cancel()
796 public boolean cancel(boolean mayInterruptIfRunning) {
797 return input.cancel(mayInterruptIfRunning);
866 public boolean cancel(boolean mayInterruptIfRunning) {
871 if (super.cancel(mayInterruptIfRunning)) {
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAsyncSettableFutureTest.java127 inner.cancel(true); in testCancel_innerCancelsAsync()
139 async.cancel(true); in testCancel_resultCancelsInner_interrupted()
152 async.cancel(false); in testCancel_resultCancelsInner()
163 async.cancel(true); in testCancel_beforeSet()
169 async.cancel(false); in testCancel_multipleBeforeSetFuture_noInterruptFirst()
170 async.cancel(true); in testCancel_multipleBeforeSetFuture_noInterruptFirst()
179 async.cancel(true); in testCancel_multipleBeforeSetFuture_interruptFirst()
180 async.cancel(false); in testCancel_multipleBeforeSetFuture_interruptFirst()
DFuturesTransformAsyncFunctionTest.java80 inputFuture.cancel(true); // argument is ignored in testFutureGetThrowsCancellationIfInputCancelled()
91 outputFuture.cancel(true); // argument is ignored in testFutureGetThrowsCancellationIfOutputCancelled()
100 assertTrue(resultFuture.cancel(true)); in testFutureCancelBeforeInputCompletion()
113 assertTrue(resultFuture.cancel(true)); in testFutureCancellableBeforeOutputCompletion()
135 assertTrue(resultFuture.cancel(true)); in testFutureCancellableBeforeFunctionCompletion()
155 assertFalse(resultFuture.cancel(true)); in testFutureCancelAfterCompletion()
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_time_test.py90 cancelled = future.cancel()
113 if bool(random.randint(0, 1)) and test_future.cancel():
121 background_noise_future.cancel()
132 first_future_at_one_cancelled = first_future_at_one.cancel()
133 second_future_at_one_cancelled = second_future_at_one.cancel()
134 first_future_at_three_cancelled = first_future_at_three.cancel()
136 second_future_at_three_cancelled = second_future_at_three.cancel()
137 first_future_at_three_cancelled_again = first_future_at_three.cancel()
/external/python/cpython3/Lib/asyncio/
Dtasks.py173 def cancel(self): member in Task
197 if self._fut_waiter.cancel():
234 super().cancel() # I.e., Future.cancel(self).
262 if self._fut_waiter.cancel():
396 fut.cancel()
412 fut.cancel()
425 timeout_handle.cancel()
448 timeout_handle.cancel()
459 timeout_handle.cancel()
479 fut.cancel()
[all …]
/external/python/cpython2/Lib/lib-tk/
DSimpleDialog.py10 text='', buttons=[], default=None, cancel=None, argument
24 self.cancel = cancel
80 if self.cancel is None:
83 self.done(self.cancel)
103 cancel=2,
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDelayedStreamTest.java204 stream.cancel(Status.CANCELLED); in startThenCancelled()
212 stream.cancel(Status.CANCELLED); in startThenSetStreamThenCancelled()
214 verify(realStream).cancel(same(Status.CANCELLED)); in startThenSetStreamThenCancelled()
221 stream.cancel(Status.CANCELLED); in setStreamThenStartThenCancelled()
223 verify(realStream).cancel(same(Status.CANCELLED)); in setStreamThenStartThenCancelled()
229 stream.cancel(Status.CANCELLED); in setStreamThenCancelled()
230 verify(realStream).cancel(same(Status.CANCELLED)); in setStreamThenCancelled()
245 stream.cancel(Status.CANCELLED); in cancelThenSetStream()
255 stream.cancel(status); in cancel_beforeStart()
262 stream.cancel(Status.CANCELLED); in cancelledThenStart()
/external/python/cpython2/Lib/distutils/command/
Dbdist_msi.py54 def cancel(self, title, next, name = "Cancel", active = 1): member in PyDialog
469 fatal.cancel("Cancel", "Back", active = 0)
481 user_exit.cancel("Cancel", "Back", active = 0)
494 exit_dialog.cancel("Cancel", "Back", active = 0)
519 c=inuse.cancel("Retry", "Exit", name="Retry")
540 cancel = Dialog(db, "CancelDlg", 50, 10, 260, 85, 3, title,
542 cancel.text("Text", 48, 15, 194, 30, 3,
546 c=cancel.pushbutton("Yes", 72, 57, 56, 17, 3, "Yes", "No")
549 c=cancel.pushbutton("No", 132, 57, 56, 17, 3, "No", "Yes")
574 c=prep.cancel("Cancel", None)
[all …]
/external/python/cpython3/Lib/distutils/command/
Dbdist_msi.py53 def cancel(self, title, next, name = "Cancel", active = 1): member in PyDialog
468 fatal.cancel("Cancel", "Back", active = 0)
480 user_exit.cancel("Cancel", "Back", active = 0)
493 exit_dialog.cancel("Cancel", "Back", active = 0)
518 c=inuse.cancel("Retry", "Exit", name="Retry")
539 cancel = Dialog(db, "CancelDlg", 50, 10, 260, 85, 3, title,
541 cancel.text("Text", 48, 15, 194, 30, 3,
545 c=cancel.pushbutton("Yes", 72, 57, 56, 17, 3, "Yes", "No")
548 c=cancel.pushbutton("No", 132, 57, 56, 17, 3, "No", "Yes")
573 c=prep.cancel("Cancel", None)
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py38 def cancel(self): member in DuckFuture
129 f.cancel()
135 f.cancel()
168 fut.cancel()
202 self.assertTrue(f.cancel())
209 self.assertFalse(f.cancel())
222 self.assertFalse(f.cancel())
240 self.assertFalse(f.cancel())
272 f_pending_debug.cancel()
277 f_pending.cancel()
[all …]
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_invocation.py26 return handler.cancel(grpc.StatusCode.CANCELLED, 'Locally cancelled!')
65 def cancel(self): member in _Call
95 def cancel(self): member in _RpcErrorCall
140 if handler.cancel(grpc.StatusCode.CANCELLED, 'Locally cancelled!'):
193 def cancel(self): member in _FutureCall
254 handler.cancel(grpc.StatusCode.UNKNOWN, details)
302 def cancel(self): member in ResponseIteratorCall
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRenderNodeAnimatorTest.java51 animator.cancel(); in canceled()
75 animator.cancel(); in neverStartedCanceled()
114 animator.cancel(); in doubleCanceled()
115 animator.cancel(); in doubleCanceled()
144 animator.cancel(); in delayedAndCanceled()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java774 SIPRequest cancel = new SIPRequest(); in createCancelRequest() local
775 cancel.setRequestLine((RequestLine) this.requestLine.clone()); in createCancelRequest()
776 cancel.setMethod(Request.CANCEL); in createCancelRequest()
777 cancel.setHeader((Header) this.callIdHeader.clone()); in createCancelRequest()
778 cancel.setHeader((Header) this.toHeader.clone()); in createCancelRequest()
779 cancel.setHeader((Header) cSeqHeader.clone()); in createCancelRequest()
781 cancel.getCSeq().setMethod(Request.CANCEL); in createCancelRequest()
785 cancel.setHeader((Header) this.fromHeader.clone()); in createCancelRequest()
787 cancel.addFirst((Header) this.getTopmostVia().clone()); in createCancelRequest()
788 cancel.setHeader((Header) this.maxForwardsHeader.clone()); in createCancelRequest()
[all …]
/external/syzkaller/vendor/golang.org/x/net/context/ctxhttp/
Dctxhttp_pre17.go35 cancel := make(chan struct{})
36 req.Cancel = cancel
60 close(cancel)
81 close(cancel)

12345678910>>...25