/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDateTime.java | 126 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withYear(2007); in test_withYear_int_noChange() local 133 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withMonth(7); in test_withMonth_int_noChange() local 140 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withDayOfMonth(15); in test_withDayOfMonth_noChange() local 146 …LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 1… in test_withDayOfYear_noChange() local 152 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withHour(12); in test_withHour_noChange() local 158 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(1, 0)).withHour(0); in test_withHour_toMidnight() local 164 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(1, 0)).withHour(12); in test_withHour_toMidday() local 170 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withMinute(30); in test_withMinute_noChange() local 176 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 1)).withMinute(0); in test_withMinute_toMidnight() local 182 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 1)).withMinute(0); in test_withMinute_toMidday() local [all …]
|
D | TestDuration.java | 84 Duration t = Duration.ofSeconds(-1); in plus_zeroReturnsThis() local 85 assertSame(t.plus(Duration.ZERO), t); in plus_zeroReturnsThis() local 90 Duration t = Duration.ofSeconds(-1); in plus_zeroSingleton() local 96 Duration t = Duration.ofSeconds(-1); in plusSeconds_zeroReturnsThis() local 102 Duration t = Duration.ofSeconds(-1); in plusSeconds_zeroSingleton() local 108 Duration t = Duration.ofSeconds(-1, 2000000); in plusMillis_zeroReturnsThis() local 114 Duration t = Duration.ofSeconds(-1, 2000000); in plusMillis_zeroSingleton() local 120 Duration t = Duration.ofSeconds(-1, 2000000); in plusNanos_zeroReturnsThis() local 126 Duration t = Duration.ofSeconds(-1, 2000000); in plusNanos_zeroSingleton() local 132 Duration t = Duration.ofSeconds(1); in minus_zeroReturnsThis() local [all …]
|
D | TestLocalDate.java | 122 LocalDate t = TEST_2007_07_15.with(YEAR, 2007); in test_with_DateTimeField_long_noChange_same() local 128 LocalDate t = TEST_2007_07_15.withYear(2007); in test_withYear_int_noChange_same() local 134 LocalDate t = TEST_2007_07_15.withMonth(7); in test_withMonth_int_noChange_same() local 140 LocalDate t = TEST_2007_07_15.withDayOfMonth(15); in test_withDayOfMonth_noChange_same() local 146 LocalDate t = TEST_2007_07_15.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 15); in test_withDayOfYear_noChange_same() local 152 LocalDate t = TEST_2007_07_15.plus(MockSimplePeriod.ZERO_DAYS); in test_plus_Period_zero() local 158 LocalDate t = TEST_2007_07_15.plus(0, ChronoUnit.DAYS); in test_plus_longPeriodUnit_zero() local 164 LocalDate t = TEST_2007_07_15.plusYears(0); in test_plusYears_long_noChange_same() local 170 LocalDate t = TEST_2007_07_15.plusMonths(0); in test_plusMonths_long_noChange_same() local 212 LocalDate t = reference.plusWeeks(weeks).plusWeeks(-weeks); in test_plusWeeks_symmetry() local [all …]
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | TransliteratorTest.java | 29 Transliterator t = Transliterator.getInstance(id); in testAll() local 36 Transliterator t = Transliterator.getInstance("Unknown"); in test_Unknown() local 44 Transliterator t = Transliterator.getInstance(null); in test_null_id() local 51 Transliterator t = Transliterator.getInstance("Any-Upper"); in test_Any_Upper() local 57 Transliterator t = Transliterator.getInstance("Any-Lower"); in test_Any_Lower() local 65 Transliterator t = Transliterator.getInstance("Greek-Latin"); in test_Greek_Latin() local 80 Transliterator t = Transliterator.getInstance("Han-Latin"); in test_Han_Latin() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 122 Duration t = Duration.ofSeconds(i); in factory_seconds_long() local 135 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local 140 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local 145 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local 396 Duration t = Duration.of(amount, unit); in factory_of_longTemporalUnit() local 464 Duration t = Duration.from(amount); in factory_from_TemporalAmount_DaysNanos() local 776 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_Instant() local 798 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LT() local 837 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LDT() local 1090 …Duration t = Duration.ofSeconds(seconds, nanos).plus(Duration.ofSeconds(otherSeconds, otherNanos)); in plus() local [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | IntegerBenchmark.java | 21 int t = 0; in timeLongSignumBranch() local 31 int t = 0; in timeLongSignumBranchFree() local 49 int t = 0; in timeLongBitCount_BitSet() local 75 int t = 0; in timeLongBitCount_2Int() local 89 int t = 0; in timeLongBitCount_Long() local 122 int t = 0; in timeNumberOfTrailingZerosHD() local 130 int t = 0; in timeNumberOfTrailingZerosOL() local 140 int t = 0; in timeIntegerValueOf() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | LockSupport.java | 138 private static void setBlocker(Thread t, Object arg) { in setBlocker() 188 Thread t = Thread.currentThread(); in park() local 228 Thread t = Thread.currentThread(); in parkNanos() local 269 Thread t = Thread.currentThread(); in parkUntil() local 287 public static Object getBlocker(Thread t) { in getBlocker() 396 Thread t = Thread.currentThread(); in nextSecondarySeed() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTest.java | 59 public TimerTestTask(Timer t) { in TimerTestTask() 112 Timer t = null; in test_ConstructorZ() local 131 Timer t = null; in test_Constructor() local 150 Timer t = null; in test_ConstructorSZ() local 180 Timer t = null; in test_ConstructorS() local 204 Timer t = null; in test_cancel() local 276 Timer t = null; in test_purge() local 310 Timer t = null; in test_scheduleLjava_util_TimerTaskLjava_util_Date() local 418 Timer t = null; in test_scheduleLjava_util_TimerTaskJ() local 506 Timer t = null; in test_scheduleLjava_util_TimerTaskJJ() local [all …]
|
D | TimerTaskTest.java | 79 Timer t = null; in test_cancel() local 174 Timer t = null; in test_scheduledExecutionTime() local 226 Timer t = null; in test_run() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountDownLatchTest.java | 68 Thread t = newStartedThread(new CheckedRunnable() { in testAwait() local 93 Thread t = newStartedThread(new CheckedRunnable() { in testTimedAwait() local 117 Thread t = newStartedThread(new CheckedRunnable() { in testAwait_Interruptible() local 148 Thread t = newStartedThread(new CheckedRunnable() { in testTimedAwait_Interruptible() local 178 Thread t = newStartedThread(new CheckedRunnable() { in testAwaitTimeout() local
|
D | TimeUnitTest.java | 319 Thread t = newStartedThread(new CheckedRunnable() { in testTimedWait_IllegalMonitorException() local 338 Thread t = newStartedThread(new CheckedRunnable() { in testTimedWait_Interruptible() local 377 final Thread t = newStartedThread(new CheckedRunnable() { in testTimedJoin_Interruptible() local 408 Thread t = newStartedThread(new CheckedRunnable() { in testTimedSleep_Interruptible() local
|
D | StampedLockTest.java | 288 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testWriteLockInterruptibly_Interruptible() local 308 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testWriteTryLock_Interruptible() local 329 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testReadLockInterruptibly_Interruptible() local 349 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testReadTryLock_Interruptible() local 381 Thread t = newStartedThread(new CheckedRunnable() { in testWriteTryLockWhenLocked() local 397 Thread t = newStartedThread(new CheckedRunnable() { in testReadTryLockWhenLocked() local 413 Thread t = newStartedThread(new CheckedRunnable() { in testMultipleReadLocks() local 436 Thread t = newStartedThread(new CheckedRunnable() { in testWriteAfterReadLock() local 505 Thread t = newStartedThread(new CheckedRunnable() { in testTryLockWhenReadLocked() local 522 Thread t = newStartedThread(new CheckedRunnable() { in testWriteTryLockWhenReadLocked() local [all …]
|
D | LinkedBlockingDequeTest.java | 578 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingPut() local 616 Thread t = newStartedThread(new CheckedRunnable() { in testPutWithTake() local 648 Thread t = newStartedThread(new CheckedRunnable() { in testTimedOffer() local 684 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingTake() local 756 Thread t = newStartedThread(new CheckedRunnable() { in testInterruptedTimedPoll() local 808 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingPutFirst() local 846 Thread t = newStartedThread(new CheckedRunnable() { in testPutFirstWithTake() local 878 Thread t = newStartedThread(new CheckedRunnable() { in testTimedOfferFirst() local 914 Thread t = newStartedThread(new CheckedRunnable() { in testTakeFirstFromEmptyBlocksInterruptibly() local 936 Thread t = newStartedThread(new CheckedRunnable() { in testTakeFirstFromEmptyAfterInterrupt() local [all …]
|
D | ExchangerTest.java | 78 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testExchange_InterruptedException() local 95 Thread t = newStartedThread(new CheckedInterruptedRunnable() { in testTimedExchange_InterruptedException() local 111 Thread t = newStartedThread(new CheckedRunnable() { in testExchange_TimeoutException() local
|
D | LockSupportTest.java | 118 Thread t = newStartedThread(new CheckedRunnable() { in testParkBeforeUnpark() local 153 Thread t = newStartedThread(new CheckedRunnable() { in testParkAfterUnpark() local 190 Thread t = newStartedThread(new CheckedRunnable() { in testParkBeforeInterrupt() local 229 Thread t = newStartedThread(new CheckedRunnable() { in testParkAfterInterrupt() local 261 Thread t = newStartedThread(new CheckedRunnable() { in testParkTimesOut() local 299 Thread t = newStartedThread(new CheckedRunnable() { in testGetBlocker() local 349 Thread t = newStartedThread(new CheckedRunnable() { in testPark0() local 373 Thread t = newStartedThread(new CheckedRunnable() { in testParkNeg() local
|
D | AtomicMarkableReferenceTest.java | 104 Thread t = new Thread(new CheckedRunnable() { in testCompareAndSetInMultipleThreads() local 124 Thread t = new Thread(new CheckedRunnable() { in testCompareAndSetInMultipleThreads2() local
|
/libcore/libart/src/main/java/dalvik/system/ |
D | VMStack.java | 85 native public static StackTraceElement[] getThreadStackTrace(Thread t); in getThreadStackTrace() 98 getAnnotatedThreadStackTrace(Thread t); in getAnnotatedThreadStackTrace() 113 native public static int fillStackTraceElements(Thread t, in fillStackTraceElements()
|
/libcore/ojluni/src/main/java/java/util/ |
D | DualPivotQuicksort.java | 129 int t = a[lo]; a[lo] = a[hi]; a[hi] = t; in sort() local 201 int[] t = a; a = b; b = t; in sort() local 296 if (a[e2] < a[e1]) { int t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort() local 298 if (a[e3] < a[e2]) { int t = a[e3]; a[e3] = a[e2]; a[e2] = t; in sort() local 301 if (a[e4] < a[e3]) { int t = a[e4]; a[e4] = a[e3]; a[e3] = t; in sort() local 306 if (a[e5] < a[e4]) { int t = a[e5]; a[e5] = a[e4]; a[e4] = t; in sort() local 577 long t = a[lo]; a[lo] = a[hi]; a[hi] = t; in sort() local 649 long[] t = a; a = b; b = t; in sort() local 744 if (a[e2] < a[e1]) { long t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort() local 746 if (a[e3] < a[e2]) { long t = a[e3]; a[e3] = a[e2]; a[e2] = t; in sort() local [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | SneakyThrow.java | 39 public static void sneakyThrow(Throwable t) { in sneakyThrow() 43 private static <T extends Throwable> void sneakyThrow_(Throwable t) throws T { in sneakyThrow_()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 381 int s; Thread t; ForkJoinWorkerThread wt; ForkJoinPool.WorkQueue w; in doJoin() local 396 int s; Thread t; ForkJoinWorkerThread wt; in doInvoke() local 464 ExceptionNode[] t = exceptionTable; in recordExceptionalCompletion() local 507 static final void cancelIgnoringExceptions(ForkJoinTask<?> t) { in cancelIgnoringExceptions() 524 ExceptionNode[] t = exceptionTable; in clearExceptionalCompletion() local 568 ExceptionNode[] t = exceptionTable; in getThrowableException() local 607 ExceptionNode[] t = exceptionTable; in expungeStaleExceptions() local 655 void uncheckedThrow(Throwable t) throws T { in uncheckedThrow() 690 Thread t; in fork() local 776 ForkJoinTask<?> t = tasks[i]; in invokeAll() local [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | InheritableThreadLocal.java | 70 ThreadLocalMap getMap(Thread t) { in getMap() 80 void createMap(Thread t, T firstValue) { in createMap()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldGenericTypesTest.java | 33 T methodGenericType(T t){ return t;} in methodGenericType() 35 <T> T hidingMethodGenericType(T t){ return t;} in hidingMethodGenericType() 36 static <T> T staticMethodGenericType(T t){ return t;} in staticMethodGenericType() 40 void multipleBoundedGenericTypesTS(T t, S s){} in multipleBoundedGenericTypesTS() 46 ConstructorGenericType(T t){} in ConstructorGenericType() 51 InnerClass(T t) {} in InnerClass() 52 void innerMethod(T t){} in innerMethod() 103 void multipleGenericTypesT(T t){} in multipleGenericTypesT() 105 void multipleGenericTypesTS(T t, S s){} in multipleGenericTypesTS()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TeeOpTest.java | 91 public void accept(Integer t) { in testOps() 107 public void accept(int t) { in testIntOps() 123 public void accept(long t) { in testLongOps() 139 public void accept(double t) { in testDoubleOps()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadLocalTest.java | 79 Thread t = new Thread() { in test_get() local 129 Thread t = new Thread() { in test_setLjava_lang_Object() local 172 Thread t = new Thread() { in test_withInitial() local
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 385 private static MaskBuilder set(Type t) { in set() 396 MaskBuilder mask(Type t, Integer i) { in mask() 401 MaskBuilder set(Type t) { in set() 405 MaskBuilder clear(Type t) { in clear() 409 MaskBuilder setAndClear(Type t) { in setAndClear() 530 public boolean canSet(Type t) { in canSet() 564 private static int createMask(Type t) { in createMask()
|