Searched refs:UnixEpoch (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 35 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/ |
D | time_unittest.cc | 236 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 …]
|
D | time.cc | 271 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()
|
D | time.h | 520 static Time UnixEpoch(); 877 static TimeTicks UnixEpoch();
|
/external/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()
|
/external/libchrome/crypto/ |
D | nss_util_unittest.cc | 15 EXPECT_EQ(base::Time::UnixEpoch(), PRTimeToBaseTime(0)); in TEST() 16 EXPECT_EQ(0, BaseTimeToPRTime(base::Time::UnixEpoch())); in TEST()
|
D | nss_util.cc | 892 prtime + base::Time::UnixEpoch().ToInternalValue()); in PRTimeToBaseTime() 896 return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); in BaseTimeToPRTime()
|
/external/libchrome/base/android/orderfile/ |
D | orderfile_instrumentation.cc | 286 getpid(), (base::Time::Now() - base::Time::UnixEpoch()).InNanoseconds(), in Dump()
|
/external/v8/src/base/platform/ |
D | time.h | 347 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 202 : TestMockTimeTaskRunner(Time::UnixEpoch(), TimeTicks(), type) {} in TestMockTimeTaskRunner()
|