/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PollArrayWrapper.java | 119 public void interrupt() { in interrupt() method in PollArrayWrapper 120 interrupt(interruptFD); in interrupt() 125 private static native void interrupt(int fd); in interrupt() method in PollArrayWrapper
|
D | Interruptible.java | 34 public void interrupt(Thread t); in interrupt() method
|
/libcore/ojluni/src/main/java/java/io/ |
D | PrintStream.java | 478 Thread.currentThread().interrupt(); in write() 509 Thread.currentThread().interrupt(); in write() 539 Thread.currentThread().interrupt(); in write() 560 Thread.currentThread().interrupt(); in write() 581 Thread.currentThread().interrupt(); in newLine() 1002 Thread.currentThread().interrupt(); in format() 1059 Thread.currentThread().interrupt(); in format()
|
D | PrintWriter.java | 409 Thread.currentThread().interrupt(); in write() 430 Thread.currentThread().interrupt(); in write() 460 Thread.currentThread().interrupt(); in write() 486 Thread.currentThread().interrupt(); in newLine() 910 Thread.currentThread().interrupt(); in format() 969 Thread.currentThread().interrupt(); in format()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountDownLatchTest.java | 119 Thread.currentThread().interrupt(); in testAwait_Interruptible() 138 t.interrupt(); in testAwait_Interruptible() 150 Thread.currentThread().interrupt(); in testTimedAwait_Interruptible() 169 t.interrupt(); in testTimedAwait_Interruptible()
|
D | BlockingQueueTest.java | 229 Thread.currentThread().interrupt(); in testTimedPollWithOffer() 253 t.interrupt(); in testTimedPollWithOffer() 275 t.interrupt(); 287 Thread.currentThread().interrupt(); 316 t.interrupt(); 328 Thread.currentThread().interrupt();
|
D | LinkedBlockingDequeTest.java | 585 Thread.currentThread().interrupt(); in testBlockingPut() 602 t.interrupt(); in testBlockingPut() 637 t.interrupt(); in testPutWithTake() 664 t.interrupt(); in testTimedOffer() 690 Thread.currentThread().interrupt(); in testBlockingTake() 707 t.interrupt(); in testBlockingTake() 773 t.interrupt(); in testInterruptedTimedPoll() 815 Thread.currentThread().interrupt(); in testBlockingPutFirst() 832 t.interrupt(); in testBlockingPutFirst() 867 t.interrupt(); in testPutFirstWithTake() [all …]
|
D | PhaserTest.java | 466 Thread.currentThread().interrupt(); 483 Thread.currentThread().interrupt(); 501 t1.interrupt(); 502 t2.interrupt(); 520 Thread.currentThread().interrupt(); 534 Thread.currentThread().interrupt(); 559 t.interrupt(); 563 Thread.currentThread().interrupt(); 578 Thread.currentThread().interrupt(); 588 Thread.currentThread().interrupt(); [all …]
|
D | ExchangerTest.java | 85 t.interrupt(); in testExchange_InterruptedException() 102 t.interrupt(); in testTimedExchange_InterruptedException() 151 t1.interrupt(); in testReplacementAfterExchange()
|
D | RecursiveActionTest.java | 71 Thread.currentThread().interrupt(); in checkNotDone() 78 Thread.currentThread().interrupt(); in checkNotDone() 269 myself.interrupt(); in testJoinIgnoresInterrupts() 279 myself.interrupt(); in testJoinIgnoresInterrupts() 292 myself.interrupt(); in testJoinIgnoresInterrupts() 305 myself.interrupt(); in testJoinIgnoresInterrupts() 315 myself.interrupt(); in testJoinIgnoresInterrupts() 324 myself.interrupt(); in testJoinIgnoresInterrupts() 371 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() 379 myself.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() [all …]
|
D | CyclicBarrierTest.java | 146 t1.interrupt(); in testAwait1_Interrupted_BrokenBarrier() 172 t1.interrupt(); in testAwait2_Interrupted_BrokenBarrier() 323 t.interrupt(); in testReset_Leakage() 326 t.interrupt(); in testReset_Leakage() 383 t1.interrupt(); in testResetAfterInterrupt()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CountDownLatchTest.java | 142 Thread.currentThread().interrupt(); in testAwait_Interruptible() 161 t.interrupt(); in testAwait_Interruptible() 173 Thread.currentThread().interrupt(); in testTimedAwait_Interruptible() 192 t.interrupt(); in testTimedAwait_Interruptible()
|
D | BlockingQueueTest.java | 253 Thread.currentThread().interrupt(); in testTimedPollWithOffer() 277 t.interrupt(); in testTimedPollWithOffer() 299 t.interrupt(); 311 Thread.currentThread().interrupt(); 340 t.interrupt(); 352 Thread.currentThread().interrupt();
|
D | LinkedBlockingDequeTest.java | 619 Thread.currentThread().interrupt(); in testBlockingPut() 636 t.interrupt(); in testBlockingPut() 671 t.interrupt(); in testPutWithTake() 698 t.interrupt(); in testTimedOffer() 724 Thread.currentThread().interrupt(); in testBlockingTake() 741 t.interrupt(); in testBlockingTake() 807 t.interrupt(); in testInterruptedTimedPoll() 849 Thread.currentThread().interrupt(); in testBlockingPutFirst() 866 t.interrupt(); in testBlockingPutFirst() 901 t.interrupt(); in testPutFirstWithTake() [all …]
|
D | PhaserTest.java | 490 Thread.currentThread().interrupt(); 507 Thread.currentThread().interrupt(); 525 t1.interrupt(); 526 t2.interrupt(); 544 Thread.currentThread().interrupt(); 558 Thread.currentThread().interrupt(); 583 t.interrupt(); 587 Thread.currentThread().interrupt(); 602 Thread.currentThread().interrupt(); 612 Thread.currentThread().interrupt(); [all …]
|
D | ExchangerTest.java | 108 t.interrupt(); in testExchange_InterruptedException() 125 t.interrupt(); in testTimedExchange_InterruptedException() 174 t1.interrupt(); in testReplacementAfterExchange()
|
D | SemaphoreTest.java | 262 Thread.currentThread().interrupt(); in testInterruptible() 275 Thread.currentThread().interrupt(); in testInterruptible() 291 t.interrupt(); in testInterruptible() 294 t.interrupt(); in testInterruptible() 314 Thread.currentThread().interrupt(); in testUninterruptible() 330 t2.interrupt(); in testUninterruptible() 356 t1.interrupt(); in testHasQueuedThreads() 379 t1.interrupt(); in testGetQueueLength() 404 t1.interrupt(); in testGetQueuedThreads()
|
D | RecursiveActionTest.java | 95 Thread.currentThread().interrupt(); in checkNotDone() 102 Thread.currentThread().interrupt(); in checkNotDone() 293 currentThread.interrupt(); in testJoinIgnoresInterrupts() 302 currentThread.interrupt(); in testJoinIgnoresInterrupts() 314 currentThread.interrupt(); in testJoinIgnoresInterrupts() 326 currentThread.interrupt(); in testJoinIgnoresInterrupts() 335 currentThread.interrupt(); in testJoinIgnoresInterrupts() 343 currentThread.interrupt(); in testJoinIgnoresInterrupts() 389 currentThread.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() 396 currentThread.interrupt(); in testJoinIgnoresInterruptsOutsideForkJoinPool() [all …]
|
D | CyclicBarrierTest.java | 167 t1.interrupt(); in testAwait1_Interrupted_BrokenBarrier() 193 t1.interrupt(); in testAwait2_Interrupted_BrokenBarrier() 344 t.interrupt(); in testReset_Leakage() 347 t.interrupt(); in testReset_Leakage() 404 t1.interrupt(); in testResetAfterInterrupt()
|
D | AbstractQueuedLongSynchronizerTest.java | 344 t1.interrupt(); in testHasQueuedThreads() 381 t1.interrupt(); in testIsQueued() 404 t1.interrupt(); in testGetFirstQueuedThread() 426 t1.interrupt(); in testHasContended() 454 t1.interrupt(); in testGetQueuedThreads() 482 t1.interrupt(); in testGetExclusiveQueuedThreads() 504 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive() 530 t1.interrupt(); in testGetSharedQueuedThreads_Shared() 550 t.interrupt(); in testTryAcquireNanos_Interruptible() 629 t.interrupt(); in testAcquireInterruptibly() [all …]
|
D | AbstractQueuedSynchronizerTest.java | 347 t1.interrupt(); in testHasQueuedThreads() 384 t1.interrupt(); in testIsQueued() 407 t1.interrupt(); in testGetFirstQueuedThread() 429 t1.interrupt(); in testHasContended() 457 t1.interrupt(); in testGetQueuedThreads() 485 t1.interrupt(); in testGetExclusiveQueuedThreads() 507 t1.interrupt(); in testGetSharedQueuedThreads_Exclusive() 533 t1.interrupt(); in testGetSharedQueuedThreads_Shared() 553 t.interrupt(); in testTryAcquireNanos_Interruptible() 632 t.interrupt(); in testAcquireInterruptibly() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadGroupTest.java | 52 group.interrupt(); in interrupt_shouldInterruptAllThreadsInAGroup() 68 parentGroup.interrupt(); in interrupt_shouldInterruptThreadsInSubgroups() 84 childGroup.interrupt(); in interrupt_shouldNotInterruptThreadsInParentGroup()
|
D | OldThreadTest.java | 212 st.interrupt(); in test_sleepJ() 259 st.interrupt(); in test_sleepJI() 368 th.interrupt(); in test_getState() 466 st.interrupt(); in tearDown() 471 spinner.interrupt(); in tearDown() 476 ct.interrupt(); in tearDown()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 159 public void interrupt(Thread target) { in begin() 174 interruptor.interrupt(me); in begin()
|
D | AbstractSelector.java | 212 public void interrupt(Thread ignore) { in begin() 219 interruptor.interrupt(me); in begin()
|