/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 76 static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); field 190 return UnixEpoch.AddTicks(ticksTotal); in ToDateTime() 228 TimeSpan timeSpan = dateTime - UnixEpoch; in FromDateTime() 243 return dateTime > UnixEpoch ? Timespec.InfFuture : Timespec.InfPast; in FromDateTime()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
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 | 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 | 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/abseil-cpp/absl/time/ |
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 | 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 | 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 | 704 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/grpc/src/core/lib/gprpp/ |
D | time_util.cc | 72 return absl::UnixEpoch() + absl::Seconds(rts.tv_sec) + in ToAbslTime()
|
/third_party/node/deps/zlib/google/ |
D | zip_reader.cc | 134 last_modified_ = base::Time::UnixEpoch(); in EntryInfo() 281 current_entry_info()->last_modified() != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
|
/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/flutter/skia/third_party/externals/zlib/google/ |
D | zip_reader.cc | 134 last_modified_ = base::Time::UnixEpoch(); in EntryInfo() 282 current_entry_info()->last_modified() != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
|
/third_party/cef/libcef/browser/ |
D | audio_capturer.cc | 108 base::TimeDelta pts = audio_capture_time - base::TimeTicks::UnixEpoch(); in Capture()
|
/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/abseil-cpp/absl/synchronization/internal/ |
D | per_thread_sem_test.cc | 167 absl::Time negative_timeout = absl::UnixEpoch() - absl::Milliseconds(100); in TEST_F()
|