Home
last modified time | relevance | path

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

12345678910>>...14

/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/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()
DAbstractFutureTest.java69 assertTrue(future.cancel(false)); in testCancel_notDoneNoInterrupt()
84 assertTrue(future.cancel(true)); in testCancel_notDoneInterrupt()
103 assertFalse(future.cancel(true)); in testCancel_done()
134 future.cancel(true); in testCompletionFinishesWithDone()
DFuturesTest.java238 assertTrue(Futures.transform(input, function).cancel(false)); in testTransform_cancelPropagatesToInput()
250 assertTrue(Futures.transform(input, function).cancel(true)); in testTransform_interruptPropagatesToInput()
263 assertTrue(Futures.transform(immediate, function).cancel(false)); in testTransform_cancelPropagatesToAsyncOutput()
277 assertTrue(Futures.transform(immediate, function).cancel(true)); in testTransform_interruptPropagatesToAsyncOutput()
615 derived.cancel(true);
628 derived.cancel(false);
644 derived.cancel(false);
728 future.cancel(false);
759 dereferenced.cancel(true);
767 dereferenced.cancel(true);
[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/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/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java152 mConnectThread.cancel(); in bluetoothRfcommKillConnThread()
165 mConnectThread.cancel(); in bluetoothRfcommEndConnectThread()
174 mAcceptThread.cancel(); in bluetoothRfcommEndAcceptThread()
323 mAcceptThread.cancel(); in bluetoothRfcommStop()
326 mConnectThread.cancel(); in bluetoothRfcommStop()
337 mAcceptThread.cancel(); in shutdown()
340 mConnectThread.cancel(); in shutdown()
366 cancel(); in run()
371 public void cancel() { in cancel() method in BluetoothRfcommFacade.ConnectThread
412 cancel(); in run()
[all …]
/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/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
/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/jmdns/src/javax/jmdns/impl/tasks/state/
DCanceler.java64 public boolean cancel() { in cancel() method in Canceler
67 return super.cancel(); in cancel()
140 cancel(); in advanceTask()
DAnnouncer.java64 public boolean cancel() { in cancel() method in Announcer
67 return super.cancel(); in cancel()
140 this.cancel(); in advanceTask()
DRenewer.java65 public boolean cancel() { in cancel() method in Renewer
68 return super.cancel(); in cancel()
141 cancel(); in advanceTask()
/external/sonivox/jet_tools/JetCreator/
DJetCreatorhlp.dat6 cancel =
35 cancel =
50 cancel = Cancels any changes and exits the segment window.
75 cancel =
85 cancel =
97 cancel =
112 cancel =
115 cancel =
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineJob.java93 cancel(); in removeCallback()
115 void cancel() { in cancel() method in EngineJob
119 engineRunnable.cancel(); in cancel()
122 currentFuture.cancel(true); in cancel()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java78 public boolean cancel() { in cancel() method in Pipeline.MyTimer
79 boolean retval = super.cancel(); in cancel()
119 this.myTimerTask.cancel(); in stopTimer()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoModelLoader.java118 public void cancel() { in cancel() method in ImageVideoModelLoader.ImageVideoFetcher
120 streamFetcher.cancel(); in cancel()
123 fileDescriptorFetcher.cancel(); in cancel()
/external/jmdns/src/javax/jmdns/impl/
DDNSTaskStarter.java195 public synchronized void cancel() { in cancel() method in DNSTaskStarter.DNSTaskStarterImpl.StarterTimer
198 super.cancel(); in cancel()
294 _timer.cancel(); in cancelTimer()
303 _stateTimer.cancel(); in cancelStateTimer()

12345678910>>...14