Home
last modified time | relevance | path

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

12345678910>>...17

/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/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/python/cpython3/Lib/asyncio/
Dtasks.py131 def cancel(self): member in Task
154 if self._fut_waiter.cancel():
185 super().cancel() # I.e., Future.cancel(self).
213 if self._fut_waiter.cancel():
348 fut.cancel()
355 fut.cancel()
358 timeout_handle.cancel()
382 timeout_handle.cancel()
393 timeout_handle.cancel()
444 timeout_handle.cancel()
[all …]
/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/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,
DtkSimpleDialog.py73 self.protocol("WM_DELETE_WINDOW", self.cancel)
115 w = Button(box, text="Cancel", width=10, command=self.cancel)
119 self.bind("<Escape>", self.cancel)
138 self.cancel()
140 def cancel(self, event=None): member in Dialog
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py38 def cancel(self): member in DuckFuture
129 f.cancel()
135 f.cancel()
149 self.assertTrue(f.cancel())
156 self.assertFalse(f.cancel())
169 self.assertFalse(f.cancel())
187 self.assertFalse(f.cancel())
219 f_pending_debug.cancel()
224 f_pending.cancel()
227 f_cancelled.cancel()
[all …]
Dtest_windows_events.py104 task.cancel()
138 fut.cancel()
147 fut.cancel()
157 fut.cancel()
158 fut.cancel()
/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/volley/src/test/java/com/android/volley/
DRequestQueueTest.java67 verify(req1).cancel(); // A cancelled in cancelAll_onlyCorrectTag()
68 verify(req3).cancel(); // A cancelled in cancelAll_onlyCorrectTag()
69 verify(req2, never()).cancel(); // B not cancelled in cancelAll_onlyCorrectTag()
70 verify(req4, never()).cancel(); // A added after cancel not cancelled in cancelAll_onlyCorrectTag()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFingerprintManager.java72 CancellationSignal cancel, in authenticate() argument
80 if (cancel != null) { in authenticate()
81 if (cancel.isCanceled()) { in authenticate()
85 cancel.setOnCancelListener(() -> { in authenticate()
/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DDispatcher.java117 public synchronized void cancel(Object tag) { in cancel() method in Dispatcher
120 call.cancel(); in cancel()
128 if (engine != null) engine.cancel(); in cancel()
134 call.cancel(); in cancel()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothSocketConnFacade.java194 mConnectThread.cancel(); in bluetoothSocketConnKillConnThread()
208 mConnectThread.cancel(); in bluetoothSocketConnEndConnectThread()
218 mAcceptThread.cancel(); in bluetoothSocketConnEndAcceptThread()
642 mAcceptThread.cancel(); in bluetoothSocketConnStop()
645 mConnectThread.cancel(); in bluetoothSocketConnStop()
656 mAcceptThread.cancel(); in shutdown()
659 mConnectThread.cancel(); in shutdown()
723 cancel(); in run()
728 public void cancel() { in cancel() method in BluetoothSocketConnFacade.ConnectThread
806 cancel(); in run()
[all …]
/external/autotest/frontend/client/src/autotest/afe/
DAbortSynchronousDialog.java29 private Button abortAll, abortAsynchronous, cancel; field in AbortSynchronousDialog
52 cancel = new Button("Cancel"); in AbortSynchronousDialog()
53 cancel.addClickHandler(this); in AbortSynchronousDialog()
60 buttons.add(cancel); in AbortSynchronousDialog()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNotificationManager.java35 public void cancel(int id) in cancel() method in ShadowNotificationManager
37 cancel(null, id); in cancel()
41 public void cancel(String tag, int id) { in cancel() method in ShadowNotificationManager

12345678910>>...17