Home
last modified time | relevance | path

Searched refs:UnixEpoch (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime_test.cc78 constexpr absl::Time t0 = absl::UnixEpoch(); in TEST()
110 TEST(Time, UnixEpoch) { in TEST() argument
111 const auto ci = absl::UTCTimeZone().At(absl::UnixEpoch()); in TEST()
119 absl::Time t = absl::UnixEpoch(); in TEST()
162 t = absl::UnixEpoch(); in TEST()
164 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(500), t); in TEST()
166 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(1100), t); in TEST()
168 EXPECT_EQ(absl::UnixEpoch() + absl::Milliseconds(500), t); in TEST()
170 EXPECT_EQ(absl::UnixEpoch(), t); in TEST()
226 constexpr absl::Time t = absl::UnixEpoch(); // Any finite time. in TEST()
[all …]
Dtime_benchmark.cc40 absl::Time t = absl::UnixEpoch(); in BM_Time_Arithmetic()
140 const absl::Time t = absl::UnixEpoch() + absl::Seconds(123); in BM_Time_ToUnixNanos()
148 const absl::Time t = absl::UnixEpoch() + absl::Seconds(123); in BM_Time_ToUnixMicros()
156 const absl::Time t = absl::UnixEpoch() + absl::Seconds(123); in BM_Time_ToUnixMillis()
164 const absl::Time t = absl::UnixEpoch() + absl::Seconds(123); in BM_Time_ToUnixSeconds()
Dformat_test.cc148 EXPECT_EQ(absl::UnixEpoch(), t); // everything defaulted in TEST()
257 t = absl::UnixEpoch(); in TEST()
259 EXPECT_EQ(absl::UnixEpoch() + absl::Nanoseconds(214748364) + in TEST()
262 t = absl::UnixEpoch(); in TEST()
264 EXPECT_EQ(absl::UnixEpoch() + absl::Nanoseconds(214748364) + in TEST()
270 t = absl::UnixEpoch(); in TEST()
275 EXPECT_EQ(absl::UnixEpoch() + absl::Nanoseconds(214748364) + in TEST()
Dtime.h743 constexpr Time UnixEpoch() { return Time(); } in UnixEpoch() function
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestampPartial.cs41 … private static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); field in Google.Protobuf.WellKnownTypes.Timestamp
120 return UnixEpoch.AddSeconds(Seconds).AddTicks(Nanos / Duration.NanosecondsPerTick); in ToDateTime()
204 DateTime dateTime = UnixEpoch.AddSeconds(seconds); in ToJson()
/third_party/skia/third_party/externals/zlib/google/
Dzip_reader.cc133 last_modified_ = base::Time::UnixEpoch(); in EntryInfo()
280 current_entry_info()->last_modified() != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem_test.cc167 absl::Time negative_timeout = absl::UnixEpoch() - absl::Milliseconds(100); in TEST_F()
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_reader.cc253 entry_.last_modified = base::Time::UnixEpoch(); in OpenEntry()
400 if (entry_.last_modified != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
/third_party/node/deps/zlib/google/
Dzip_reader.cc259 entry_.last_modified = base::Time::UnixEpoch(); in OpenEntry()
424 if (entry_.last_modified != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
/third_party/node/deps/v8/src/base/platform/
Dtime.h383 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function