/external/chromium_org/cloud_print/gcp20/prototype/ |
D | x_privet_token_unittest.cc | 46 std::string token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT()); in TEST() 49 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 1); in TEST() 52 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 55); in TEST() 55 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 60*60 - 5); in TEST() 58 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 60*60 + 10); in TEST() 61 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 - 1); in TEST() 96 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 + 1); in TEST() 99 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 7*24*60*60 - 1023); in TEST() 106 token = another.GenerateXTokenWithTime(gen_time.ToTimeT() - 24*60*60 - 1); in TEST() 109 token = another.GenerateXTokenWithTime(gen_time.ToTimeT() - 24*60*60 + 1); in TEST() [all …]
|
/external/chromium/base/ |
D | pr_time_unittest.cc | 141 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 …]
|
D | time_unittest.cc | 44 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()
|
/external/chromium_org/base/time/ |
D | time_unittest.cc | 82 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F() 85 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F() 89 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F() 126 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F() 179 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F() 267 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F() 270 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F() 279 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F() 282 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F() 291 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/webdata/ |
D | logins_table.cc | 135 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()
|
D | autofill_table_unittest.cc | 101 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 …]
|
D | keyword_table_unittest.cc | 26 base::Int64ToString(Time::Now().ToTimeT()) + in SetUp() 104 EXPECT_EQ(created_time.ToTimeT(), restored_url->date_created().ToTimeT()); in TEST_F()
|
D | autofill_table.cc | 81 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 …]
|
/external/chromium_org/net/quic/ |
D | quic_clock_test.cc | 32 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds()); in TEST() 33 EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT())); in TEST()
|
D | quic_clock.cc | 26 return QuicWallTime::FromUNIXSeconds(base::Time::Now().ToTimeT()); in WallNow()
|
/external/chromium_org/net/tools/quic/ |
D | quic_epoll_clock_test.cc | 50 EXPECT_LE(static_cast<uint64>(start.ToTimeT()), now.ToUNIXSeconds()); in TEST() 51 EXPECT_LE(now.ToUNIXSeconds(), static_cast<uint64>(end.ToTimeT())); in TEST()
|
/external/chromium/chrome/browser/password_manager/ |
D | login_database.cc | 186 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/ |
D | download_database.cc | 158 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()
|
D | thumbnail_database.cc | 280 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()
|
/external/chromium_org/components/autofill/core/browser/webdata/ |
D | autofill_table_unittest.cc | 453 MakeAutofillEntry("Name", "Superman", t.ToTimeT(), -1)); in TEST_F() 550 EXPECT_GE(s_home.ColumnInt64(0), pre_creation_time.ToTimeT()); in TEST_F() 551 EXPECT_LE(s_home.ColumnInt64(0), post_creation_time.ToTimeT()); in TEST_F() 575 EXPECT_GE(s_billing.ColumnInt64(0), pre_creation_time.ToTimeT()); in TEST_F() 576 EXPECT_LE(s_billing.ColumnInt64(0), post_creation_time.ToTimeT()); in TEST_F() 593 pre_modification_time.ToTimeT()); in TEST_F() 595 post_modification_time.ToTimeT()); in TEST_F() 629 pre_modification_time_2.ToTimeT()); in TEST_F() 631 post_modification_time_2.ToTimeT()); in TEST_F() 866 EXPECT_GE(s_work.ColumnInt64(5), pre_creation_time.ToTimeT()); in TEST_F() [all …]
|
D | autofill_table.cc | 74 s->BindInt64(index++, Time::Now().ToTimeT()); in BindAutofillProfileToStatement() 117 s->BindInt64(index++, Time::Now().ToTimeT()); in BindCreditCardToStatement() 342 return end.ToTimeT(); in GetEndTime() 502 s.BindInt64(0, delete_begin.ToTimeT()); in RemoveFormElementsAddedBetween() 506 delete_end.ToTimeT()); in RemoveFormElementsAddedBetween() 556 select_for_delete.BindInt64(0, delete_end.ToTimeT()); in RemoveExpiredFormElements() 570 delete_data_statement.BindInt64(0, delete_end.ToTimeT()); in RemoveExpiredFormElements() 577 delete_times_statement.BindInt64(0, delete_end.ToTimeT()); in RemoveExpiredFormElements() 595 entries[i].timestamps().front().ToTimeT()); in RemoveExpiredFormElements() 598 entries[i].timestamps().back().ToTimeT()); in RemoveExpiredFormElements() [all …]
|
/external/chromium_org/net/cert/ |
D | x509_util_openssl.cc | 56 ASN1_TIME_set(NULL, not_valid_before.ToTimeT())); in CreateCertificate() 59 << not_valid_before.ToTimeT(); in CreateCertificate() 64 ASN1_TIME_set(NULL, not_valid_after.ToTimeT())); in CreateCertificate() 66 LOG(ERROR) << "Invalid not_valid_after time: " << not_valid_after.ToTimeT(); in CreateCertificate()
|
/external/chromium/chrome/common/ |
D | thumbnail_score.cc | 72 time_at_snapshot.ToTimeT() == rhs.time_at_snapshot.ToTimeT() && in Equals()
|
/external/chromium_org/chrome/browser/password_manager/ |
D | login_database.cc | 256 s.BindInt64(COLUMN_DATE_CREATED, form.date_created.ToTimeT()); in AddLogin() 341 s.BindInt64(0, delete_begin.ToTimeT()); in RemoveLoginsCreatedBetween() 343 : delete_end.ToTimeT()); in RemoveLoginsCreatedBetween() 494 s.BindInt64(0, begin.ToTimeT()); in GetLoginsCreatedBetween() 496 : end.ToTimeT()); in GetLoginsCreatedBetween()
|
/external/chromium/net/base/ |
D | upload_data_stream.cc | 97 element.expected_file_modification_time().ToTimeT() != in FillBuf() 98 info.last_modified.ToTimeT()) { in FillBuf()
|
/external/chromium_org/chrome/browser/webdata/ |
D | keyword_table_unittest.cc | 88 EXPECT_EQ(keyword.date_created.ToTimeT(), in TEST_F() 89 restored_keyword.date_created.ToTimeT()); in TEST_F() 90 EXPECT_EQ(keyword.last_modified.ToTimeT(), in TEST_F() 91 restored_keyword.last_modified.ToTimeT()); in TEST_F()
|
D | logins_table_win.cc | 21 s.BindInt64(2, info.date_created.ToTimeT()); in AddIE7Login()
|
/external/chromium_org/webkit/browser/blob/ |
D | local_file_stream_reader.cc | 29 expected_modification_time.ToTimeT() == in VerifySnapshotTime() 30 file_info.last_modified.ToTimeT(); in VerifySnapshotTime()
|
/external/chromium_org/net/cookies/ |
D | cookie_util_unittest.cc | 109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str; in TEST()
|
/external/chromium_org/chrome/browser/history/ |
D | history_unittest.cc | 283 s.BindInt64(3, base::Time::Now().ToTimeT()); in TEST_F() 287 s.BindInt64(7, base::Time::Now().ToTimeT()); in TEST_F() 352 s.BindInt64(3, now.ToTimeT()); in TEST_F() 356 s.BindInt64(7, now.ToTimeT()); in TEST_F() 365 s.BindInt64(3, now.ToTimeT()); in TEST_F() 369 s.BindInt64(7, now.ToTimeT()); in TEST_F() 393 base::Time nowish(base::Time::FromTimeT(now.ToTimeT())); in TEST_F() 458 s.BindInt64(3, now.ToTimeT()); in TEST_F() 462 s.BindInt64(7, now.ToTimeT()); in TEST_F() 507 s.BindInt64(3, now.ToTimeT()); in TEST_F() [all …]
|