Searched refs:UnixEpoch (Results 1 – 8 of 8) sorted by relevance
/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 | 971 prtime + base::Time::UnixEpoch().ToInternalValue()); in PRTimeToBaseTime() 975 return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); in BaseTimeToPRTime()
|
/external/libchrome/base/time/ |
D | time.cc | 202 return base::Time::UnixEpoch() + in FromJavaTime() 220 Time Time::UnixEpoch() { in UnixEpoch() function in base::Time 289 : unix_epoch_(TimeTicks::Now() - (Time::Now() - Time::UnixEpoch())) {} in UnixEpochSingleton() 303 TimeTicks TimeTicks::UnixEpoch() { in UnixEpoch() function in base::TimeTicks
|
D | time_unittest.cc | 157 EXPECT_EQ(epoch, Time::UnixEpoch()); in TEST_F() 426 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F() 438 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F() 450 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F() 462 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); in TEST_F() 474 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); in TEST_F() 487 t = Time::UnixEpoch(); in TEST_F() 499 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F() 511 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F() 523 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); in TEST_F() [all …]
|
D | time.h | 467 static Time UnixEpoch(); 760 static TimeTicks UnixEpoch();
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 149 : now_(Time::UnixEpoch()), next_task_ordinal_(0) { in TestMockTimeTaskRunner() 154 : now_(Time::UnixEpoch()), now_ticks_(start_ticks), next_task_ordinal_(0) {} in TestMockTimeTaskRunner()
|
/external/v8/src/base/platform/ |
D | time.h | 298 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function
|