Home
last modified time | relevance | path

Searched refs:FromTimeT (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/chrome/utility/importer/
Dbookmark_html_reader_unittest.cc44 EXPECT_TRUE(base::Time::FromTimeT(1207558707) == folder_add_date); in TEST()
101 EXPECT_TRUE(base::Time::FromTimeT(1121301154) == add_date); in TEST()
115 EXPECT_TRUE(base::Time::FromTimeT(1212447159) == add_date); in TEST()
165 EXPECT_EQ(base::Time::FromTimeT(1295938143), entry.creation_time); in ExpectFirstFirefox2Bookmark()
175 EXPECT_EQ(base::Time::FromTimeT(1234567890), entry.creation_time); in ExpectSecondFirefox2Bookmark()
186 EXPECT_EQ(base::Time::FromTimeT(0000000000), entry.creation_time); in ExpectThirdFirefox2Bookmark()
211 EXPECT_EQ(base::Time::FromTimeT(1376102167), entry.creation_time); in ExpectFirstFirefox23Bookmark()
220 EXPECT_EQ(base::Time::FromTimeT(1376102304), entry.creation_time); in ExpectSecondFirefox23Bookmark()
230 EXPECT_EQ(base::Time::FromTimeT(1376102224), entry.creation_time); in ExpectThirdFirefox23Bookmark()
/external/chromium_org/chrome/browser/download/
Ddownload_query_unittest.cc422 base::Time::FromTimeT(kSomeKnownTime + 2))); in TEST_F()
424 base::Time::FromTimeT(kSomeKnownTime + 1))); in TEST_F()
433 base::Time::FromTimeT(kSomeKnownTime + 2))); in TEST_F()
435 base::Time::FromTimeT(kSomeKnownTime + 4))); in TEST_F()
444 base::Time::FromTimeT(kSomeKnownTime + 2))); in TEST_F()
446 base::Time::FromTimeT(kSomeKnownTime + 4))); in TEST_F()
455 base::Time::FromTimeT(kSomeKnownTime + 2))); in TEST_F()
457 base::Time::FromTimeT(kSomeKnownTime + 4))); in TEST_F()
465 base::Time::FromTimeT(kSomeKnownTime + 2))); in TEST_F()
467 base::Time::FromTimeT(kSomeKnownTime + 1))); in TEST_F()
[all …]
/external/chromium/chrome/browser/importer/
Dfirefox_importer_unittest.cc94 EXPECT_TRUE(base::Time::FromTimeT(1207558707) == folder_add_date); in TEST()
151 EXPECT_TRUE(base::Time::FromTimeT(1121301154) == add_date); in TEST()
165 EXPECT_TRUE(base::Time::FromTimeT(1212447159) == add_date); in TEST()
211 EXPECT_EQ(base::Time::FromTimeT(1295938143), entry.creation_time); in TEST()
222 EXPECT_EQ(base::Time::FromTimeT(1234567890), entry.creation_time); in TEST()
234 EXPECT_EQ(base::Time::FromTimeT(0000000000), entry.creation_time); in TEST()
256 EXPECT_EQ(base::Time::FromTimeT(1295938143), entry.creation_time); in TEST()
267 EXPECT_EQ(base::Time::FromTimeT(1234567890), entry.creation_time); in TEST()
/external/chromium/base/
Dtime_unittest.cc28 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST()
47 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST()
48 EXPECT_EQ(10.0, Time().FromTimeT(10).ToDoubleT()); in TEST()
52 EXPECT_EQ(0, Time::FromTimeT(0).ToInternalValue()); in TEST()
69 Time zero_time(Time::FromTimeT(0)); in TEST()
Dplatform_file_posix.cc193 info->last_modified = base::Time::FromTimeT(file_info.st_mtime); in GetPlatformFileInfo()
194 info->last_accessed = base::Time::FromTimeT(file_info.st_atime); in GetPlatformFileInfo()
195 info->creation_time = base::Time::FromTimeT(file_info.st_ctime); in GetPlatformFileInfo()
Dtime.cc55 Time Time::FromTimeT(time_t tt) { in FromTimeT() function in base::Time
/external/chromium_org/cloud_print/gcp20/prototype/
Dx_privet_token_unittest.cc24 XPrivetToken xtoken(secret, base::Time::FromTimeT(gen_time)); in TEST()
43 base::Time gen_time = base::Time::FromTimeT(1372444784); in TEST()
66 base::Time gen_time = base::Time::FromTimeT(1372444784); in TEST()
Dx_privet_token.cc56 return Time::FromTimeT(issue_time) - last_gen_time_ < in CheckValidXToken()
/external/chromium_org/base/time/
Dtime_unittest.cc44 comparison_time_local_ = Time::FromTimeT(converted_time); in SetUp()
47 comparison_time_pdt_ = Time::FromTimeT(1192477500); in SetUp()
66 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F()
85 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
86 EXPECT_EQ(10.0, Time().FromTimeT(10).ToDoubleT()); in TEST_F()
90 EXPECT_EQ(0, Time::FromTimeT(0).ToInternalValue()); in TEST_F()
125 Time zero_time(Time::FromTimeT(0)); in TEST_F()
504 t = Time::FromTimeT(std::numeric_limits<time_t>::max()); in TEST_F()
/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_table_unittest.cc92 timestamps.push_back(Time::FromTimeT(timestamp0)); in MakeAutofillEntry()
94 timestamps.push_back(Time::FromTimeT(timestamp1)); in MakeAutofillEntry()
402 EXPECT_EQ(Time::FromTimeT(1), timestamps[0]); in TEST_F()
403 EXPECT_EQ(Time::FromTimeT(2), timestamps[1]); in TEST_F()
1207 Time::FromTimeT(17), Time::FromTimeT(41), in TEST_F()
1243 Time::FromTimeT(51), Time(), in TEST_F()
1311 Time::FromTimeT(21), Time::FromTimeT(27), &profiles); in TEST_F()
1391 Time::FromTimeT(start))); in TEST_F()
1392 timestamps1.push_back(Time::FromTimeT(start)); in TEST_F()
1421 Time::FromTimeT(start))); in TEST_F()
[all …]
/external/chromium/chrome/browser/webdata/
Dautofill_table_unittest.cc117 timestamps.push_back(Time::FromTimeT(timestamp0)); in MakeAutofillEntry()
119 timestamps.push_back(Time::FromTimeT(timestamp1)); in MakeAutofillEntry()
500 EXPECT_TRUE(Time::FromTimeT(1) == timestamps[0]); in TEST_F()
501 EXPECT_TRUE(Time::FromTimeT(2) == timestamps[1]); in TEST_F()
1360 Time::FromTimeT(17), Time::FromTimeT(41), in TEST_F()
1396 Time::FromTimeT(51), Time(), in TEST_F()
1471 Time::FromTimeT(start))); in TEST_F()
1472 timestamps1.push_back(Time::FromTimeT(start)); in TEST_F()
1516 Time::FromTimeT(start))); in TEST_F()
1517 timestamps1.push_back(Time::FromTimeT(start)); in TEST_F()
[all …]
Dlogins_table_win.cc65 result->date_created = base::Time::FromTimeT(s.ColumnInt64(1)); in GetIE7Login()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_service_sync_unittest.cc310 data.date_created = Time::FromTimeT(100); in CreateTestTemplateURL()
311 data.last_modified = Time::FromTimeT(last_mod); in CreateTestTemplateURL()
392 data.date_created = Time::FromTimeT(100); in CopyTemplateURL()
393 data.last_modified = Time::FromTimeT(100); in CopyTemplateURL()
1288 data.date_created = Time::FromTimeT(100); in TEST_F()
1289 data.last_modified = Time::FromTimeT(100); in TEST_F()
1454 EXPECT_EQ(Time::FromTimeT(90), updated_turl->last_modified()); in TEST_F()
1542 data.date_created = Time::FromTimeT(100); in TEST_F()
1543 data.last_modified = Time::FromTimeT(100); in TEST_F()
1900 data_copy.last_modified = Time::FromTimeT(10); in TEST_F()
[all …]
Dtemplate_url_service_unittest.cc300 data.date_created = Time::FromTimeT(100); in CreatePreloadedTemplateURL()
301 data.last_modified = Time::FromTimeT(100); in CreatePreloadedTemplateURL()
391 data.date_created = Time::FromTimeT(100); in TEST_F()
392 data.last_modified = Time::FromTimeT(100); in TEST_F()
746 data.date_created = Time::FromTimeT(100); in TEST_F()
747 data.last_modified = Time::FromTimeT(100); in TEST_F()
872 data.date_created = Time::FromTimeT(100); in TEST_F()
873 data.last_modified = Time::FromTimeT(100); in TEST_F()
/external/chromium_org/chrome/browser/
Dchrome_browser_field_trials.cc35 const base::Time install_time = base::Time::FromTimeT( in SetupFieldTrials()
/external/chromium_org/chrome/browser/media_galleries/linux/
Dmtp_device_object_enumerator.cc45 return base::Time::FromTimeT(file_entries_[index_].modification_time()); in LastModifiedTime()
/external/chromium_org/chrome/browser/webdata/
Dlogins_table_win.cc45 result->date_created = base::Time::FromTimeT(s.ColumnInt64(1)); in GetIE7Login()
/external/chromium_org/base/files/
Dfile_posix.cc410 base::Time::FromTimeT(last_modified_sec) + in GetInfo()
414 base::Time::FromTimeT(last_accessed_sec) + in GetInfo()
418 base::Time::FromTimeT(creation_time_sec) + in GetInfo()
/external/chromium_org/base/
Dplatform_file_posix.cc411 base::Time::FromTimeT(last_modified_sec) + in GetPlatformFileInfo()
415 base::Time::FromTimeT(last_accessed_sec) + in GetPlatformFileInfo()
419 base::Time::FromTimeT(creation_time_sec) + in GetPlatformFileInfo()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsearch_engines_helper.cc202 data.date_created = base::Time::FromTimeT(100); in CreateTestTemplateURL()
203 data.last_modified = base::Time::FromTimeT(100); in CreateTestTemplateURL()
/external/chromium_org/chrome/installer/gcapi/
Dgcapi_omaha_experiment.cc84 base::Time instance_time = base::Time::FromTimeT(instance_time_value); in GetGCAPIExperimentLabel()
/external/chromium_org/chrome/browser/media_galleries/win/
Dmtp_device_object_enumerator_unittest.cc72 base::Time::FromTimeT(kTestCases[i].last_modified_time))); in TEST_F()
/external/chromium_org/chrome/browser/ui/
Dnetwork_profile_bubble.cc82 base::Time::Now() - base::Time::FromTimeT(last_check); in ShouldCheckNetworkProfile()
/external/chromium_org/net/disk_cache/simple/
Dsimple_util.cc123 *out_mtime = base::Time::FromTimeT(sec) in GetMTime()
/external/chromium/net/url_request/
Durl_request_file_dir_job.cc148 base::Time::FromTimeT(data.info.stat.st_mtime))); in OnListFile()

123