/external/apache-commons-io/src/test/java/org/apache/commons/io/file/attribute/ |
D | FileTimesTest.java | 97 assertEquals(0, FileTimes.EPOCH.toMillis()); in testEpoch() 121 …assertEquals(Instant.EPOCH.minusMillis(millis), FileTimes.minusMillis(FileTimes.EPOCH, millis).toI… in testMinusMillis() 122 assertEquals(Instant.EPOCH, FileTimes.minusMillis(FileTimes.EPOCH, 0).toInstant()); in testMinusMillis() 128 …assertEquals(Instant.EPOCH.minusNanos(millis), FileTimes.minusNanos(FileTimes.EPOCH, millis).toIns… in testMinusNanos() 129 assertEquals(Instant.EPOCH, FileTimes.minusNanos(FileTimes.EPOCH, 0).toInstant()); in testMinusNanos() 135 …assertEquals(Instant.EPOCH.minusSeconds(seconds), FileTimes.minusSeconds(FileTimes.EPOCH, seconds)… in testMinusSeconds() 136 assertEquals(Instant.EPOCH, FileTimes.minusSeconds(FileTimes.EPOCH, 0).toInstant()); in testMinusSeconds() 165 …assertEquals(Instant.EPOCH.plusMillis(millis), FileTimes.plusMillis(FileTimes.EPOCH, millis).toIns… in testPlusMinusMillis() 166 assertEquals(Instant.EPOCH, FileTimes.plusMillis(FileTimes.EPOCH, 0).toInstant()); in testPlusMinusMillis() 172 …assertEquals(Instant.EPOCH.plusNanos(millis), FileTimes.plusNanos(FileTimes.EPOCH, millis).toInsta… in testPlusNanos() [all …]
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/monitor/ |
D | FileEntry.java | 62 private SerializableFileTime lastModified = SerializableFileTime.EPOCH; 223 setLastModified(exists ? FileUtils.lastModifiedFileTime(file) : FileTimes.EPOCH); in refresh() 225 setLastModified(SerializableFileTime.EPOCH); in refresh()
|
D | SerializableFileTime.java | 35 static final SerializableFileTime EPOCH = new SerializableFileTime(FileTimes.EPOCH); field in SerializableFileTime
|
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/discovery_cache/ |
D | file_cache.py | 44 EPOCH = datetime.datetime.utcfromtimestamp(0) variable 49 return (date - EPOCH).total_seconds() 53 delta = date - EPOCH
|
/external/python/google-api-python-client/googleapiclient/discovery_cache/ |
D | file_cache.py | 50 EPOCH = datetime.datetime.utcfromtimestamp(0) variable 55 return (date - EPOCH).total_seconds() 59 delta = date - EPOCH
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | compat.h | 93 static const uint64_t EPOCH = ((uint64_t)116444736000000000ULL); in gettimeofday() local 104 tp->tv_sec = static_cast<long>((time - EPOCH) / 10000000L); // NOLINT(runtime/int) in gettimeofday()
|
/external/libxkbcommon/bench/ |
D | bench.c | 46 static const uint64_t EPOCH = ((uint64_t) 116444736000000000ULL); in gettimeofday() local 57 tv->tv_sec = (long) ((t - EPOCH) / 10000000L); in gettimeofday()
|
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/ |
D | channel.py | 75 EPOCH = datetime.datetime.utcfromtimestamp(0) variable 284 delta = expiration - EPOCH
|
/external/python/google-api-python-client/googleapiclient/ |
D | channel.py | 82 EPOCH = datetime.datetime.utcfromtimestamp(0) variable 302 delta = expiration - EPOCH
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/attribute/ |
D | FileTimes.java | 40 public static final FileTime EPOCH = FileTime.from(Instant.EPOCH); field in FileTimes
|
/external/mesa3d/include/android_stub/log/ |
D | log_time.h | 40 static constexpr timespec EPOCH = {0, 0}; member 106 return *this = log_time(EPOCH);
|
/external/llvm/test/Bitcode/ |
D | identification.ll | 5 ;CHECK-NEXT: <EPOCH
|
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/ |
D | minimal-http-client-multi.c | 463 static const uint64_t EPOCH = ((uint64_t) 116444736000000000ULL); in gettimeofday() local 474 tp->tv_sec = (long) ((time - EPOCH) / 10000000L); in gettimeofday()
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | TimestampsTest.java | 720 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromSeconds() 728 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromMillis() 737 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromMicros()
|
/external/cronet/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | TimestampsTest.java | 720 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromSeconds() 728 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromMillis() 737 assertThat(Timestamps.EPOCH).isEqualTo(ZERO_TIMESTAMP); in testConvertFromMicros()
|
/external/scapy/scapy/ |
D | data.py | 111 EPOCH = time.mktime((1970, 1, 2, 0, 0, 0, 3, 1, 0))-86400 variable
|
/external/python/cpython2/Lib/ |
D | calendar.py | 607 EPOCH = 1970 variable 608 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/ |
D | DurationUtilsTest.java | 111 assertTrue(DurationUtils.since(Instant.EPOCH).compareTo(Duration.ZERO) >= 0); in testSince()
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 37 EPOCH = datetime.datetime.utcfromtimestamp(0) variable 38 EPOCHORDINAL = EPOCH.toordinal() 1801 return (dt.replace(tzinfo=None) - EPOCH).total_seconds()
|
/external/python/cpython3/Lib/ |
D | calendar.py | 640 EPOCH = 1970 variable 641 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
|
/external/python/google-api-python-client/docs/epy/ |
D | api-objects.txt | 38 googleapiclient.channel.EPOCH googleapiclient.channel-module.html#EPOCH 95 googleapiclient.discovery_cache.file_cache.EPOCH googleapiclient.discovery_cache.file_cache-module.…
|
/external/cronet/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | Timestamps.java | 84 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build(); field in Timestamps
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | Timestamps.java | 84 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build(); field in Timestamps
|
/external/scapy/scapy/layers/ |
D | dhcp6.py | 21 from scapy.data import EPOCH, ETHER_ANY 1340 delta = time.mktime(epoch) - EPOCH
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
D | Tailer.java | 893 FileTime last = FileTimes.EPOCH; // The last time the file was checked for changes in run()
|