Home
last modified time | relevance | path

Searched refs:EPOCH (Results 1 – 25 of 43) sorted by relevance

12

/external/apache-commons-io/src/test/java/org/apache/commons/io/file/attribute/
DFileTimesTest.java97 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/
DFileEntry.java62 private SerializableFileTime lastModified = SerializableFileTime.EPOCH;
223 setLastModified(exists ? FileUtils.lastModifiedFileTime(file) : FileTimes.EPOCH); in refresh()
225 setLastModified(SerializableFileTime.EPOCH); in refresh()
DSerializableFileTime.java35 static final SerializableFileTime EPOCH = new SerializableFileTime(FileTimes.EPOCH); field in SerializableFileTime
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/discovery_cache/
Dfile_cache.py44 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/
Dfile_cache.py50 EPOCH = datetime.datetime.utcfromtimestamp(0) variable
55 return (date - EPOCH).total_seconds()
59 delta = date - EPOCH
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dcompat.h93 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/
Dbench.c46 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/
Dchannel.py75 EPOCH = datetime.datetime.utcfromtimestamp(0) variable
284 delta = expiration - EPOCH
/external/python/google-api-python-client/googleapiclient/
Dchannel.py82 EPOCH = datetime.datetime.utcfromtimestamp(0) variable
302 delta = expiration - EPOCH
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/attribute/
DFileTimes.java40 public static final FileTime EPOCH = FileTime.from(Instant.EPOCH); field in FileTimes
/external/mesa3d/include/android_stub/log/
Dlog_time.h40 static constexpr timespec EPOCH = {0, 0}; member
106 return *this = log_time(EPOCH);
/external/llvm/test/Bitcode/
Didentification.ll5 ;CHECK-NEXT: <EPOCH
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c463 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/
DTimestampsTest.java720 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/
DTimestampsTest.java720 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/
Ddata.py111 EPOCH = time.mktime((1970, 1, 2, 0, 0, 0, 3, 1, 0))-86400 variable
/external/python/cpython2/Lib/
Dcalendar.py607 EPOCH = 1970 variable
608 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DDurationUtilsTest.java111 assertTrue(DurationUtils.since(Instant.EPOCH).compareTo(Duration.ZERO) >= 0); in testSince()
/external/python/dateutil/dateutil/tz/
Dtz.py37 EPOCH = datetime.datetime.utcfromtimestamp(0) variable
38 EPOCHORDINAL = EPOCH.toordinal()
1801 return (dt.replace(tzinfo=None) - EPOCH).total_seconds()
/external/python/cpython3/Lib/
Dcalendar.py640 EPOCH = 1970 variable
641 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt38 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/
DTimestamps.java84 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/
DTimestamps.java84 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build(); field in Timestamps
/external/scapy/scapy/layers/
Ddhcp6.py21 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/
DTailer.java893 FileTime last = FileTimes.EPOCH; // The last time the file was checked for changes in run()

12