Home
last modified time | relevance | path

Searched refs:ToTimeT (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium/base/
Dpr_time_unittest.cc141 time_t computed_time = parsed_time.ToTimeT(); in TEST_F()
154 time_t computed_time = parsed_time.ToTimeT(); in TEST_F()
166 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
169 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
178 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
181 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
190 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
193 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
202 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
205 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
[all …]
Dtime_unittest.cc44 time_t now_t_2 = our_time_2.ToTimeT(); in TEST()
47 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST()
51 EXPECT_EQ(0, Time().ToTimeT()); in TEST()
70 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST()
Dtime.cc61 time_t Time::ToTimeT() const { in ToTimeT() function in base::Time
/external/chromium/chrome/browser/webdata/
Dlogins_table.cc135 s.BindInt64(10, form.date_created.ToTimeT()); in AddLogin()
219 s1.BindInt64(0, delete_begin.ToTimeT()); in RemoveLoginsCreatedBetween()
223 delete_end.ToTimeT()); in RemoveLoginsCreatedBetween()
233 s2.BindInt64(0, delete_begin.ToTimeT()); in RemoveLoginsCreatedBetween()
237 delete_end.ToTimeT()); in RemoveLoginsCreatedBetween()
Dautofill_table_unittest.cc101 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp()
572 MakeAutofillEntry("Name", "Superman", t.ToTimeT(), -1)); in TEST_F()
687 EXPECT_GE(s_home.ColumnInt64(0), pre_creation_time.ToTimeT()); in TEST_F()
688 EXPECT_LE(s_home.ColumnInt64(0), post_creation_time.ToTimeT()); in TEST_F()
712 EXPECT_GE(s_billing.ColumnInt64(0), pre_creation_time.ToTimeT()); in TEST_F()
713 EXPECT_LE(s_billing.ColumnInt64(0), post_creation_time.ToTimeT()); in TEST_F()
732 pre_modification_time.ToTimeT()); in TEST_F()
734 post_modification_time.ToTimeT()); in TEST_F()
765 pre_modification_time_2.ToTimeT()); in TEST_F()
767 post_modification_time_2.ToTimeT()); in TEST_F()
[all …]
Dkeyword_table_unittest.cc26 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp()
104 EXPECT_EQ(created_time.ToTimeT(), restored_url->date_created().ToTimeT()); in TEST_F()
Dautofill_table.cc81 s->BindInt64(9, Time::Now().ToTimeT()); in BindAutofillProfileToStatement()
118 s->BindInt64(5, Time::Now().ToTimeT()); in BindCreditCardToStatement()
475 s.BindInt64(0, delete_begin.ToTimeT()); in RemoveFormElementsAddedBetween()
479 delete_end.ToTimeT()); in RemoveFormElementsAddedBetween()
524 s.BindInt64(1, delete_begin.is_null() ? 0 : delete_begin.ToTimeT()); in RemoveFormElementForTimeRange()
526 delete_end.ToTimeT()); in RemoveFormElementForTimeRange()
650 s.BindInt64(1, date_created.ToTimeT()); in InsertPairIDAndDate()
1253 time_t delete_begin_t = delete_begin.ToTimeT(); in RemoveAutofillProfilesAndCreditCardsModifiedBetween()
1256 delete_end.ToTimeT(); in RemoveAutofillProfilesAndCreditCardsModifiedBetween()
1766 s.BindInt64(0, Time::Now().ToTimeT()); in MigrateToVersion30AddDateModifed()
[all …]
Dlogins_table_win.cc26 s.BindInt64(2, info.date_created.ToTimeT()); in AddIE7Login()
Dtoken_service_table_unittest.cc24 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp()
Dweb_apps_table_unittest.cc26 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp()
Dkeyword_table.cc45 s->BindInt64(6, url.date_created().ToTimeT()); in BindURLToStatement()
Dweb_database_migration_unittest.cc719 pre_creation_time.ToTimeT()); in TEST_F()
721 post_creation_time.ToTimeT()); in TEST_F()
730 pre_creation_time.ToTimeT()); in TEST_F()
732 post_creation_time.ToTimeT()); in TEST_F()
Dlogins_table_unittest.cc28 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp()
/external/chromium/chrome/browser/password_manager/
Dlogin_database.cc186 s.BindInt64(COLUMN_DATE_CREATED, form.date_created.ToTimeT()); in AddLogin()
273 s.BindInt64(0, delete_begin.ToTimeT()); in RemoveLoginsCreatedBetween()
275 : delete_end.ToTimeT()); in RemoveLoginsCreatedBetween()
350 s.BindInt64(0, begin.ToTimeT()); in GetLoginsCreatedBetween()
352 : end.ToTimeT()); in GetLoginsCreatedBetween()
/external/chromium/chrome/browser/history/
Ddownload_database.cc158 statement.BindInt64(2, info.start_time.ToTimeT()); in CreateDownload()
188 time_t start_time = delete_begin.ToTimeT(); in RemoveDownloadsBetween()
189 time_t end_time = delete_end.ToTimeT(); in RemoveDownloadsBetween()
Dthumbnail_database.cc280 statement.BindInt64(4, score.time_at_snapshot.ToTimeT()); in SetPageThumbnail()
375 statement.BindInt64(1, time.ToTimeT()); in SetFavicon()
384 statement.BindInt64(0, time.ToTimeT()); in SetFavicon()
397 statement.BindInt64(0, time.ToTimeT()); in SetFaviconLastUpdateTime()
Dstarred_url_database_unittest.cc37 EXPECT_EQ(entry.date_added.ToTimeT(), db_value.date_added.ToTimeT()); in CompareEntryByID()
Dthumbnail_database_unittest.cc132 EXPECT_EQ(time.ToTimeT(), time_out.ToTimeT()); in TEST_F()
/external/chromium/chrome/common/
Dthumbnail_score.cc72 time_at_snapshot.ToTimeT() == rhs.time_at_snapshot.ToTimeT() && in Equals()
Dmetrics_helpers.cc310 return base::Uint64ToString(Time::Now().ToTimeT()); in GetCurrentTimeString()
377 integral_build_time = static_cast<int64>(time.ToTimeT()); in GetBuildTime()
/external/chromium/net/base/
Dupload_data_stream.cc97 element.expected_file_modification_time().ToTimeT() != in FillBuf()
98 info.last_modified.ToTimeT()) { in FillBuf()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_unittest_helper.cc110 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received); in SafeBrowsingStoreTestStorePrefix()
144 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received); in SafeBrowsingStoreTestStorePrefix()
283 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received); in SafeBrowsingStoreTestDeleteChunks()
Dsafe_browsing_store.h75 received(static_cast<int32>(r.ToTimeT())), in SBAddFullHash()
/external/chromium/chrome/browser/policy/
Duser_policy_cache.cc58 cached_policy.set_timestamp(base::Time::NowFromSystemTime().ToTimeT()); in Run()
/external/chromium/chrome/browser/metrics/
Dmetrics_service.cc509 base::Int64ToString(Time::Now().ToTimeT())); in SetRecording()
758 pref->SetInt64(prefs::kStabilityLaunchTimeSec, Time::Now().ToTimeT()); in InitializeMetricsState()
1759 pref->SetInt64(prefs::kStabilityLastTimestampSec, Time::Now().ToTimeT()); in RecordCurrentState()

12