Home
last modified time | relevance | path

Searched defs:t (Results 1 – 25 of 275) sorted by relevance

1234567891011

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalDateTime.java126 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 …]
DTestDuration.java84 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 …]
DTestLocalDate.java122 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/benchmarks/src/benchmarks/regression/
DIntegerBenchmark.java21 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/test/java/time/tck/java/time/
DTCKDuration.java124 Duration t = Duration.ofSeconds(i); in factory_seconds_long() local
137 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local
142 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local
147 Duration t = Duration.ofSeconds(i, j); in factory_seconds_long_long() local
398 Duration t = Duration.of(amount, unit); in factory_of_longTemporalUnit() local
466 Duration t = Duration.from(amount); in factory_from_TemporalAmount_DaysNanos() local
778 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_Instant() local
800 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LT() local
839 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LDT() local
1092 …Duration t = Duration.ofSeconds(seconds, nanos).plus(Duration.ofSeconds(otherSeconds, otherNanos)); in plus() local
[all …]
DTCKLocalTime.java521 LocalTime t = LocalTime.parse(parsable); in factory_parse_validText() local
1149 LocalTime t = TEST_12_30_40_987654321; in test_withHour_normal() local
1158 LocalTime t = TEST_12_30_40_987654321.withHour(12); in test_withHour_noChange_equal() local
1164 LocalTime t = LocalTime.of(1, 0).withHour(0); in test_withHour_toMidnight_equal() local
1170 LocalTime t = LocalTime.of(1, 0).withHour(12); in test_withHour_toMidday_equal() local
1189 LocalTime t = TEST_12_30_40_987654321; in test_withMinute_normal() local
1198 LocalTime t = TEST_12_30_40_987654321.withMinute(30); in test_withMinute_noChange_equal() local
1204 LocalTime t = LocalTime.of(0, 1).withMinute(0); in test_withMinute_toMidnight_equal() local
1210 LocalTime t = LocalTime.of(12, 1).withMinute(0); in test_withMinute_toMidday_equals() local
1229 LocalTime t = TEST_12_30_40_987654321; in test_withSecond_normal() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java59 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 …]
DTimerTaskTest.java79 Timer t = null; in test_cancel() local
174 Timer t = null; in test_scheduledExecutionTime() local
226 Timer t = null; in test_run() local
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java138 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/jsr166-tests/src/test/java/jsr166/
DCountDownLatchTest.java68 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
DTimeUnitTest.java319 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
DLinkedBlockingDequeTest.java578 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 …]
DStampedLockTest.java288 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 …]
DExchangerTest.java78 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
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountDownLatchTest.java91 Thread t = newStartedThread(new CheckedRunnable() { in testAwait() local
116 Thread t = newStartedThread(new CheckedRunnable() { in testTimedAwait() local
140 Thread t = newStartedThread(new CheckedRunnable() { in testAwait_Interruptible() local
171 Thread t = newStartedThread(new CheckedRunnable() { in testTimedAwait_Interruptible() local
201 Thread t = newStartedThread(new CheckedRunnable() { in testAwaitTimeout() local
DLinkedBlockingDequeTest.java612 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingPut() local
650 Thread t = newStartedThread(new CheckedRunnable() { in testPutWithTake() local
682 Thread t = newStartedThread(new CheckedRunnable() { in testTimedOffer() local
718 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingTake() local
790 Thread t = newStartedThread(new CheckedRunnable() { in testInterruptedTimedPoll() local
842 Thread t = newStartedThread(new CheckedRunnable() { in testBlockingPutFirst() local
880 Thread t = newStartedThread(new CheckedRunnable() { in testPutFirstWithTake() local
912 Thread t = newStartedThread(new CheckedRunnable() { in testTimedOfferFirst() local
948 Thread t = newStartedThread(new CheckedRunnable() { in testTakeFirstFromEmptyBlocksInterruptibly() local
970 Thread t = newStartedThread(new CheckedRunnable() { in testTakeFirstFromEmptyAfterInterrupt() local
[all …]
/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java129 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/libart/src/main/java/dalvik/system/
DVMStack.java102 native public static StackTraceElement[] getThreadStackTrace(Thread t); in getThreadStackTrace()
118 getAnnotatedThreadStackTrace(Thread t); in getAnnotatedThreadStackTrace()
135 native public static int fillStackTraceElements(Thread t, in fillStackTraceElements()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java381 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/luni/src/main/java/libcore/util/
DSneakyThrow.java49 public static void sneakyThrow(@NonNull Throwable t) { in sneakyThrow()
53 private static <T extends Throwable> void sneakyThrow_(Throwable t) throws T { in sneakyThrow_()
/libcore/ojluni/src/main/java/java/lang/
DInheritableThreadLocal.java70 ThreadLocalMap getMap(Thread t) { in getMap()
80 void createMap(Thread t, T firstValue) { in createMap()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldGenericTypesTest.java33 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/
DTeeOpTest.java91 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/
DThreadLocalTest.java79 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/
DStreamOpFlag.java385 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()

1234567891011