/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
D | ThreadsTest.java | 52 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_1() local 67 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_2() local 82 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkFor_3() local 95 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_1() local 110 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_2() local 125 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkUntil_3() local 146 private final CyclicBarrier barrier; field in ThreadsTest.Parker 174 public Parker(CyclicBarrier barrier, boolean absolute, long parkMillis) { in Parker() 281 private final CyclicBarrier barrier; field in ThreadsTest.WaitAndUnpark 285 public WaitAndUnpark(CyclicBarrier barrier, long waitMillis, Thread thread) { in WaitAndUnpark()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CyclicBarrierTest.java | 41 void awaitNumberWaiting(CyclicBarrier barrier, int numberOfWaiters) { in awaitNumberWaiting() 334 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetWithoutBreakage() local 365 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterInterrupt() local 398 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterTimeout() local 434 final CyclicBarrier barrier = in testResetAfterCommandException() local
|
D | DoubleAdderTest.java | 141 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT() local 154 final CyclicBarrier barrier; field in DoubleAdderTest.AdderTask 157 AdderTask(DoubleAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
|
D | LongAdderTest.java | 164 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT() local 177 final CyclicBarrier barrier; field in LongAdderTest.AdderTask 180 AdderTask(LongAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
|
D | BlockingQueueTest.java | 217 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollWithOffer() local
|
D | LinkedBlockingDequeTest.java | 1092 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollFirstWithOfferFirst() local
|
D | ReentrantLockTest.java | 454 final CyclicBarrier barrier = new CyclicBarrier(2); in testIsLocked() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CyclicBarrierTest.java | 60 void awaitNumberWaiting(CyclicBarrier barrier, int numberOfWaiters) { in awaitNumberWaiting() 355 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetWithoutBreakage() local 386 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterInterrupt() local 419 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterTimeout() local 455 final CyclicBarrier barrier = in testResetAfterCommandException() local
|
D | DoubleAdderTest.java | 164 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT() local 177 final CyclicBarrier barrier; field in DoubleAdderTest.AdderTask 180 AdderTask(DoubleAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
|
D | LongAdderTest.java | 187 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT() local 200 final CyclicBarrier barrier; field in LongAdderTest.AdderTask 203 AdderTask(LongAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
|
D | BlockingQueueTest.java | 241 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollWithOffer() local
|
D | LinkedBlockingDequeTest.java | 1126 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollFirstWithOfferFirst() local
|
D | ReentrantLockTest.java | 477 final CyclicBarrier barrier = new CyclicBarrier(2); in testIsLocked() local
|