Home
last modified time | relevance | path

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

12345678910>>...15

/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.java123 LocalDate t = TEST_2007_07_15.with(YEAR, 2007); in test_with_DateTimeField_long_noChange_same() local
129 LocalDate t = TEST_2007_07_15.withYear(2007); in test_withYear_int_noChange_same() local
135 LocalDate t = TEST_2007_07_15.withMonth(7); in test_withMonth_int_noChange_same() local
141 LocalDate t = TEST_2007_07_15.withDayOfMonth(15); in test_withDayOfMonth_noChange_same() local
147 LocalDate t = TEST_2007_07_15.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 15); in test_withDayOfYear_noChange_same() local
153 LocalDate t = TEST_2007_07_15.plus(MockSimplePeriod.ZERO_DAYS); in test_plus_Period_zero() local
159 LocalDate t = TEST_2007_07_15.plus(0, ChronoUnit.DAYS); in test_plus_longPeriodUnit_zero() local
165 LocalDate t = TEST_2007_07_15.plusYears(0); in test_plusYears_long_noChange_same() local
171 LocalDate t = TEST_2007_07_15.plusMonths(0); in test_plusMonths_long_noChange_same() local
213 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
803 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_Instant() local
825 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LT() local
864 Duration t = Duration.between(start, end); in factory_between_TemporalTemporal_LDT() local
1117 …Duration t = Duration.ofSeconds(seconds, nanos).plus(Duration.ofSeconds(otherSeconds, otherNanos)); in plus() local
[all …]
DTCKLocalTime.java515 LocalTime t = LocalTime.parse(parsable); in factory_parse_validText() local
1143 LocalTime t = TEST_12_30_40_987654321; in test_withHour_normal() local
1152 LocalTime t = TEST_12_30_40_987654321.withHour(12); in test_withHour_noChange_equal() local
1158 LocalTime t = LocalTime.of(1, 0).withHour(0); in test_withHour_toMidnight_equal() local
1164 LocalTime t = LocalTime.of(1, 0).withHour(12); in test_withHour_toMidday_equal() local
1183 LocalTime t = TEST_12_30_40_987654321; in test_withMinute_normal() local
1192 LocalTime t = TEST_12_30_40_987654321.withMinute(30); in test_withMinute_noChange_equal() local
1198 LocalTime t = LocalTime.of(0, 1).withMinute(0); in test_withMinute_toMidnight_equal() local
1204 LocalTime t = LocalTime.of(12, 1).withMinute(0); in test_withMinute_toMidday_equals() local
1223 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/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 …]
/libcore/ojluni/src/test/java/io/Serializable/records/
DBadValues.java77 Throwable t = expectThrows(CNFE, () -> deserialize(bytes)); in testNotFoundSer() local
85 Throwable t = expectThrows(CNFE, () -> deserialize(bytes)); in testNotFoundSerWr() local
93 Throwable t = expectThrows(CNFE, () -> deserialize(bytes)); in testNotFoundExt() local
101 Throwable t = expectThrows(CNFE, () -> deserialize(bytes)); in testNotFoundExtWr() 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/libart/src/main/java/dalvik/system/
DVMStack.java101 native public static StackTraceElement[] getThreadStackTrace(Thread t); in getThreadStackTrace()
116 getAnnotatedThreadStackTrace(Thread t); in getAnnotatedThreadStackTrace()
133 native public static int fillStackTraceElements(Thread t, in fillStackTraceElements()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java142 private static void setBlocker(Thread t, Object arg) { in setBlocker()
209 Thread t = Thread.currentThread(); in park() local
250 Thread t = Thread.currentThread(); in parkNanos() local
291 Thread t = Thread.currentThread(); in parkUntil() local
309 public static Object getBlocker(Thread t) { in getBlocker()
/libcore/luni/src/test/java/libcore/javax/xml/transform/
DTransformerExceptionTest.java33 Throwable t = new Throwable(); in constructorWithStringAndThrowable() local
51 Throwable t = new Throwable(); in constructorWithStringSourceLocatorAndThrowable() local
61 Throwable t = e.getException(); in getException() local
DTransformerConfigurationExceptionTest.java40 Throwable t = new Throwable(); in constructorWithStringAndThrowable() local
59 Throwable t = new Throwable(); in constructorWithStringSourceLocatorAndThrowable() local
69 Throwable t = new Throwable(); in constructorWithThrowable() local
/libcore/luni/src/main/java/libcore/util/
DSneakyThrow.java47 public static void sneakyThrow(@NonNull Throwable t) { in sneakyThrow()
51 private static <T extends Throwable> void sneakyThrow_(Throwable t) throws T { in sneakyThrow_()
/libcore/ojluni/src/main/java/java/lang/
DInheritableThreadLocal.java75 ThreadLocalMap getMap(Thread t) { in getMap()
85 void createMap(Thread t, T firstValue) { in createMap()
/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DDatatypeConfigurationExceptionTest.java38 Throwable t = new Throwable(); in constructorWithStringAndThrowable() local
46 Throwable t = new Throwable(); in constructorWithThrowable() local
/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

12345678910>>...15