Home
last modified time | relevance | path

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

/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.cc971 prtime + base::Time::UnixEpoch().ToInternalValue()); in PRTimeToBaseTime()
975 return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); in BaseTimeToPRTime()
/external/libchrome/base/time/
Dtime.cc202 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
Dtime_unittest.cc157 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 …]
Dtime.h467 static Time UnixEpoch();
760 static TimeTicks UnixEpoch();
/external/libchrome/base/test/
Dtest_mock_time_task_runner.cc149 : 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/
Dtime.h298 static Time UnixEpoch() { return Time(0); } in UnixEpoch() function