Home
last modified time | relevance | path

Searched refs:interrupted (Results 1 – 25 of 106) sorted by relevance

12345

/external/guava/guava/src/com/google/common/util/concurrent/
DUninterruptibles.java51 boolean interrupted = false; in awaitUninterruptibly()
58 interrupted = true; in awaitUninterruptibly()
62 if (interrupted) { in awaitUninterruptibly()
75 boolean interrupted = false; in awaitUninterruptibly()
85 interrupted = true; in awaitUninterruptibly()
90 if (interrupted) { in awaitUninterruptibly()
100 boolean interrupted = false; in joinUninterruptibly()
107 interrupted = true; in joinUninterruptibly()
111 if (interrupted) { in joinUninterruptibly()
128 boolean interrupted = false; in getUninterruptibly()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DInterruptionUtil.java101 Thread.interrupted(); in repeatedlyInterruptTestThread()
119 boolean interrupted = false; in joinUninterruptibly()
130 interrupted = true; in joinUninterruptibly()
135 if (interrupted) { in joinUninterruptibly()
DJSR166TestCase.java342 if (Thread.interrupted()) in tearDown()
858 threadAssertFalse(Thread.interrupted()); in run()
888 threadAssertFalse(Thread.interrupted()); in call()
DAbstractServiceTest.java116 Thread.interrupted(); // clear interrupt for future tests in testNoOpServiceStartStopAndWaitUninterruptible()
DFuturesTest.java90 Thread.interrupted(); in tearDown()
1530 Thread.interrupted();
1610 Thread.interrupted();
1699 Thread.interrupted();
/external/guava/guava-tests/test/com/google/common/testing/
DGcFinalizationTest.java123 Thread.interrupted(); in testAwait_CountDownLatch_Interrupted()
139 Thread.interrupted(); in testAwaitDone_Future_Interrupted_Interrupted()
155 Thread.interrupted(); in testAwaitClear_Interrupted()
174 Thread.interrupted(); in testAwaitDone_FinalizationPredicate_Interrupted()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DThreadTest.java484 boolean interrupted = false; in test_interrupt()
493 interrupted = true; in test_interrupt()
495 assertTrue("Failed to Interrupt thread1", interrupted); in test_interrupt()
497 interrupted = false; in test_interrupt()
508 interrupted = true; in test_interrupt()
510 assertTrue("Failed to Interrupt thread2", interrupted); in test_interrupt()
519 .interrupted()); in test_interrupted()
521 assertTrue("Interrupted returned true for non-interrupted thread", Thread.interrupted()); in test_interrupted()
522 assertFalse("Failed to clear interrupted flag", Thread.interrupted()); in test_interrupted()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_runner2.py121 interrupted = False
134 return (keyboard_interrupted, interrupted, thread_timings,
186 interrupted = True
195 return (interrupted, keyboard_interrupted, thread_timings,
/external/guava/guava/src/com/google/common/collect/
DQueues.java247 boolean interrupted = false; in drainUninterruptibly()
260 interrupted = true; // note interruption and retry in drainUninterruptibly()
271 if (interrupted) { in drainUninterruptibly()
DComputingConcurrentHashMap.java323 boolean interrupted = false; in waitForValue()
330 interrupted = true; in waitForValue()
335 if (interrupted) { in waitForValue()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DServerSocketTest.java46 boolean interrupted; field in ServerSocketTest
189 interrupted = false; in test_accept()
197 interrupted = true; in test_accept()
217 if (interrupted) { in test_accept()
225 interrupted = false; in test_accept()
232 interrupted = true; in test_accept()
234 assertTrue("accept not interrupted", interrupted); in test_accept()
DDatagramSocketTest.java53 boolean interrupted; field in DatagramSocketTest
558 interrupted = false; in test_receiveLjava_net_DatagramPacket()
566 interrupted = true; in test_receiveLjava_net_DatagramPacket()
586 if (interrupted) { in test_receiveLjava_net_DatagramPacket()
594 interrupted = false; in test_receiveLjava_net_DatagramPacket()
605 interrupted = true; in test_receiveLjava_net_DatagramPacket()
625 if (interrupted) { in test_receiveLjava_net_DatagramPacket()
633 interrupted = false; in test_receiveLjava_net_DatagramPacket()
640 interrupted = true; in test_receiveLjava_net_DatagramPacket()
643 assertTrue("receive not interrupted", interrupted); in test_receiveLjava_net_DatagramPacket()
/external/strace/
Dstrace.c131 static volatile sig_atomic_t interrupted; variable
133 static volatile int interrupted; variable
454 if (interrupted) in startup_attach()
1817 interrupted = 1;
2120 if (interrupted) in trace()
2131 if (interrupted) in trace()
2137 if (interrupted) in trace()
2157 if (!interrupted) { in trace()
2179 if (interrupted) in trace()
2412 if (interrupted) in trace()
[all …]
/external/openssh/
Dsftp.c93 volatile sig_atomic_t interrupted = 0; variable
223 interrupted = 1; in cmd_interrupt()
550 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in process_get()
629 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in process_put()
739 for (n = 0; d[n] != NULL && !interrupted; n++) { in do_ls_dir()
804 if (interrupted) in do_globbed_ls()
831 for (i = 0; g.gl_pathv[i] && !interrupted; i++, a = NULL) { in do_globbed_ls()
1337 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in parse_dispatch_command()
1433 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in parse_dispatch_command()
1444 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in parse_dispatch_command()
[all …]
Dsftp-client.c59 extern volatile sig_atomic_t interrupted;
478 for (; !interrupted;) { in do_lsreaddir()
564 if (interrupted && dir != NULL && *dir != NULL) { in do_lsreaddir()
1077 if (interrupted) { in do_download()
1268 for (i = 0; dir_entries[i] != NULL && !interrupted; i++) { in download_dir_internal()
1421 if (interrupted || status != SSH2_FX_OK) in do_upload()
1570 while (((dp = readdir(dirp)) != NULL) && !interrupted) { in upload_dir_internal()
/external/guava/guava-tests/test/com/google/common/collect/
DQueuesTest.java206 assertTrue(Thread.interrupted()); in testDrainUninterruptibly_doesNotThrow()
263 while (!Thread.interrupted()) { Thread.yield(); } in assertUninterruptibleDrained()
/external/smack/asmack-master/patch/
D33-jbosh-android.patch183 + * @throws InterruptedException if interrupted while awaiting the response
205 + * @throws InterruptedException if interrupted while awaiting the response
230 + * @throws InterruptedException if interrupted while awaiting the response
/external/llvm/test/CodeGen/ARM/
Dldrd.ll10 ; register when interrupted or faulted.
/external/llvm/lib/Support/Windows/
Dsystem_error.inc122 MAP_ERR_TO_COND(WSAEINTR, interrupted);
/external/dropbear/libtomcrypt/notes/
Dtech0001.txt58 interrupted themselves then you could have trouble. One simple way is to detect when an interrupt …
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DDefaultRequestDirector.java370 } catch(InterruptedException interrupted) { in execute()
372 iox.initCause(interrupted); in execute()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
DWebErrorsMac.mm48 …escriptionFrameLoadInterruptedByPolicyChange WEB_UI_STRING("Frame load interrupted", "WebKitErrorF…
/external/webkit/Source/WebKit/mac/Misc/
DWebKitErrors.m46 …ptionFrameLoadInterruptedByPolicyChange UI_STRING_INTERNAL("Frame load interrupted", "WebKitErrorF…
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java327 } catch(InterruptedException interrupted) { in execute()
329 iox.initCause(interrupted); in execute()
/external/llvm/include/llvm/Support/
Dsystem_error.h521 interrupted = EINTR, enumerator

12345