Home
last modified time | relevance | path

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

/third_party/grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs76 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/
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()
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 …]
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/abseil-cpp/absl/time/
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()
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 …]
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.h704 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/grpc/src/core/lib/gprpp/
Dtime_util.cc72 return absl::UnixEpoch() + absl::Seconds(rts.tv_sec) + in ToAbslTime()
/third_party/node/deps/zlib/google/
Dzip_reader.cc134 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/
Dzip_reader.cc133 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/
Dzip_reader.cc134 last_modified_ = base::Time::UnixEpoch(); in EntryInfo()
282 current_entry_info()->last_modified() != base::Time::UnixEpoch()) { in ExtractCurrentEntry()
/third_party/cef/libcef/browser/
Daudio_capturer.cc108 base::TimeDelta pts = audio_capture_time - base::TimeTicks::UnixEpoch(); in Capture()
/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/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem_test.cc167 absl::Time negative_timeout = absl::UnixEpoch() - absl::Milliseconds(100); in TEST_F()