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

12

/external/chromium/base/
H A Dpr_time_unittest.cc141 time_t computed_time = parsed_time.ToTimeT();
154 time_t computed_time = parsed_time.ToTimeT();
166 EXPECT_EQ(0, parsed_time.ToTimeT());
169 EXPECT_EQ(0, parsed_time.ToTimeT());
178 EXPECT_EQ(1, parsed_time.ToTimeT());
181 EXPECT_EQ(1, parsed_time.ToTimeT());
190 EXPECT_EQ(2, parsed_time.ToTimeT());
193 EXPECT_EQ(2, parsed_time.ToTimeT());
202 EXPECT_EQ(-1, parsed_time.ToTimeT());
205 EXPECT_EQ(-1, parsed_time.ToTimeT());
[all...]
H A Dtime_unittest.cc44 time_t now_t_2 = our_time_2.ToTimeT();
47 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT());
51 EXPECT_EQ(0, Time().ToTimeT());
70 EXPECT_EQ(0, zero_time.ToTimeT());
H A Dtime.cc61 time_t Time::ToTimeT() const { function in class:base::Time
H A Dtime.h252 time_t ToTimeT() const;
314 // TODO(iyengar) Move the FromString/FromTimeT/ToTimeT/FromFileTime to
/external/chromium/chrome/browser/webdata/
H A Dlogins_table.cc135 s.BindInt64(10, form.date_created.ToTimeT());
219 s1.BindInt64(0, delete_begin.ToTimeT());
223 delete_end.ToTimeT());
233 s2.BindInt64(0, delete_begin.ToTimeT());
237 delete_end.ToTimeT());
H A Dlogins_table_win.cc26 s.BindInt64(2, info.date_created.ToTimeT());
H A Dkeyword_table_unittest.cc26 base::Int64ToString(Time::Now().ToTimeT()) +
104 EXPECT_EQ(created_time.ToTimeT(), restored_url->date_created().ToTimeT());
H A Dautofill_table_unittest.cc101 base::Int64ToString(Time::Now().ToTimeT()) +
572 MakeAutofillEntry("Name", "Superman", t.ToTimeT(), -1));
687 EXPECT_GE(s_home.ColumnInt64(0), pre_creation_time.ToTimeT());
688 EXPECT_LE(s_home.ColumnInt64(0), post_creation_time.ToTimeT());
712 EXPECT_GE(s_billing.ColumnInt64(0), pre_creation_time.ToTimeT());
713 EXPECT_LE(s_billing.ColumnInt64(0), post_creation_time.ToTimeT());
732 pre_modification_time.ToTimeT());
734 post_modification_time.ToTimeT());
765 pre_modification_time_2.ToTimeT());
767 post_modification_time_2.ToTimeT());
[all...]
H A Dtoken_service_table_unittest.cc24 base::Int64ToString(Time::Now().ToTimeT()) +
H A Dweb_apps_table_unittest.cc26 base::Int64ToString(Time::Now().ToTimeT()) +
H A Dautofill_table.cc81 s->BindInt64(9, Time::Now().ToTimeT());
118 s->BindInt64(5, Time::Now().ToTimeT());
475 s.BindInt64(0, delete_begin.ToTimeT());
479 delete_end.ToTimeT());
524 s.BindInt64(1, delete_begin.is_null() ? 0 : delete_begin.ToTimeT());
526 delete_end.ToTimeT());
650 s.BindInt64(1, date_created.ToTimeT());
1253 time_t delete_begin_t = delete_begin.ToTimeT();
1256 delete_end.ToTimeT();
1766 s.BindInt64(0, Time::Now().ToTimeT());
[all...]
H A Dkeyword_table.cc45 s->BindInt64(6, url.date_created().ToTimeT());
/external/chromium/chrome/browser/history/
H A Ddownload_database.cc158 statement.BindInt64(2, info.start_time.ToTimeT());
188 time_t start_time = delete_begin.ToTimeT();
189 time_t end_time = delete_end.ToTimeT();
H A Dstarred_url_database_unittest.cc37 EXPECT_EQ(entry.date_added.ToTimeT(), db_value.date_added.ToTimeT());
H A Dthumbnail_database.cc280 statement.BindInt64(4, score.time_at_snapshot.ToTimeT());
375 statement.BindInt64(1, time.ToTimeT());
384 statement.BindInt64(0, time.ToTimeT());
397 statement.BindInt64(0, time.ToTimeT());
H A Dthumbnail_database_unittest.cc132 EXPECT_EQ(time.ToTimeT(), time_out.ToTimeT());
/external/chromium/chrome/common/
H A Dthumbnail_score.cc66 // When testing equality we use ToTimeT() because that's the value
72 time_at_snapshot.ToTimeT() == rhs.time_at_snapshot.ToTimeT() &&
H A Dmetrics_helpers.cc310 return base::Uint64ToString(Time::Now().ToTimeT());
377 integral_build_time = static_cast<int64>(time.ToTimeT());
/external/chromium/chrome/browser/password_manager/
H A Dlogin_database.cc186 s.BindInt64(COLUMN_DATE_CREATED, form.date_created.ToTimeT());
273 s.BindInt64(0, delete_begin.ToTimeT());
275 : delete_end.ToTimeT());
350 s.BindInt64(0, begin.ToTimeT());
352 : end.ToTimeT());
/external/chromium/net/base/
H A Dupload_data_stream.cc97 element.expected_file_modification_time().ToTimeT() !=
98 info.last_modified.ToTimeT()) {
/external/chromium/chrome/browser/safe_browsing/
H A Dsafe_browsing_store_unittest_helper.cc110 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received);
144 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received);
283 EXPECT_EQ(now.ToTimeT(), add_full_hashes_result[0].received);
H A Dsafe_browsing_store.h75 received(static_cast<int32>(r.ToTimeT())),
H A Dsafe_browsing_store_unittest.cc266 EXPECT_GT(static_cast<int32>(future.ToTimeT()), 0)
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_html_writer.cc224 base::Time::FromInternalValue(internal_value).ToTimeT()));
/external/chromium/chrome/browser/policy/
H A Duser_policy_cache.cc58 cached_policy.set_timestamp(base::Time::NowFromSystemTime().ToTimeT());

Completed in 230 milliseconds

12