Home
last modified time | relevance | path

Searched defs:t1 (Results 1 – 25 of 54) sorted by relevance

123

/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java132 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait1_Interrupted_BrokenBarrier() local
158 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait2_Interrupted_BrokenBarrier() local
201 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local
229 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local
258 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local
287 Thread t1 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local
337 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local
368 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testResetAfterInterrupt() local
401 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local
440 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
DExchangerTest.java37 Thread t1 = newStartedThread(new CheckedRunnable() { in testExchange() local
57 Thread t1 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local
131 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testReplacementAfterExchange() local
DAbstractQueuedSynchronizerTest.java313 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local
343 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local
373 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local
395 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local
414 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local
442 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
473 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
493 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
DAbstractQueuedLongSynchronizerTest.java310 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local
340 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local
370 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local
392 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local
411 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local
439 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
470 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
490 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
DReentrantReadWriteLockTest.java499 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local
534 Thread t1 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local
571 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local
613 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local
658 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local
692 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local
727 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local
1024 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
1126 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local
1151 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
[all …]
DReentrantLockTest.java246 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local
272 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local
310 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread() local
340 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local
778 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local
836 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local
896 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
996 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local
1020 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
1065 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCyclicBarrierTest.java173 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait1_Interrupted_BrokenBarrier() local
200 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testAwait2_Interrupted_BrokenBarrier() local
245 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait4_Timeout_BrokenBarrier() local
274 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwait5_Timeout_BrokenBarrier() local
304 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testReset_BrokenBarrier() local
334 Thread t1 = newStartedThread(new CheckedRunnable() { in testReset_NoBrokenBarrier() local
386 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetWithoutBreakage() local
418 Thread t1 = new ThreadShouldThrow(InterruptedException.class) { in testResetAfterInterrupt() local
452 Thread t1 = newStartedThread(new CheckedRunnable() { in testResetAfterTimeout() local
492 Thread t1 = new ThreadShouldThrow(BrokenBarrierException.class) { in testResetAfterCommandException() local
DExchangerTest.java73 Thread t1 = newStartedThread(new CheckedRunnable() { in testExchange() local
94 Thread t1 = newStartedThread(new CheckedRunnable() { in testTimedExchange() local
172 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testReplacementAfterExchange() local
DAbstractQueuedLongSynchronizerTest.java354 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local
386 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local
417 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local
440 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local
460 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local
489 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
521 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
542 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
DAbstractQueuedSynchronizerTest.java357 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasQueuedThreads() local
389 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testIsQueued() local
420 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetFirstQueuedThread() local
443 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testHasContended() local
463 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetQueuedThreads() local
492 Thread t1 = new Thread(new InterruptedSyncRunnable(sync)); in testGetExclusiveQueuedThreads() local
524 Thread t1 = newStartedThread(new InterruptedSyncRunnable(sync)); in testGetSharedQueuedThreads_Exclusive() local
545 Thread t1 = newStartedThread(new CheckedInterruptedRunnable() { in testGetSharedQueuedThreads_Shared() local
DReentrantReadWriteLockTest.java567 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteAfterMultipleReadLocks() local
603 Thread t1 = newStartedThread(new CheckedRunnable() { in testReaderWriterReaderFairFifo() local
642 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadAfterWriteLock() local
688 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadTryLockBarging() local
735 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock2() local
771 Thread t1 = newStartedThread(new CheckedRunnable() { in testReadHoldingWriteLock3() local
808 Thread t1 = newStartedThread(new CheckedRunnable() { in testWriteHoldingWriteLock4() local
1130 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
1248 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local
1275 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
[all …]
DReentrantLockTest.java290 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads() local
318 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength() local
360 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread() local
392 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads() local
876 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitQueueLength() local
936 Thread t1 = new Thread(new CheckedRunnable() { in testGetWaitingThreads() local
998 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitUninterruptibly() local
1114 Thread t1 = newStartedThread(new Awaiter()); in testSignalAll() local
1140 Thread t1 = newStartedThread(new CheckedRunnable() { in testSignalWakesFifo() local
1187 Thread t1 = newStartedThread(new CheckedRunnable() { in testAwaitLockCount() local
/libcore/luni/src/test/java/libcore/java/sql/
DTimestampTest.java32 Timestamp t1 = new Timestamp(Long.MIN_VALUE); in testToString() local
54 Timestamp t1 = Timestamp.valueOf("2001-12-31 21:45:57.123456789"); in testValueOf() local
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java278 FileTime t1 = FileTime.from(v1, u1); in eq() local
287 FileTime t1 = FileTime.from(ins); in eq() local
309 FileTime t1 = FileTime.from(v1, u1); in neq() local
316 FileTime t1 = FileTime.from(ins); in neq() local
/libcore/ojluni/src/test/java/time/test/java/time/
DTestInstant.java94 Instant t1 = Instant.ofEpochMilli(millis); in test_epochMillis() local
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java144 WakeupTestThread t1 = new WakeupTestThread(); in threadWakeup() local
299 Thread t1 = new Thread("t1") { in getStackTrace() local
537 Thread t1 = new Thread(() -> { in testGetId() local
551 Thread t1 = new Thread(() -> { in testThreadId() local
566 Thread t1 = new Thread(); in testIsVirtual() local
DEnumTest.java89 Thread t1 = new Thread() { in testDeadlock() local
/libcore/ojluni/src/test/java/util/Properties/
DStoreDeadlock.java41 Thread1 t1 = new Thread1(sysproperty); in StoreDeadlock() local
/libcore/ojluni/src/test/java/util/Date/
DDateTest.java90 Date t1 = cal.getTime(); in testDate480() local
/libcore/ojluni/src/test/java/lang/StackWalker/
DCallerFromMain.java69 Thread t1 = new Thread(new Runnable() { in main() local
/libcore/ojluni/src/test/java/util/TimeZone/
DSimpleTimeZoneCloneRaceTest.java65 Thread t1 = new Thread(sharedTZuser); in testSimpleTimeZone() local
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/crypto/digests/
DDigestTest.java75 long t1 = System.nanoTime(); in doTestMessageDigest() local
/libcore/ojluni/src/test/java/util/Vector/
DSerializationDeadlock.java62 final TestThread t1 = new TestThread(v1, testEnd); in main() local
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldAndroidRegexTest.java262 long t1 = System.currentTimeMillis(); in testMonsterRegexPerformance() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectorExample.java65 <T, A, R> void testSnippet1(Collector<T, A, R> collector, T t1, T t2) { in testSnippet1() argument

123