Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java88 long time = dosToJavaTime(xdostime); in extendedDosToJavaTime() local
96 private static long javaToDosTime(long time) { in javaToDosTime()
115 public static long javaToExtendedDosTime(long time) { in javaToExtendedDosTime()
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/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.java159 private final LocalTime time; field in LocalDateTime
231 LocalTime time = LocalTime.of(hour, minute); in of() local
256 LocalTime time = LocalTime.of(hour, minute, second); in of() local
281 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
306 LocalTime time = LocalTime.of(hour, minute); in of() local
331 LocalTime time = LocalTime.of(hour, minute, second); in of() local
356 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() local
367 public static LocalDateTime of(LocalDate date, LocalTime time) { in of()
417 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond() local
451 LocalTime time = LocalTime.from(temporal); in from() local
[all …]
DOffsetTime.java140 private final LocalTime time; field in OffsetTime
206 public static OffsetTime of(LocalTime time, ZoneOffset offset) { in of()
256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant() local
285 LocalTime time = LocalTime.from(temporal); in from() local
331 private OffsetTime(LocalTime time, ZoneOffset offset) { in OffsetTime()
342 private OffsetTime with(LocalTime time, ZoneOffset offset) { in with()
1406 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.java197 …public void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_print()
209 …public void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_parse()
218 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/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java163 long time = 2147483648000L;// Tue, 19 Jan 2038 03:14:08 GMT in testHelsinkiOverflow() local
232 @Override public void setStartRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
235 @Override public void setStartRule(int m, int d, int dow, int time, boolean after) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
238 @Override public void setEndRule(int m, int d, int dow, int time) { in testSimpleTimeZoneDoesNotCallOverrideableMethodsFromConstructor()
241 @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/zone/
DZoneOffsetTransitionRule.java128 private final LocalTime time; field in ZoneOffsetTransitionRule
175 LocalTime time, in of()
217 LocalTime time, in ZoneOffsetTransitionRule()
351 …LocalTime time = (timeByte == 31 ? LocalTime.ofSecondOfDay(in.readInt()) : LocalTime.of(timeByte %… in readExternal() local
/libcore/ojluni/annotations/mmodule/java/util/zip/
DZipEntry.annotated.java47 public void setTime(long time) { throw new RuntimeException("Stub!"); } in setTime()
51 public java.util.zip.ZipEntry setLastModifiedTime(java.nio.file.attribute.FileTime time) { throw ne… in setLastModifiedTime()
55 public java.util.zip.ZipEntry setLastAccessTime(java.nio.file.attribute.FileTime time) { throw new … in setLastAccessTime()
59 public java.util.zip.ZipEntry setCreationTime(java.nio.file.attribute.FileTime time) { throw new Ru… in setCreationTime()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()
DCondition.java374 boolean await(long time, TimeUnit unit) throws InterruptedException; in await()
DStampedLock.java379 public long tryWriteLock(long time, TimeUnit unit) in tryWriteLock()
460 public long tryReadLock(long time, TimeUnit unit) in tryReadLock()
885 public boolean tryLock(long time, TimeUnit unit) in tryLock()
901 public boolean tryLock(long time, TimeUnit unit) in tryLock()
1109 long time; // 0 argument to park means no timeout in acquireWrite() local
1211 long time; in acquireRead() local
1293 long time; in acquireRead() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java163 private final transient LocalTime time; field in ChronoLocalDateTimeImpl
173 static <R extends ChronoLocalDate> ChronoLocalDateTimeImpl<R> of(R date, LocalTime time) { in of()
202 private ChronoLocalDateTimeImpl(D date, LocalTime time) { in ChronoLocalDateTimeImpl()
433 LocalTime time = (LocalTime) in.readObject(); in readExternal() local
/libcore/ojluni/src/main/java/java/util/
DTimer.java214 public void schedule(TimerTask task, Date time) { in schedule()
393 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/main/java/sun/security/provider/certpath/
DURICertStore.java268 long time = System.currentTimeMillis(); in engineGetCertificates() local
381 long time = System.currentTimeMillis(); in engineGetCRLs() local

123