Home
last modified time | relevance | path

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

1234

/external/chromium_org/chrome/service/cloud_print/
Dprinter_job_queue_handler_unittest.cc97 .WillRepeatedly(Return(base::Time::UnixEpoch())); in TEST_F()
117 .WillByDefault(Return(base::Time::UnixEpoch())); in TEST_F()
123 .WillByDefault(Return(base::Time::UnixEpoch() + in TEST_F()
147 .WillByDefault(Return(base::Time::UnixEpoch())); in TEST_F()
153 .WillByDefault(Return(base::Time::UnixEpoch() + in TEST_F()
171 .WillByDefault(Return(base::Time::UnixEpoch() + in TEST_F()
/external/chromium_org/chrome/browser/history/android/
Dandroid_time.h17 base::Time::UnixEpoch(); in FromDatabaseTime()
21 return (time - base::Time::UnixEpoch()).InMilliseconds(); in ToDatabaseTime()
/external/chromium_org/sync/util/
Dtime.cc13 return (t - base::Time::UnixEpoch()).InMilliseconds(); in TimeToProtoTime()
17 return base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(proto_t); in ProtoTimeToTime()
/external/chromium_org/crypto/
Dnss_util_unittest.cc15 EXPECT_EQ(base::Time::UnixEpoch(), PRTimeToBaseTime(0)); in TEST()
16 EXPECT_EQ(0, BaseTimeToPRTime(base::Time::UnixEpoch())); in TEST()
/external/chromium_org/sync/test/engine/
Dsingle_type_mock_server.cc26 entity.set_ctime(TimeToProtoTime(base::Time::UnixEpoch())); in TypeRootUpdate()
27 entity.set_mtime(TimeToProtoTime(base::Time::UnixEpoch())); in TypeRootUpdate()
55 base::Time ctime = base::Time::UnixEpoch() + base::TimeDelta::FromDays(1); in UpdateFromServer()
83 base::Time ctime = base::Time::UnixEpoch() + base::TimeDelta::FromDays(1); in TombstoneFromServer()
Dmock_non_blocking_type_processor_core.cc94 data.ctime = base::Time::UnixEpoch() + base::TimeDelta::FromDays(1); in UpdateFromServer()
118 data.ctime = base::Time::UnixEpoch() + base::TimeDelta::FromDays(1); in TombstoneFromServer()
/external/chromium_org/net/test/
Dct_test_util.cc206 sct->timestamp = base::Time::UnixEpoch() + in GetX509CertSCT()
223 sct->timestamp = base::Time::UnixEpoch() + in GetPrecertSCT()
259 sth->timestamp = base::Time::UnixEpoch() + in GetSignedTreeHead()
/external/chromium_org/base/time/
Dtime_unittest.cc96 EXPECT_EQ(epoch, Time::UnixEpoch()); in TEST_F()
362 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()
374 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()
386 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()
398 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); in TEST_F()
410 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); in TEST_F()
423 t = Time::UnixEpoch(); in TEST_F()
435 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()
447 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()
459 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); in TEST_F()
[all …]
Dtime.cc196 Time Time::UnixEpoch() { in UnixEpoch() function in base::Time
238 : unix_epoch_(TimeTicks::Now() - (Time::Now() - Time::UnixEpoch())) {} in UnixEpochSingleton()
252 TimeTicks TimeTicks::UnixEpoch() { in UnixEpoch() function in base::TimeTicks
/external/chromium_org/v8/test/cctest/
Dtest-time.cc88 Time unix_epoch = Time::UnixEpoch(); in TEST()
104 Time unix_epoch = Time::UnixEpoch(); in TEST()
122 Time unix_epoch = Time::UnixEpoch(); in TEST()
/external/chromium_org/net/cert/
Dx509_util_unittest.cc29 base::Time::UnixEpoch(), base::Time::UnixEpoch())); in TEST()
Dx509_util_openssl_unittest.cc102 base::Time too_old = base::Time::UnixEpoch() - in TEST()
105 base::Time too_late = base::Time::UnixEpoch() + in TEST()
Dct_serialization_unittest.cc94 base::Time timestamp = base::Time::UnixEpoch() + in TEST_F()
142 base::Time expected_time = base::Time::UnixEpoch() + in TEST_F()
/external/chromium_org/sync/engine/
Dsync_thread_sync_entity_unittest.cc32 kCtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(10)), in SyncThreadSyncEntityTest()
33 kMtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(20)) { in SyncThreadSyncEntityTest()
Dmodel_thread_sync_entity_unittest.cc32 kCtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(10)), in ModelThreadSyncEntityTest()
33 kMtime(base::Time::UnixEpoch() + base::TimeDelta::FromDays(20)) { in ModelThreadSyncEntityTest()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_validator_unittest.cc38 : timestamp_(base::Time::UnixEpoch() + in CloudPolicyValidatorTest()
192 (timestamp - base::Time::UnixEpoch()).InMilliseconds()); in TEST_F()
199 (timestamp - base::Time::UnixEpoch()).InMilliseconds()); in TEST_F()
208 (timestamp - base::Time::UnixEpoch()).InMilliseconds()); in TEST_F()
Dcloud_policy_refresh_scheduler.cc218 base::Time::UnixEpoch() + in UpdateLastRefreshFromPolicy()
228 base::Time::UnixEpoch() + in UpdateLastRefreshFromPolicy()
Dcloud_policy_validator.cc73 (not_before - base::Time::UnixEpoch()).InMilliseconds(); in ValidateTimestamp()
76 base::Time::UnixEpoch()).InMillisecondsRoundedUp(); in ValidateTimestamp()
156 base::Time::UnixEpoch() + in ValidateAgainstCurrentPolicy()
/external/chromium_org/chrome/browser/android/
Duma_utils.cc15 return base::Time::UnixEpoch() + in GetMainEntryPointTime()
/external/chromium_org/media/cast/
Dcast_defines.h170 time - base::TimeTicks::UnixEpoch(); in ConvertTimeTicksToNtp()
188 return base::TimeTicks::UnixEpoch() + elapsed_since_unix_epoch; in ConvertNtpToTimeTicks()
/external/chromium_org/chrome/browser/history/
Dhistory_unittest.cc1647 base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(i); in TEST_F()
1658 (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(1)) in TEST_F()
1712 base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(i); in TEST_F()
1729 (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(6)) in TEST_F()
1743 (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(17)) in TEST_F()
1776 EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(1), in TEST_F()
1778 EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(2), in TEST_F()
1780 EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(11), in TEST_F()
1782 EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(12), in TEST_F()
1784 EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(20), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/prerender/
Dprerender_history.cc35 base::Time epoch_start = base::Time::UnixEpoch(); in GetEntriesAsValue()
/external/chromium_org/ppapi/shared_impl/
Dtime_conversion.cc36 return base::Time::UnixEpoch(); in PPTimeToTime()
/external/chromium_org/content/browser/fileapi/
Dsandbox_directory_database_unittest.cc392 EXPECT_TRUE(db()->UpdateModificationTime(file_id, base::Time::UnixEpoch())); in TEST_F()
400 floor(base::Time::UnixEpoch().ToDoubleT())); in TEST_F()
402 EXPECT_FALSE(db()->UpdateModificationTime(999, base::Time::UnixEpoch())); in TEST_F()
437 info1.modification_time = base::Time::UnixEpoch(); in TEST_F()
456 info1.modification_time = base::Time::UnixEpoch(); in TEST_F()
482 info1.modification_time = base::Time::UnixEpoch(); in TEST_F()
/external/chromium_org/chrome/browser/webdata/
Dkeyword_table_unittest.cc62 keyword.date_created = base::Time::UnixEpoch(); in CreateAndAddKeyword()
63 keyword.last_modified = base::Time::UnixEpoch(); in CreateAndAddKeyword()

1234