Searched refs:UnixEpoch (Results 1 – 10 of 10) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | time_test.cc | 78 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 …]
|
D | time_benchmark.cc | 40 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()
|
D | format_test.cc | 148 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()
|
D | time.h | 743 constexpr Time UnixEpoch() { return Time(); } in UnixEpoch() function
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | TimestampPartial.cs | 41 … 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/ |
D | zip_reader.cc | 133 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/ |
D | per_thread_sem_test.cc | 167 absl::Time negative_timeout = absl::UnixEpoch() - absl::Milliseconds(100); in TEST_F()
|
/third_party/node/deps/v8/third_party/zlib/google/ |
D | zip_reader.cc | 253 entry_.last_modified = base::Time::UnixEpoch(); in OpenEntry() 400 if (entry_.last_modified != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
|
/third_party/node/deps/zlib/google/ |
D | zip_reader.cc | 259 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/ |
D | time.h | 383 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function
|