Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 77) sorted by relevance

1234

/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketFactoryBenchmark.java22 public void time(int reps) throws Exception { in time() method in SSLSocketFactoryBenchmark
DSSLLoopbackBenchmark.java26 public void time(int reps) throws Exception { in time() method in SSLLoopbackBenchmark
DJarFileBenchmark.java31 public void time(int reps) throws Exception { in time() method in JarFileBenchmark
DKeyPairGeneratorBenchmark.java57 public void time(int reps) throws Exception { in time() method in KeyPairGeneratorBenchmark
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java160 private final LocalTime time; field in LocalDateTime
232 LocalTime time = LocalTime.of(hour, minute); in of() local
257 LocalTime time = LocalTime.of(hour, minute, second); in of() local
282 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
307 LocalTime time = LocalTime.of(hour, minute); in of() local
332 LocalTime time = LocalTime.of(hour, minute, second); in of() local
357 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
368 public static LocalDateTime of(LocalDate date, LocalTime time) { in of()
418 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond() local
452 LocalTime time = LocalTime.from(temporal); in from() local
[all …]
DOffsetTime.java141 private final LocalTime time; field in OffsetTime
207 public static OffsetTime of(LocalTime time, ZoneOffset offset) { in of()
257 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant() local
286 LocalTime time = LocalTime.from(temporal); in from() local
332 private OffsetTime(LocalTime time, ZoneOffset offset) { in OffsetTime()
343 private OffsetTime with(LocalTime time, ZoneOffset offset) { in with()
1428 LocalTime time = LocalTime.readExternal(in); in readExternal() local
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java68 public void setTime(long time) { in setTime()
76 public java.util.zip.ZipEntry setLastModifiedTime(java.nio.file.attribute.FileTime time) { in setLastModifiedTime()
84 public java.util.zip.ZipEntry setLastAccessTime(java.nio.file.attribute.FileTime time) { in setLastAccessTime()
92 public java.util.zip.ZipEntry setCreationTime(java.nio.file.attribute.FileTime time) { in setCreationTime()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java199 …public void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_print()
215 …public void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_parse()
228 assertEquals(LocalTime.from(parsed), time); in test_time_parse() local
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneOffsetTransitionTest.java36 LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 1, 0, 0); in test_toEpochSeconds() local
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java199 public void setTime(long time) { in setTime()
251 public ZipEntry setLastModifiedTime(FileTime time) { in setLastModifiedTime()
297 public ZipEntry setLastAccessTime(FileTime time) { in setLastAccessTime()
334 public ZipEntry setCreationTime(FileTime time) { in setCreationTime()
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java175 long time = 2147483648000L;// Tue, 19 Jan 2038 03:14:08 GMT in testHelsinkiOverflow() local
244 @Override public void setStartRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
247 @Override public void setStartRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
250 @Override public void setEndRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
253 @Override public void setEndRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
/libcore/ojluni/src/main/java/java/sql/
DTime.java69 public Time(long time) { in Time()
80 public void setTime(long time) { in setTime()
DTimestamp.java108 public Timestamp(long time) { in Timestamp()
126 public void setTime(long time) { in setTime()
144 long time = super.getTime(); in getTime() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java164 private final transient LocalTime time; field in ChronoLocalDateTimeImpl
174 static <R extends ChronoLocalDate> ChronoLocalDateTimeImpl<R> of(R date, LocalTime time) { in of()
203 private ChronoLocalDateTimeImpl(D date, LocalTime time) { in ChronoLocalDateTimeImpl()
430 LocalTime time = (LocalTime) in.readObject(); in readExternal() local
/libcore/ojluni/annotations/mmodule/java/util/zip/
DZipEntry.annotated.java46 public void setTime(long time) { throw new RuntimeException("Stub!"); } in setTime()
50 public java.util.zip.ZipEntry setLastModifiedTime(java.nio.file.attribute.FileTime time) { throw ne… in setLastModifiedTime()
54 public java.util.zip.ZipEntry setLastAccessTime(java.nio.file.attribute.FileTime time) { throw new … in setLastAccessTime()
58 public java.util.zip.ZipEntry setCreationTime(java.nio.file.attribute.FileTime time) { throw new Ru… in setCreationTime()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java128 private final LocalTime time; field in ZoneOffsetTransitionRule
176 LocalTime time, in of()
221 LocalTime time, in ZoneOffsetTransitionRule()
356 …LocalTime time = (timeByte == 31 ? LocalTime.ofSecondOfDay(in.readInt()) : LocalTime.of(timeByte %… in readExternal() local
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()
DCondition.java376 boolean await(long time, TimeUnit unit) throws InterruptedException; in await()
DStampedLock.java506 public long tryWriteLock(long time, TimeUnit unit) in tryWriteLock()
580 public long tryReadLock(long time, TimeUnit unit) in tryReadLock()
1044 public boolean tryLock(long time, TimeUnit unit) in tryLock()
1060 public boolean tryLock(long time, TimeUnit unit) in tryLock()
1201 private long acquireWrite(boolean interruptible, boolean timed, long time) { in acquireWrite()
1273 private long acquireRead(boolean interruptible, boolean timed, long time) { in acquireRead()
/libcore/ojluni/src/main/java/java/util/
DTimer.java215 public void schedule(TimerTask task, Date time) { in schedule()
394 private void sched(TimerTask task, long time, long period) { in sched()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java209 SimpleDateFormat time = (SimpleDateFormat) DateFormat.getTimeInstance( in testDateTime() local
256 SimpleDateFormat time = (SimpleDateFormat) DateFormat.getTimeInstance( in testDateTimeLocale() local
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewCreationTimeTest.java58 private static void setCreationTime(Path file, FileTime time) throws IOException { in setCreationTime()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTaskTest.java183 long time = System.currentTimeMillis() + 100; in test_scheduledExecutionTime() local
/libcore/ojluni/src/test/java/util/TimeZone/
DSimpleTimeZoneCloneRaceTest.java97 static final long time; field in SimpleTimeZoneCloneRaceTest
/libcore/ojluni/src/test/java/util/GregorianCalendar/
DGregorianCalendarTest.java192 long time = gc.getTimeInMillis(); in checkTimes() local

1234