Home
last modified time | relevance | path

Searched defs:t2 (Results 1 – 17 of 17) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java137 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait1_Interrupted_BrokenBarrier() local
163 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testAwait2_Interrupted_BrokenBarrier() local
208 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local
236 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local
263 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local
291 Thread t2 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local
343 Thread t2 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local
374 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterInterrupt() local
408 Thread t2 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local
446 Thread t2 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
DExchangerTest.java42 Thread t2 = newStartedThread(new CheckedRunnable() { in testExchange() local
62 Thread t2 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local
137 Thread t2 = newStartedThread(new CheckedRunnable() { in testReplacementAfterExchange() local
DAbstractQueuedSynchronizerTest.java308 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasQueuedThreads() local
336 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testIsQueued() local
368 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetFirstQueuedThread() local
390 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasContended() local
407 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetQueuedThreads() local
435 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
468 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
491 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSharedQueuedThreads_Shared() local
DAbstractQueuedLongSynchronizerTest.java305 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasQueuedThreads() local
333 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testIsQueued() local
365 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetFirstQueuedThread() local
387 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testHasContended() local
404 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetQueuedThreads() local
432 Thread t2 = new Thread(new InterruptibleSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
465 Thread t2 = newStartedThread(new InterruptibleSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
488 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSharedQueuedThreads_Shared() local
DReentrantReadWriteLockTest.java505 Thread t2 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local
542 Thread t2 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local
574 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local
619 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local
661 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local
695 Thread t2 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local
730 Thread t2 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local
1033 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
1125 Thread t2 = newStartedThread(new Awaiter()); in testSignalAll() local
1159 Thread t2 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
[all …]
DReentrantLockTest.java245 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads() local
271 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueueLength() local
309 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testHasQueuedThread() local
339 Thread t2 = new Thread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads() local
786 Thread t2 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local
843 Thread t2 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local
905 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
995 Thread t2 = newStartedThread(new Awaiter()); in testSignalAll() local
1028 Thread t2 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
1075 Thread t2 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
DFutureTaskTest.java561 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetRun() local
600 Thread t2 = newStartedThread(new CheckedRunnable() { in testGetSet() local
653 Thread t2 = new ThreadShouldThrow(CancellationException.class) { in testTimedGet_Cancellation() local
DSemaphoreTest.java295 Thread t2 = newStartedThread(new CheckedRunnable() { in testUninterruptible() local
329 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testHasQueuedThreads() local
352 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueueLength() local
376 Thread t2 = newStartedThread(new InterruptibleLockRunnable(lock)); in testGetQueuedThreads() local
DAtomicIntegerArrayTest.java315 Thread t2 = new Thread(c2); in testCountingInMultipleThreads() local
DAtomicLongArrayTest.java315 Thread t2 = new Thread(c2); in testCountingInMultipleThreads() local
/libcore/luni/src/test/java/libcore/java/sql/
DTimestampTest.java35 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1); in testToString() local
58 Timestamp t2 = Timestamp.valueOf("2001-01-02 01:05:07.123"); in testValueOf() local
DOldResultSetGetterTests.java948 Time t2 = new java.sql.Time(millis2); in testGetTimeInt() local
1005 Time t2 = new java.sql.Time(millis2); in testGetTimeIntCalendar() local
1078 Time t2 = new java.sql.Time(millis2); in testGetTimeString() local
1130 Time t2 = new java.sql.Time(millis2); in testGetTimeStringCalendar() local
1177 Timestamp t2 = new Timestamp(millis); in testGetTimestampInt() local
1234 Timestamp t2 = new Timestamp(millis); in testGetTimestampIntCalendar() local
1297 Timestamp t2 = new Timestamp(millis); in testGetTimestampString() local
1357 Timestamp t2 = new Timestamp(millis); in testGetTimestampStringCalendar() local
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java106 WakeupTestThread t2 = new WakeupTestThread(); in testThreadWakeup() local
158 Thread t2 = new Thread(group, "t2") { in testGetAllStackTracesIncludesAllGroups() local
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/
DDigestTest.java70 long t2 = System.currentTimeMillis(); in doTestMessageDigest() local
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinTask.java712 public static void invokeAll(ForkJoinTask<?> t1, ForkJoinTask<?> t2) { in invokeAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java708 ExternalTest t2 = (ExternalTest) ois.readObject(); in test_useProtocolVersionI() local
/libcore/luni/src/main/java/java/lang/
DStrictMath.java1014 double hfsq, f, s, z, R, w, t1, t2, dk; in log() local