Home
last modified time | relevance | path

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

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs35 static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); field
149 return UnixEpoch.AddTicks(ticksTotal); in ToDateTime()
187 TimeSpan timeSpan = dateTime - UnixEpoch; in FromDateTime()
202 return dateTime > UnixEpoch ? Timespec.InfFuture : Timespec.InfPast; in FromDateTime()
/external/libchrome/base/time/
Dtime_unittest.cc236 EXPECT_EQ(epoch, Time::UnixEpoch()); in TEST_F()
504 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()
516 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()
528 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()
540 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); in TEST_F()
552 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); in TEST_F()
565 t = Time::UnixEpoch(); in TEST_F()
577 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()
589 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()
601 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); in TEST_F()
[all …]
Dtime.cc271 return base::Time::UnixEpoch() + in FromJavaTime()
289 Time Time::UnixEpoch() { in UnixEpoch() function in base::Time
361 TimeTicks TimeTicks::UnixEpoch() { in UnixEpoch() function in base::TimeTicks
364 (subtle::TimeNowIgnoringOverride() - Time::UnixEpoch()); in UnixEpoch()
Dtime.h520 static Time UnixEpoch();
877 static TimeTicks UnixEpoch();
/external/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()
/external/libchrome/crypto/
Dnss_util_unittest.cc15 EXPECT_EQ(base::Time::UnixEpoch(), PRTimeToBaseTime(0)); in TEST()
16 EXPECT_EQ(0, BaseTimeToPRTime(base::Time::UnixEpoch())); in TEST()
Dnss_util.cc892 prtime + base::Time::UnixEpoch().ToInternalValue()); in PRTimeToBaseTime()
896 return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); in BaseTimeToPRTime()
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc286 getpid(), (base::Time::Now() - base::Time::UnixEpoch()).InNanoseconds(), in Dump()
/external/v8/src/base/platform/
Dtime.h347 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function
/external/libchrome/base/test/
Dtest_mock_time_task_runner.cc202 : TestMockTimeTaskRunner(Time::UnixEpoch(), TimeTicks(), type) {} in TestMockTimeTaskRunner()