/libcore/luni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 47 int compressionMethod = -1, time = -1, modDate = -1; field in ZipEntry 158 if (time != -1) { in getTime() 162 modDate & 0x1f, (time >> 11) & 0x1f, (time >> 5) & 0x3f, in getTime() 163 (time & 0x1f) << 1); in getTime() 280 time = 0; in setTime() 285 time = cal.get(Calendar.SECOND) >> 1; in setTime() 286 time = (cal.get(Calendar.MINUTE) << 5) | time; in setTime() 287 time = (cal.get(Calendar.HOUR_OF_DAY) << 11) | time; in setTime() 311 time = ze.time; in ZipEntry() 364 time = it.readShort(); in ZipEntry()
|
/libcore/luni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 335 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { in getOffset() argument 339 checkRange(month, dayOfWeek, time); in getOffset() 394 if (ruleDay > day || ruleDay == day && time < startTime) { in getOffset() 454 if (ruleDay < day || ruleDay == day && time >= ruleTime) { in getOffset() 465 public int getOffset(long time) { in getOffset() argument 470 int[] fields = Grego.timeToFields(time + rawOffset, null); in getOffset() 519 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() argument 520 return useDaylightTime() && getOffset(time.getTime()) != getRawOffset(); in inDaylightTime() 549 private void checkRange(int month, int dayOfWeek, int time) { in checkRange() argument 556 if (time < 0 || time >= 24 * 3600000) { in checkRange() [all …]
|
D | TimerTask.java | 59 void setScheduledTime(long time) { in setScheduledTime() argument 61 scheduledTime = time; in setScheduledTime()
|
D | Calendar.java | 332 protected long time; field in Calendar 918 long orgTime = time; in getActualMaximum() 925 time = orgTime; in getActualMaximum() 943 long orgTime = time; in getActualMinimum() 950 time = orgTime; in getActualMinimum() 1102 return time; in getTimeInMillis() 1334 if (!isTimeSet || !areFieldsSet || time != milliseconds) { in setTimeInMillis() 1335 time = milliseconds; in setTimeInMillis() 1359 "[time=" + (isTimeSet ? String.valueOf(time) : "?") + in toString() 1526 putFields.put("time", time); in writeObject() [all …]
|
D | GregorianCalendar.java | 412 time += value; in add() 415 time += value * 1000L; in add() 418 time += value * 60000L; in add() 422 time += value * 3600000L; in add() 459 int offsetBefore = getOffset(time + zoneOffset); in add() 460 int offsetAfter = getOffset(time + zoneOffset + delta); in add() 462 if (getOffset(time + zoneOffset + delta + dstDelta) == offsetAfter) { in add() 466 time += delta; in add() 614 int dstOffset = timeZone.inDaylightTime(new Date(time)) ? timeZone.getDSTSavings() : 0; in computeFields() 619 int millis = (int) (time % 86400000); in computeFields() [all …]
|
D | Grego.java | 170 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument 175 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields()
|
D | TimeZone.java | 239 public int getOffset(long time) { in getOffset() argument 240 if (inDaylightTime(new Date(time))) { in getOffset() 378 public abstract boolean inDaylightTime(Date time); in inDaylightTime() argument
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | SSLSessionImpl.java | 69 long time = creationTime / 1000; in SSLSessionImpl() local 70 id[28] = (byte) ((time & 0xFF000000) >>> 24); in SSLSessionImpl() 71 id[29] = (byte) ((time & 0x00FF0000) >>> 16); in SSLSessionImpl() 72 id[30] = (byte) ((time & 0x0000FF00) >>> 8); in SSLSessionImpl() 73 id[31] = (byte) ((time & 0x000000FF)); in SSLSessionImpl()
|
D | TrustedCertificateStore.java | 219 long time = file.lastModified(); in getCreationDate() local 220 if (time == 0) { in getCreationDate() 223 return new Date(time); in getCreationDate()
|
/libcore/luni/src/main/java/sun/misc/ |
D | Unsafe.java | 319 public void park(boolean absolute, long time) { in park() argument 321 Thread.currentThread().parkUntil(time); in park() 323 Thread.currentThread().parkFor(time); in park()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Lock.java | 291 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() argument
|
D | Condition.java | 345 boolean await(long time, TimeUnit unit) throws InterruptedException; in await() argument
|
/libcore/luni/src/main/java/java/sql/ |
D | Time.java | 173 public void setTime(long time) { in setTime() argument 174 super.setTime(time); in setTime()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 51 long time = r.getMillis(); in format() local 53 String date = MessageFormat.format("{0, date} {0, time}", new Object[] { new Date(time) }); in format() 59 append(sb, 1, "millis", time); in format()
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
D | X509CertImpl.java | 142 private void checkValidity(long time) in checkValidity() argument 144 if (time < getNotBeforeInternal()) { in checkValidity() 145 throw new CertificateNotYetValidException("current time: " + new Date(time) in checkValidity() 148 if (time > getNotAfterInternal()) { in checkValidity() 149 throw new CertificateExpiredException("current time: " + new Date(time) in checkValidity()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledThreadPoolExecutor.java | 157 private long time; field in ScheduledThreadPoolExecutor.ScheduledFutureTask 180 this.time = ns; in ScheduledFutureTask() 190 this.time = ns; in ScheduledFutureTask() 200 this.time = ns; in ScheduledFutureTask() 206 return unit.convert(time - now(), TimeUnit.NANOSECONDS); in getDelay() 214 long diff = time - x.time; in compareTo() 244 time += p; in setNextRunTime() 246 time = triggerTime(-p); in setNextRunTime()
|
D | ThreadPoolExecutor.java | 1616 public void setKeepAliveTime(long time, TimeUnit unit) { in setKeepAliveTime() argument 1617 if (time < 0) in setKeepAliveTime() 1619 if (time == 0 && allowsCoreThreadTimeOut()) in setKeepAliveTime() 1621 long keepAliveTime = unit.toNanos(time); in setKeepAliveTime()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 137 long time = 2147483648000L;// Tue, 19 Jan 2038 03:14:08 GMT in testHelsinkiOverflow() local 139 long offset = timeZone.getOffset(time); in testHelsinkiOverflow()
|
/libcore/luni/src/test/java/tests/api/java/util/ |
D | TimerTaskTest.java | 180 long time = System.currentTimeMillis() + 100; in test_scheduledExecutionTime() local 188 assertTrue(scheduledExecutionTime <= time); in test_scheduledExecutionTime()
|
/libcore/luni/src/main/java/java/lang/ |
D | Thread.java | 1012 public static void sleep(long time) throws InterruptedException { in sleep() argument 1013 Thread.sleep(time, 0); in sleep() 1275 public void parkUntil(long time) { in parkUntil() argument 1298 long delayMillis = time - System.currentTimeMillis(); in parkUntil()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 50 private static Time time; field in SelectFunctionalityTest 103 time = new Time(currentTime); in createTestTables() 161 time.toString(), result.getTime("ftime").toString()); in test_SelectSimple() 194 prepStatement.setTime(10, time); in test_SelectPrepared() 222 time.toString(), result.getTime("ftime").toString()); in test_SelectPrepared()
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | BinaryHprofReader.java | 147 long time = in.readLong(); in parseTime() local 149 System.out.println("\ttime=" + Long.toHexString(time) + " " + new Date(time)); in parseTime() 151 hprofData.setStartMillis(time); in parseTime()
|
/libcore/luni/src/test/java/tests/support/ |
D | DatabaseCreator.java | 351 long time) throws SQLException { in fillTestTable2() argument 362 + new Date(time).toString() + "'," + " '" in fillTestTable2() 363 + new Time(time).toString() + "')"; in fillTestTable2()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 163 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() argument 164 long when = time.getTime(); in inDaylightTime()
|
/libcore/luni/src/main/java/java/io/ |
D | File.java | 599 public boolean setLastModified(long time) { in setLastModified() argument 600 if (time < 0) { in setLastModified() 603 return setLastModifiedImpl(path, time); in setLastModified() 606 private static native boolean setLastModifiedImpl(String path, long time); in setLastModifiedImpl() argument
|