/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 1752 {5, 650_000_000, -1, 650_000_000, NANOS, -6_000_000_000L}, 1753 {5, 650_000_000, 0, 650_000_000, NANOS, -5_000_000_000L}, 1754 {5, 650_000_000, 3, 650_000_000, NANOS, -2_000_000_000L}, 1755 {5, 650_000_000, 4, 650_000_000, NANOS, -1_000_000_000L}, 1756 {5, 650_000_000, 5, 650_000_000, NANOS, 0}, 1757 {5, 650_000_000, 6, 650_000_000, NANOS, 1_000_000_000L}, 1758 {5, 650_000_000, 7, 650_000_000, NANOS, 2_000_000_000L}, 1760 {5, 650_000_000, -1, 0, NANOS, -6_650_000_000L}, 1761 {5, 650_000_000, 0, 0, NANOS, -5_650_000_000L}, 1762 {5, 650_000_000, 3, 0, NANOS, -2_650_000_000L}, [all …]
|
D | TCKDuration.java | 813 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 30, 65_000_000… in data_durationBetweenLocalDateTime() 814 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 31, 65_000_000… in data_durationBetweenLocalDateTime() 815 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 32, 65_000_000… in data_durationBetweenLocalDateTime() 816 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 33, 65_000_000… in data_durationBetweenLocalDateTime() 817 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 34, 65_000_000… in data_durationBetweenLocalDateTime() 819 …eTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 30, 565_000_000… in data_durationBetweenLocalDateTime() 820 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 31, 565_000_00… in data_durationBetweenLocalDateTime() 821 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 32, 565_000_00… in data_durationBetweenLocalDateTime() 822 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 33, 565_000_00… in data_durationBetweenLocalDateTime() 823 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 34, 565_000_00… in data_durationBetweenLocalDateTime() [all …]
|
D | TCKClock_Tick.java | 89 assertEquals(test.instant(), ZDT.withNano((i / 250) * 250_000_000).toInstant()); in test_tick_ClockDuration_250millis()
|
D | TCKLocalTime.java | 891 assertEquals(test.get(NANO_OF_SECOND), i * 1_000_000); in test_with_longTemporalField_milliOfSecond() local 905 assertEquals(test, LocalTime.ofNanoOfDay(i * 1_000_000)); in test_with_longTemporalField_milliOfDay()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKZonedDateTimeSerialization.java | 111 dos.writeInt(470_000_000); in test_serialization_format_zoneId() 117 …ZonedDateTime zdt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 470_000_000).atZone(ZoneId.of("Europ… in test_serialization_format_zoneId() 132 dos.writeInt(470_000_000); in test_serialization_format_zoneOffset() 138 …ZonedDateTime zdt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 470_000_000).atZone(ZoneOffset.ofHou… in test_serialization_format_zoneOffset()
|
D | TCKLocalDateTimeSerialization.java | 96 dos.writeInt(459_000_000); in test_serialization_format() 99 assertSerializedBySer(LocalDateTime.of(2012, 9, 16, 22, 17, 59, 459_000_000), bytes); in test_serialization_format()
|
D | TCKOffsetTimeSerialization.java | 103 dos.writeInt(464_000_000); in test_serialization_format() 107 assertSerializedBySer(OffsetTime.of(22, 17, 59, 464_000_000, ZoneOffset.ofHours(1)), bytes); in test_serialization_format()
|
D | TCKOffsetDateTimeSerialization.java | 106 dos.writeInt(464_000_000); in test_serialization_format() 110 LocalDateTime ldt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 464_000_000); in test_serialization_format()
|
D | TCKLocalTimeSerialization.java | 138 dos.writeInt(459_000_000); in test_serialization_format_hmsn() 141 assertSerializedBySer(LocalTime.of(22, 17, 59, 459_000_000), bytes); in test_serialization_format_hmsn()
|
/libcore/luni/src/main/java/java/lang/ref/ |
D | FinalizerReference.java | 171 wait(deltaTime / 1_000_000, (int)(deltaTime % 1_000_000)); in awaitFinalization()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 158 Instant instant = Instant.ofEpochSecond(secs, rand.nextInt(1000_000_000)); in main() 172 secs = nanos / 1000_000_000; in main() 173 nanos = nanos % 1000_000_000; in main() 300 nanos += 1000_000_000; in eqTime()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | OffsetTimeTest.java | 53 assertEquals(OffsetTime.of(12, 0, 0, 1_000_000, ZoneOffset.UTC), in test_plus()
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | CollectorsTest.java | 64 int size = 10_000_000; in counting_largeStream()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 301 {MILLI_OF_DAY, (3600 + 650) * 1_000L + 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveOneToTime() 433 {SECOND_OF_DAY, 3600 + 650, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 445 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 446 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 447 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime() 448 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 288 } else if (1000_000_000 % tickNanos == 0) { in tick()
|
D | LocalTime.java | 1636 buf.append(Integer.toString((nanoValue) + 1000_000_000).substring(1)); in toString()
|
D | LocalDateTime.java | 1702 timePart = timePart / 1_000_000; in until()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 463 int w = 100_000_000; in toString()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentHashMapTest.java | 856 final int mapSize = expensiveTests ? 1_000_000 : 100; in testRemoveAll_performance()
|
D | CompletableFutureTest.java | 4355 final int n = expensiveTests ? 1_000_000 : 10; in testManyDependents() 4384 final int n = expensiveTests ? 1_000_000 : 10; in testCoCompletionGarbageRetention()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3243 int div = 100_000_000; in format()
|