Home
last modified time | relevance | path

Searched refs:ColumnInt (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/components/webdata/common/
Dweb_database_migration_unittest.cc53 *unique_id = s.ColumnInt(1); in AutofillProfile31FromStatement()
104 *unique_id = s.ColumnInt(1); in CreditCard31FromStatement()
241 return s.ColumnInt(0); in VersionFromConnection()
376 EXPECT_EQ(10, s_autofill.ColumnInt(3)); in TEST_F()
377 EXPECT_EQ(1, s_autofill.ColumnInt(4)); in TEST_F()
379 EXPECT_EQ(10, s_dates.ColumnInt(0)); in TEST_F()
387 EXPECT_EQ(11, s_autofill.ColumnInt(3)); in TEST_F()
388 EXPECT_EQ(1, s_autofill.ColumnInt(4)); in TEST_F()
390 EXPECT_EQ(11, s_dates.ColumnInt(0)); in TEST_F()
398 EXPECT_EQ(20, s_autofill.ColumnInt(3)); in TEST_F()
[all …]
/external/chromium_org/components/password_manager/core/browser/
Dlogin_database.cc269 int blacklisted = s.ColumnInt(1); in ReportMetrics()
270 int accounts_per_site = s.ColumnInt(2); in ReportMetrics()
293 usage_statement.ColumnInt(0)); in ReportMetrics()
298 usage_statement.ColumnInt(1), 0, 100, 10); in ReportMetrics()
302 usage_statement.ColumnInt(1), 0, 100, 10); in ReportMetrics()
465 form->ssl_valid = (s.ColumnInt(COLUMN_SSL_VALID) > 0); in InitPasswordFormFromStatement()
466 form->preferred = (s.ColumnInt(COLUMN_PREFERRED) > 0); in InitPasswordFormFromStatement()
469 form->blacklisted_by_user = (s.ColumnInt(COLUMN_BLACKLISTED_BY_USER) > 0); in InitPasswordFormFromStatement()
470 int scheme_int = s.ColumnInt(COLUMN_SCHEME); in InitPasswordFormFromStatement()
473 int type_int = s.ColumnInt(COLUMN_PASSWORD_TYPE); in InitPasswordFormFromStatement()
[all …]
/external/chromium_org/sql/
Dconnection_unittest.cc26 return s.Step() ? s.ColumnInt(0) : -1; in SqliteMasterCount()
151 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
164 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
207 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
295 pragma_auto_vacuum = s.ColumnInt(0); in TEST_F()
305 EXPECT_EQ(kExpectedPageCount, s.ColumnInt(0)); in TEST_F()
315 EXPECT_EQ(kExpectedPageCount, s.ColumnInt(3)); in TEST_F()
324 EXPECT_EQ(1, s.ColumnInt(0)); in TEST_F()
333 EXPECT_EQ(pragma_auto_vacuum, s.ColumnInt(0)); in TEST_F()
345 default_page_size = s.ColumnInt(0); in TEST_F()
[all …]
Dstatement_unittest.cc73 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
119 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
125 EXPECT_EQ(12, s.ColumnInt(0)); in TEST_F()
Dmeta_table.cc76 if (s.ColumnInt(0) != 0) { in RazeIfDeprecated()
100 int version = s.ColumnInt(0); in RazeIfDeprecated()
204 *value = s.ColumnInt(0); in GetValue()
Drecovery.cc367 const int pk_column = s.ColumnInt(5); in AutoRecoverTable()
532 *version = recovery_version.ColumnInt(0); in GetMetaVersionNumber()
Dstatement.h130 int ColumnInt(int col) const;
Dstatement.cc200 return !!ColumnInt(col); in ColumnBool()
203 int Statement::ColumnInt(int col) const { in ColumnInt() function in sql::Statement
/external/chromium_org/chrome/browser/history/
Dhistory_unittest.cc326 EXPECT_EQ(cur_version, s.ColumnInt(0)); in TEST_F()
338 EXPECT_EQ(((counter == 3) ? 4 : counter), statement.ColumnInt(1)); in TEST_F()
339 EXPECT_EQ(counter % 2, statement.ColumnInt(2)); in TEST_F()
407 EXPECT_EQ(cur_version, s.ColumnInt(0)); in TEST_F()
420 statement.ColumnInt(1)); in TEST_F()
425 EXPECT_EQ(0, statement.ColumnInt(4)); in TEST_F()
432 statement.ColumnInt(1)); in TEST_F()
435 EXPECT_EQ(0, statement.ColumnInt(4)); in TEST_F()
448 EXPECT_EQ(0, statement.ColumnInt(1)); in TEST_F()
453 EXPECT_EQ(0, statement.ColumnInt(1)); in TEST_F()
[all …]
Ddownload_database.cc387 int state = statement_main.ColumnInt(column++); in QueryDownloads()
391 info->danger_type = IntToDangerType(statement_main.ColumnInt(column++)); in QueryDownloads()
393 statement_main.ColumnInt(column++)); in QueryDownloads()
396 info->opened = statement_main.ColumnInt(column++) != 0; in QueryDownloads()
437 int chain_index = statement_chain.ColumnInt(column++); in QueryDownloads()
607 bool corrupt_urls = count_urls.ColumnInt(0) > 0; in CreateDownload()
668 return statement.ColumnInt(0); in CountDownloads()
Dthumbnail_database.cc97 static_cast<favicon_base::IconType>(statement.ColumnInt(2)); in FillIconMapping()
623 favicon_count.Step() ? favicon_count.ColumnInt(0) : 0); in ComputeDatabaseMetrics()
664 bitmap_id_size.pixel_size = gfx::Size(statement.ColumnInt(1), in GetFaviconBitmapIDSizes()
665 statement.ColumnInt(2)); in GetFaviconBitmapIDSizes()
696 favicon_bitmap.pixel_size = gfx::Size(statement.ColumnInt(3), in GetFaviconBitmaps()
697 statement.ColumnInt(4)); in GetFaviconBitmaps()
727 *pixel_size = gfx::Size(statement.ColumnInt(2), in GetFaviconBitmap()
728 statement.ColumnInt(3)); in GetFaviconBitmap()
818 *icon_type = static_cast<favicon_base::IconType>(statement.ColumnInt(1)); in GetFaviconIDForFaviconURL()
837 *icon_type = static_cast<favicon_base::IconType>(statement.ColumnInt(1)); in GetFaviconHeader()
Dhistory_database.cc116 UMA_HISTOGRAM_COUNTS("History.URLTableCount", url_count.ColumnInt(0)); in ComputeDatabaseMetrics()
122 UMA_HISTOGRAM_COUNTS("History.VisitTableCount", visit_count.ColumnInt(0)); in ComputeDatabaseMetrics()
130 weekly_visit_count = weekly_visit_sql.ColumnInt(0); in ComputeDatabaseMetrics()
140 older_visit_count = monthly_visit_sql.ColumnInt(0); in ComputeDatabaseMetrics()
Dshortcuts_database_unittest.cc119 return static_cast<size_t>(s.ColumnInt(0)); in CountRecords()
262 static_cast<content::PageTransition>(statement.ColumnInt(2))); in TEST()
264 static_cast<AutocompleteMatchType::Type>(statement.ColumnInt(3))); in TEST()
297 EXPECT_EQ(0, statement.ColumnInt(0)); in TEST()
Dshortcuts_database.cc209 s.ColumnInt(8), // transition in LoadShortcuts()
210 s.ColumnInt(9), // type in LoadShortcuts()
214 s.ColumnInt(12)))); // number_of_hits in LoadShortcuts()
Durl_database.cc69 i->visit_count_ = s.ColumnInt(3); in FillURLRow()
70 i->typed_count_ = s.ColumnInt(4); in FillURLRow()
72 i->hidden_ = s.ColumnInt(6) != 0; in FillURLRow()
544 visit.visits = statement.ColumnInt(1); in GetMostRecentKeywordSearchTerms()
Dvisit_database.cc90 visit->transition = content::PageTransitionFromInt(statement.ColumnInt(4)); in FillVisitRow()
535 *count = statement.ColumnInt(1); in GetVisibleVisitCountToHost()
580 static_cast<VisitSource>(statement.ColumnInt(1))); in GetVisitsSource()
620 info.transition = content::PageTransitionFromInt(statement.ColumnInt(2)); in GetBriefVisitInfoOfMostRecentVisits()
Din_memory_database.cc99 visit_count.ColumnInt(0)); in InitFromDisk()
/external/chromium_org/chrome/utility/importer/
Dfirefox_importer.cc177 row.visit_count = s.ColumnInt(2); in ImportHistory()
178 row.hidden = s.ColumnInt(3) == 1; in ImportHistory()
179 row.typed_count = s.ColumnInt(4); in ImportHistory()
237 post_keyword_ids.insert(s.ColumnInt(0)); in ImportBookmarks()
492 int id = s.ColumnInt(1); in LoadRootNodeID()
515 livemark->insert(s.ColumnInt(0)); in LoadLivemarkIDs()
563 item->id = s.ColumnInt(0); in GetWholeBookmarkFolder()
566 item->type = static_cast<BookmarkItemType>(s.ColumnInt(3)); in GetWholeBookmarkFolder()
/external/chromium_org/components/enhanced_bookmarks/
Dpersistent_image_store.cc88 int count = statement.Step() ? statement.ColumnInt(0) : 0; in HasKey()
171 int width = statement.ColumnInt(0); in GetSize()
172 int height = statement.ColumnInt(1); in GetSize()
/external/chromium_org/sql/test/
Dtest_helpers.cc22 return s.ColumnInt(0); in CountSQLItemsOfType()
30 *page_size = s.ColumnInt(0); in GetPageSize()
41 *page_number = s.ColumnInt(0); in GetRootPage()
/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor_table.cc43 row->number_of_hits = statement->ColumnInt(3); in StepAndInitializeRow()
44 row->number_of_misses = statement->ColumnInt(4); in StepAndInitializeRow()
257 count_statement.ColumnInt(0)); in LogDatabaseStats()
Dlogged_in_predictor_table.cc101 *is_present = (statement.ColumnInt(0) > 0); in HasUserLoggedIn()
165 statement.ColumnInt(0)); in LogDatabaseStats()
/external/chromium_org/webkit/browser/quota/
Dquota_database.cc429 *used_count = statement.ColumnInt(0); in FindOriginUsedCount()
603 static_cast<StorageType>(statement.ColumnInt(1)), in DumpQuotaTable()
625 static_cast<StorageType>(statement.ColumnInt(1)), in DumpOriginInfoTable()
626 statement.ColumnInt(2), in DumpOriginInfoTable()
/external/chromium_org/chrome/browser/history/android/
Dsqlite_cursor.cc94 return statement_->statement()->ColumnInt(column); in GetInt()
108 if (!GetFavicon(statement_->statement()->ColumnInt(column), &blob)) in GetBlob()
/external/chromium_org/chrome/browser/net/
Dsqlite_server_bound_cert_store_unittest.cc223 EXPECT_EQ(4, smt.ColumnInt(0)); in TEST_F()
307 EXPECT_EQ(4, smt.ColumnInt(0)); in TEST_F()
395 EXPECT_EQ(4, smt.ColumnInt(0)); in TEST_F()

12