statement 317 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java private CharSequence formatAfterTranslateInfoBarMessage(String statement, String linkText, statement 320 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java result.append(statement).append(" "); statement 770 chrome/browser/android/provider/chrome_browser_provider.cc history::AndroidStatement* statement) { statement 771 chrome/browser/android/provider/chrome_browser_provider.cc result_ = statement; statement 982 chrome/browser/android/provider/chrome_browser_provider.cc history::AndroidStatement* statement) { statement 983 chrome/browser/android/provider/chrome_browser_provider.cc result_ = statement; statement 1299 chrome/browser/android/provider/chrome_browser_provider.cc history::AndroidStatement* statement = task.Run( statement 1301 chrome/browser/android/provider/chrome_browser_provider.cc if (!statement) statement 1306 chrome/browser/android/provider/chrome_browser_provider.cc return SQLiteCursor::NewJavaSqliteCursor(env, columns_name, statement, statement 1434 chrome/browser/android/provider/chrome_browser_provider.cc history::AndroidStatement* statement = task.Run( statement 1436 chrome/browser/android/provider/chrome_browser_provider.cc if (!statement) statement 1440 chrome/browser/android/provider/chrome_browser_provider.cc return SQLiteCursor::NewJavaSqliteCursor(env, columns_name, statement, statement 117 chrome/browser/diagnostics/sqlite_diagnostics.cc sql::Statement statement( statement 124 chrome/browser/diagnostics/sqlite_diagnostics.cc if (!statement.is_valid()) { statement 137 chrome/browser/diagnostics/sqlite_diagnostics.cc while (statement.Step()) { statement 138 chrome/browser/diagnostics/sqlite_diagnostics.cc std::string result(statement.ColumnString(0)); statement 168 chrome/browser/diagnostics/sqlite_diagnostics.cc sql::Statement* statement) { statement 86 chrome/browser/extensions/activity_log/activity_database_unittest.cc sql::Statement statement(db->GetCachedStatement( statement 88 chrome/browser/extensions/activity_log/activity_database_unittest.cc statement.BindString(0, action.extension_id()); statement 89 chrome/browser/extensions/activity_log/activity_database_unittest.cc statement.BindInt64(1, action.time().ToInternalValue()); statement 90 chrome/browser/extensions/activity_log/activity_database_unittest.cc statement.BindInt(2, static_cast<int>(action.action_type())); statement 91 chrome/browser/extensions/activity_log/activity_database_unittest.cc statement.BindString(3, action.api_name()); statement 92 chrome/browser/extensions/activity_log/activity_database_unittest.cc if (!statement.Run()) { statement 153 chrome/browser/extensions/activity_log/activity_database_unittest.cc sql::Statement statement(db->GetCachedStatement( statement 155 chrome/browser/extensions/activity_log/activity_database_unittest.cc statement.BindString(0, api_name_pattern); statement 156 chrome/browser/extensions/activity_log/activity_database_unittest.cc if (!statement.Step()) statement 158 chrome/browser/extensions/activity_log/activity_database_unittest.cc return statement.ColumnInt(0); statement 543 chrome/browser/extensions/activity_log/counting_policy.cc sql::Statement statement(db->GetCachedStatement( statement 546 chrome/browser/extensions/activity_log/counting_policy.cc statement.Reset(true); statement 547 chrome/browser/extensions/activity_log/counting_policy.cc statement.BindInt64(0, action_ids[i]); statement 548 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 550 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 578 chrome/browser/extensions/activity_log/counting_policy.cc sql::Statement statement; statement 579 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement( statement 582 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 584 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 602 chrome/browser/extensions/activity_log/counting_policy.cc sql::Statement statement; statement 603 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement( statement 605 chrome/browser/extensions/activity_log/counting_policy.cc statement.BindInt64(0, url_id); statement 607 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 609 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 617 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement( statement 619 chrome/browser/extensions/activity_log/counting_policy.cc statement.BindInt64(0, url_id); statement 621 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 623 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 649 chrome/browser/extensions/activity_log/counting_policy.cc sql::Statement statement( statement 653 chrome/browser/extensions/activity_log/counting_policy.cc statement.BindInt64(0, id); statement 657 chrome/browser/extensions/activity_log/counting_policy.cc statement.Clear(); statement 660 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 663 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 680 chrome/browser/extensions/activity_log/counting_policy.cc sql::Statement statement(db->GetCachedStatement( statement 683 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 685 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 688 chrome/browser/extensions/activity_log/counting_policy.cc statement.Clear(); statement 690 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), statement 692 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 694 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 697 chrome/browser/extensions/activity_log/counting_policy.cc statement.Clear(); statement 699 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), statement 701 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 703 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 706 chrome/browser/extensions/activity_log/counting_policy.cc statement.Clear(); statement 707 chrome/browser/extensions/activity_log/counting_policy.cc statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), statement 709 chrome/browser/extensions/activity_log/counting_policy.cc if (!statement.Run()) { statement 711 chrome/browser/extensions/activity_log/counting_policy.cc << statement.GetSQLStatement(); statement 79 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement(db->GetCachedStatement( statement 85 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Reset(true); statement 86 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(0, action.extension_id()); statement 87 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindInt64(1, action.time().ToInternalValue()); statement 88 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindInt(2, static_cast<int>(action.action_type())); statement 89 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(3, action.api_name()); statement 91 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(4, Util::Serialize(action.args())); statement 95 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(5, page_url_string); statement 98 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(6, action.page_title()); statement 102 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(7, arg_url_string); statement 105 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(8, Util::Serialize(action.other())); statement 108 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 242 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement(db->GetCachedStatement( statement 245 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Reset(true); statement 246 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindInt64(0, action_ids[i]); statement 247 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 249 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 271 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement; statement 275 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Assign(db->GetCachedStatement( statement 278 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 280 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 292 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement; statement 296 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Assign(db->GetCachedStatement( statement 298 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(0, restrict_urls[i].spec()); statement 300 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 302 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 309 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Assign(db->GetCachedStatement( statement 311 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(0, restrict_urls[i].spec()); statement 313 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 315 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 337 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement; statement 338 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Assign( statement 340 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.BindString(0, extension_id); statement 341 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 344 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 360 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql::Statement statement(db->GetCachedStatement( statement 362 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 364 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 367 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Clear(); statement 368 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), statement 370 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (!statement.Run()) { statement 372 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc << statement.GetSQLStatement(); statement 42 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 46 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(0, ToDatabaseTime(created_time)); statement 47 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(1, ToDatabaseTime(last_visit_time)); statement 48 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(2, url_id); statement 50 chrome/browser/history/android/android_cache_database.cc if (!statement.Run()) { statement 59 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 61 chrome/browser/history/android/android_cache_database.cc if (!statement.Run()) { statement 113 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 117 chrome/browser/history/android/android_cache_database.cc statement.BindString16(0, term); statement 118 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(1, ToDatabaseTime(last_visit_time)); statement 120 chrome/browser/history/android/android_cache_database.cc if (!statement.Run()) { statement 130 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 135 chrome/browser/history/android/android_cache_database.cc statement.BindString16(0, row.term); statement 136 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(1, ToDatabaseTime(row.last_visit_time)); statement 137 chrome/browser/history/android/android_cache_database.cc statement.BindInt64(2, id); statement 139 chrome/browser/history/android/android_cache_database.cc return statement.Run(); statement 144 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 149 chrome/browser/history/android/android_cache_database.cc if (!statement.is_valid()) { statement 153 chrome/browser/history/android/android_cache_database.cc statement.BindString16(0, term); statement 154 chrome/browser/history/android/android_cache_database.cc if (!statement.Step()) statement 158 chrome/browser/history/android/android_cache_database.cc row->id = statement.ColumnInt64(0); statement 159 chrome/browser/history/android/android_cache_database.cc row->term = statement.ColumnString16(1); statement 160 chrome/browser/history/android/android_cache_database.cc row->last_visit_time = FromDatabaseTime(statement.ColumnInt64(2)); statement 162 chrome/browser/history/android/android_cache_database.cc return statement.ColumnInt64(0); statement 166 chrome/browser/history/android/android_cache_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 170 chrome/browser/history/android/android_cache_database.cc if (!statement.is_valid()) statement 172 chrome/browser/history/android/android_cache_database.cc return statement.Run(); statement 124 chrome/browser/history/android/android_history_provider_service.cc history::AndroidStatement* statement, statement 135 chrome/browser/history/android/android_history_provider_service.cc &HistoryBackend::MoveStatement, NULL, request, statement, statement 144 chrome/browser/history/android/android_history_provider_service.cc history::AndroidStatement* statement) { statement 149 chrome/browser/history/android/android_history_provider_service.cc &HistoryBackend::CloseStatement, statement); statement 151 chrome/browser/history/android/android_history_provider_service.cc delete statement; statement 120 chrome/browser/history/android/android_history_provider_service.h Handle MoveStatement(history::AndroidStatement* statement, statement 128 chrome/browser/history/android/android_history_provider_service.h void CloseStatement(history::AndroidStatement* statement); statement 113 chrome/browser/history/android/android_history_provider_service_unittest.cc AndroidStatement* statement) { statement 115 chrome/browser/history/android/android_history_provider_service_unittest.cc statement_ = statement; statement 180 chrome/browser/history/android/android_history_provider_service_unittest.cc AndroidStatement* statement = callback->statement(); statement 181 chrome/browser/history/android/android_history_provider_service_unittest.cc service_->MoveStatement(statement, 0, -1, &cancelable_consumer_, statement 185 chrome/browser/history/android/android_history_provider_service_unittest.cc EXPECT_TRUE(callback->statement()->statement()->Step()); statement 186 chrome/browser/history/android/android_history_provider_service_unittest.cc EXPECT_FALSE(callback->statement()->statement()->Step()); statement 187 chrome/browser/history/android/android_history_provider_service_unittest.cc service_->CloseStatement(statement); statement 236 chrome/browser/history/android/android_history_provider_service_unittest.cc AndroidStatement* statement = callback->statement(); statement 237 chrome/browser/history/android/android_history_provider_service_unittest.cc service_->MoveStatement(statement, 0, -1, &cancelable_consumer_, statement 241 chrome/browser/history/android/android_history_provider_service_unittest.cc EXPECT_TRUE(callback->statement()->statement()->Step()); statement 242 chrome/browser/history/android/android_history_provider_service_unittest.cc EXPECT_FALSE(callback->statement()->statement()->Step()); statement 243 chrome/browser/history/android/android_history_provider_service_unittest.cc service_->CloseStatement(statement); statement 135 chrome/browser/history/android/android_history_types.cc AndroidStatement::AndroidStatement(sql::Statement* statement, int favicon_index) statement 136 chrome/browser/history/android/android_history_types.cc : statement_(statement), statement 310 chrome/browser/history/android/android_history_types.h AndroidStatement(sql::Statement* statement, int favicon_index); statement 313 chrome/browser/history/android/android_history_types.h sql::Statement* statement() { statement 64 chrome/browser/history/android/android_provider_backend.cc sql::Statement* statement, statement 69 chrome/browser/history/android/android_provider_backend.cc statement->BindString16(*col_index, *i); statement 551 chrome/browser/history/android/android_provider_backend.cc scoped_ptr<sql::Statement> statement(new sql::Statement( statement 554 chrome/browser/history/android/android_provider_backend.cc BindStatement(selection_args, statement.get(), &count); statement 555 chrome/browser/history/android/android_provider_backend.cc if (!statement->is_valid()) { statement 559 chrome/browser/history/android/android_provider_backend.cc sql::Statement* result = statement.release(); statement 769 chrome/browser/history/android/android_provider_backend.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, statement 771 chrome/browser/history/android/android_provider_backend.cc while (statement.Step()) { statement 778 chrome/browser/history/android/android_provider_backend.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 781 chrome/browser/history/android/android_provider_backend.cc if (statement.ColumnType(2) != sql::COLUMN_TYPE_NULL) statement 782 chrome/browser/history/android/android_provider_backend.cc created_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); statement 785 chrome/browser/history/android/android_provider_backend.cc statement.ColumnInt64(0))) statement 859 chrome/browser/history/android/android_provider_backend.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, statement 861 chrome/browser/history/android/android_provider_backend.cc while (statement.Step()) { statement 862 chrome/browser/history/android/android_provider_backend.cc base::string16 term = statement.ColumnString16(0); statement 864 chrome/browser/history/android/android_provider_backend.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 919 chrome/browser/history/android/android_provider_backend.cc sql::Statement statement(db_->GetUniqueStatement(sql.c_str())); statement 921 chrome/browser/history/android/android_provider_backend.cc BindStatement(selection_args, &statement, &count); statement 922 chrome/browser/history/android/android_provider_backend.cc if (!statement.is_valid()) { statement 926 chrome/browser/history/android/android_provider_backend.cc while (statement.Step()) { statement 928 chrome/browser/history/android/android_provider_backend.cc row.url_id = statement.ColumnInt64(0); statement 929 chrome/browser/history/android/android_provider_backend.cc row.url = GURL(statement.ColumnString(1)); statement 930 chrome/browser/history/android/android_provider_backend.cc row.bookmarked = statement.ColumnBool(2); statement 946 chrome/browser/history/android/android_provider_backend.cc sql::Statement statement(db_->GetUniqueStatement(sql.c_str())); statement 948 chrome/browser/history/android/android_provider_backend.cc BindStatement(selection_args, &statement, &count); statement 949 chrome/browser/history/android/android_provider_backend.cc if (!statement.is_valid()) { statement 953 chrome/browser/history/android/android_provider_backend.cc while (statement.Step()) { statement 954 chrome/browser/history/android/android_provider_backend.cc rows->push_back(statement.ColumnString16(0)); statement 997 chrome/browser/history/android/android_provider_backend.cc scoped_ptr<AndroidStatement> statement; statement 998 chrome/browser/history/android/android_provider_backend.cc statement.reset(QueryHistoryAndBookmarksInternal(projections, oss.str(), statement 1000 chrome/browser/history/android/android_provider_backend.cc if (!statement.get() || !statement->statement()->Step()) statement 1005 chrome/browser/history/android/android_provider_backend.cc statement->statement()->ColumnInt64(0))); statement 1007 chrome/browser/history/android/android_provider_backend.cc statement->statement()->ColumnInt64(1))); statement 1008 chrome/browser/history/android/android_provider_backend.cc new_row.set_visit_count(statement->statement()->ColumnInt(2)); statement 1009 chrome/browser/history/android/android_provider_backend.cc new_row.set_title(statement->statement()->ColumnString16(3)); statement 1019 chrome/browser/history/android/android_provider_backend.cc chrome::FaviconID favicon_id = statement->statement()->ColumnInt64(4); statement 1032 chrome/browser/history/android/android_provider_backend.cc new_row.set_is_bookmark(statement->statement()->ColumnBool(5)); statement 1124 chrome/browser/history/android/android_provider_backend.cc scoped_ptr<sql::Statement> statement(new sql::Statement( statement 1127 chrome/browser/history/android/android_provider_backend.cc BindStatement(selection_args, statement.get(), &count); statement 1128 chrome/browser/history/android/android_provider_backend.cc if (!statement->is_valid()) { statement 1132 chrome/browser/history/android/android_provider_backend.cc sql::Statement* result = statement.release(); statement 161 chrome/browser/history/android/android_provider_backend_unittest.cc sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE, statement 164 chrome/browser/history/android/android_provider_backend_unittest.cc while (statement.Step()) { statement 166 chrome/browser/history/android/android_provider_backend_unittest.cc row.id = statement.ColumnInt64(0); statement 167 chrome/browser/history/android/android_provider_backend_unittest.cc row.raw_url = statement.ColumnString(1); statement 168 chrome/browser/history/android/android_provider_backend_unittest.cc row.url_id = statement.ColumnInt64(2); statement 176 chrome/browser/history/android/android_provider_backend_unittest.cc sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE, statement 180 chrome/browser/history/android/android_provider_backend_unittest.cc while (statement.Step()) { statement 182 chrome/browser/history/android/android_provider_backend_unittest.cc row.create_time_ = FromDatabaseTime(statement.ColumnInt64(0)); statement 183 chrome/browser/history/android/android_provider_backend_unittest.cc row.last_visit_time_ = FromDatabaseTime(statement.ColumnInt64(1)); statement 184 chrome/browser/history/android/android_provider_backend_unittest.cc row.url_id_ = statement.ColumnInt64(2); statement 185 chrome/browser/history/android/android_provider_backend_unittest.cc row.bookmark_ = statement.ColumnBool(3); statement 186 chrome/browser/history/android/android_provider_backend_unittest.cc row.favicon_id_ = statement.ColumnInt64(4); statement 441 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 444 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 445 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url1, GURL(statement->statement()->ColumnString(1))); statement 446 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(title1, statement->statement()->ColumnString16(2)); statement 448 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 450 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 451 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(3, statement->statement()->ColumnInt(5)); statement 452 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 454 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(0, statement->statement()->ColumnByteLength(6)); statement 455 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(statement->statement()->ColumnBool(7)); statement 457 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 458 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(title2, statement->statement()->ColumnString16(2)); statement 459 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url2, GURL(statement->statement()->ColumnString(1))); statement 461 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 463 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 464 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(3, statement->statement()->ColumnInt(5)); statement 466 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 468 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_NE(0, statement->statement()->ColumnByteLength(6)); statement 469 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->ColumnBool(7)); statement 472 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 475 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QueryHistoryAndBookmarks(projections, "bookmark=1", statement 478 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 479 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url1, GURL(statement->statement()->ColumnString(1))); statement 480 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 482 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QueryHistoryAndBookmarks(projections, "bookmark=0", statement 485 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 486 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url2, GURL(statement->statement()->ColumnString(1))); statement 487 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 560 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 563 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 564 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(row1.raw_url(), statement->statement()->ColumnString(1)); statement 565 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row1.title(), statement->statement()->ColumnString16(2)); statement 567 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 569 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 570 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row1.visit_count(), statement->statement()->ColumnInt(5)); statement 571 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 573 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(0, statement->statement()->ColumnByteLength(6)); statement 577 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(statement->statement()->ColumnBool(7)); statement 579 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 580 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row2.title(), statement->statement()->ColumnString16(2)); statement 581 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row2.url(), GURL(statement->statement()->ColumnString(1))); statement 583 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 585 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 586 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(1, statement->statement()->ColumnInt(5)); statement 587 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 589 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_NE(0, statement->statement()->ColumnByteLength(6)); statement 592 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->ColumnBool(7)); statement 595 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 667 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 670 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 672 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row2.title(), statement->statement()->ColumnString16(2)); statement 673 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row2.url(), GURL(statement->statement()->ColumnString(1))); statement 675 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 677 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 678 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(1, statement->statement()->ColumnInt(5)); statement 679 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 681 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_NE(0, statement->statement()->ColumnByteLength(6)); statement 684 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->ColumnBool(7)); statement 686 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 711 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_FALSE(statement1->statement()->Step()); statement 1289 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QuerySearchTerms( statement 1292 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1293 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1294 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(statement->statement()->ColumnInt64(0)); statement 1295 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(term, statement->statement()->ColumnString16(1)); statement 1297 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(2)); statement 1298 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1326 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QuerySearchTerms( statement 1328 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1329 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1330 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID id = statement->statement()->ColumnInt64(0); statement 1332 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1364 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "search = ?", args, statement 1366 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1367 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1369 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id, statement->statement()->ColumnInt64(0)); statement 1372 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(1)); statement 1374 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(update_term, statement->statement()->ColumnString16(2)); statement 1375 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1391 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "_id = ?", args, statement 1393 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1394 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1396 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id, statement->statement()->ColumnInt64(0)); statement 1399 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(1)); statement 1401 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(update_term, statement->statement()->ColumnString16(2)); statement 1402 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1430 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QuerySearchTerms( statement 1432 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1433 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1434 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID id1 = statement->statement()->ColumnInt64(0); statement 1436 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1457 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "search = ?", args, statement 1459 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1460 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1461 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID id2 = statement->statement()->ColumnInt64(0); statement 1463 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1479 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "_id = ?", args, statement 1481 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1482 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1489 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "_id = ?", args, statement 1491 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1492 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(statement->statement()->Step()); statement 1493 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id2, statement->statement()->ColumnInt64(0)); statement 1494 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1505 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QuerySearchTerms(projections, "_id = ?", args, statement 1507 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1508 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1534 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QuerySearchTerms( statement 1536 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement.get()); statement 1537 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1538 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id, statement->statement()->ColumnInt64(0)); statement 1540 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(1)); statement 1542 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnString16(2)); statement 1543 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1690 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 1694 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1696 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 1698 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 1699 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(url_row.visit_count(), statement->statement()->ColumnInt(5)); statement 1741 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 1744 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1745 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row1.raw_url(), statement->statement()->ColumnString(0)); statement 1746 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1749 chrome/browser/history/android/android_provider_backend_unittest.cc statement.reset(backend->QueryHistoryAndBookmarks( statement 1752 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1753 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(row2.url(), GURL(statement->statement()->ColumnString(0))); statement 1754 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 1841 chrome/browser/history/android/android_provider_backend_unittest.cc scoped_ptr<AndroidStatement> statement(backend->QueryHistoryAndBookmarks( statement 1844 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1845 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url1, GURL(statement->statement()->ColumnString(1))); statement 1846 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(title1, statement->statement()->ColumnString16(2)); statement 1848 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 1850 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 1851 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(3, statement->statement()->ColumnInt(5)); statement 1852 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 1854 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(0, statement->statement()->ColumnByteLength(6)); statement 1855 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(statement->statement()->ColumnBool(7)); statement 1857 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(statement->statement()->Step()); statement 1858 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(title2, statement->statement()->ColumnString16(2)); statement 1859 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(url2, GURL(statement->statement()->ColumnString(1))); statement 1861 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(3)); statement 1863 chrome/browser/history/android/android_provider_backend_unittest.cc statement->statement()->ColumnInt64(4)); statement 1864 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(3, statement->statement()->ColumnInt(5)); statement 1866 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(6, statement->favicon_index()); statement 1868 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(0, statement->statement()->ColumnByteLength(6)); statement 1869 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->ColumnBool(7)); statement 1872 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(statement->statement()->Step()); statement 2012 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_FALSE(statement1->statement()->Step()); statement 55 chrome/browser/history/android/android_urls_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 58 chrome/browser/history/android/android_urls_database.cc statement.BindString(0, raw_url); statement 59 chrome/browser/history/android/android_urls_database.cc statement.BindInt64(1, static_cast<int64>(url_id)); statement 61 chrome/browser/history/android/android_urls_database.cc if (!statement.Run()) { statement 69 chrome/browser/history/android/android_urls_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 72 chrome/browser/history/android/android_urls_database.cc statement.BindInt64(0, url_id); statement 74 chrome/browser/history/android/android_urls_database.cc if (!statement.Step()) statement 77 chrome/browser/history/android/android_urls_database.cc row->id = statement.ColumnInt64(0); statement 78 chrome/browser/history/android/android_urls_database.cc row->raw_url = statement.ColumnString(1); statement 79 chrome/browser/history/android/android_urls_database.cc row->url_id = statement.ColumnInt64(2); statement 123 chrome/browser/history/android/android_urls_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 126 chrome/browser/history/android/android_urls_database.cc statement.BindString(0, raw_url); statement 127 chrome/browser/history/android/android_urls_database.cc statement.BindInt64(1, url_id); statement 128 chrome/browser/history/android/android_urls_database.cc statement.BindInt64(2, id); statement 130 chrome/browser/history/android/android_urls_database.cc if (!statement.is_valid()) { statement 135 chrome/browser/history/android/android_urls_database.cc if (!statement.Run()) { statement 52 chrome/browser/history/android/android_urls_database_unittest.cc sql::Statement statement(db.GetDB().GetUniqueStatement( statement 54 chrome/browser/history/android/android_urls_database_unittest.cc ASSERT_TRUE(statement.Step()); statement 55 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ(1, statement.ColumnInt64(0)); statement 56 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ("http://google.com/", statement.ColumnString(2)); statement 57 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ(1, statement.ColumnInt64(1)); statement 59 chrome/browser/history/android/android_urls_database_unittest.cc ASSERT_TRUE(statement.Step()); statement 60 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ(4, statement.ColumnInt64(0)); statement 61 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ("www.google.com/", statement.ColumnString(2)); statement 62 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_EQ(3, statement.ColumnInt64(1)); statement 64 chrome/browser/history/android/android_urls_database_unittest.cc EXPECT_FALSE(statement.Step()); statement 53 chrome/browser/history/android/sqlite_cursor.cc history::AndroidStatement* statement, statement 56 chrome/browser/history/android/sqlite_cursor.cc SQLiteCursor* cursor = new SQLiteCursor(column_names, statement, service, statement 83 chrome/browser/history/android/sqlite_cursor.cc base::string16 value = statement_->statement()->ColumnString16(column); statement 89 chrome/browser/history/android/sqlite_cursor.cc return statement_->statement()->ColumnInt64(column); statement 93 chrome/browser/history/android/sqlite_cursor.cc return statement_->statement()->ColumnInt(column); statement 97 chrome/browser/history/android/sqlite_cursor.cc return statement_->statement()->ColumnDouble(column); statement 107 chrome/browser/history/android/sqlite_cursor.cc if (!GetFavicon(statement_->statement()->ColumnInt(column), &blob)) statement 110 chrome/browser/history/android/sqlite_cursor.cc statement_->statement()->ColumnBlobAsVector(column, &blob); statement 149 chrome/browser/history/android/sqlite_cursor.cc history::AndroidStatement* statement, statement 154 chrome/browser/history/android/sqlite_cursor.cc statement_(statement), statement 234 chrome/browser/history/android/sqlite_cursor.cc return ToJavaColumnType(statement_->statement()->ColumnType(column)); statement 76 chrome/browser/history/android/sqlite_cursor.h history::AndroidStatement* statement, statement 133 chrome/browser/history/android/sqlite_cursor.h history::AndroidStatement* statement, statement 134 chrome/browser/history/android/sqlite_cursor_unittest.cc AndroidStatement* statement) { statement 136 chrome/browser/history/android/sqlite_cursor_unittest.cc statement_ = statement; statement 187 chrome/browser/history/android/sqlite_cursor_unittest.cc AndroidStatement* statement = callback->statement(); statement 200 chrome/browser/history/android/sqlite_cursor_unittest.cc SQLiteCursor* cursor = new SQLiteCursor(column_names, statement, statement 73 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path, statement 75 chrome/browser/history/download_database.cc statement.BindString(col, path.value()); statement 77 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) { statement 78 chrome/browser/history/download_database.cc return base::FilePath(statement.ColumnString(col)); statement 84 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path, statement 86 chrome/browser/history/download_database.cc statement.BindString16(col, path.value()); statement 88 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) { statement 89 chrome/browser/history/download_database.cc return base::FilePath(statement.ColumnString16(col)); statement 217 chrome/browser/history/download_database.cc sql::Statement statement(GetDB().GetUniqueStatement( statement 219 chrome/browser/history/download_database.cc statement.BindInt(0, kStateInterrupted); statement 220 chrome/browser/history/download_database.cc statement.BindInt(1, kStateBug140687); statement 221 chrome/browser/history/download_database.cc return statement.Run(); statement 464 chrome/browser/history/download_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 471 chrome/browser/history/download_database.cc BindFilePath(statement, data.current_path, column++); statement 472 chrome/browser/history/download_database.cc BindFilePath(statement, data.target_path, column++); statement 473 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.received_bytes); statement 474 chrome/browser/history/download_database.cc statement.BindInt(column++, state); statement 475 chrome/browser/history/download_database.cc statement.BindInt(column++, danger_type); statement 476 chrome/browser/history/download_database.cc statement.BindInt(column++, static_cast<int>(data.interrupt_reason)); statement 477 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.end_time.ToInternalValue()); statement 478 chrome/browser/history/download_database.cc statement.BindInt64(column++, data.total_bytes); statement 479 chrome/browser/history/download_database.cc statement.BindInt(column++, (data.opened ? 1 : 0)); statement 480 chrome/browser/history/download_database.cc statement.BindString(column++, data.by_ext_id); statement 481 chrome/browser/history/download_database.cc statement.BindString(column++, data.by_ext_name); statement 482 chrome/browser/history/download_database.cc statement.BindString(column++, data.etag); statement 483 chrome/browser/history/download_database.cc statement.BindString(column++, data.last_modified); statement 484 chrome/browser/history/download_database.cc statement.BindInt(column++, data.id); statement 486 chrome/browser/history/download_database.cc return statement.Run(); statement 493 chrome/browser/history/download_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 495 chrome/browser/history/download_database.cc statement.BindInt(0, kStateInterrupted); statement 496 chrome/browser/history/download_database.cc statement.BindInt(1, content::DOWNLOAD_INTERRUPT_REASON_CRASH); statement 497 chrome/browser/history/download_database.cc statement.BindInt(2, kStateInProgress); statement 499 chrome/browser/history/download_database.cc statement.Run(); statement 620 chrome/browser/history/download_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 622 chrome/browser/history/download_database.cc statement.Step(); statement 623 chrome/browser/history/download_database.cc return statement.ColumnInt(0); statement 340 chrome/browser/history/history_backend.h history::AndroidStatement* statement, statement 345 chrome/browser/history/history_backend.h void CloseStatement(AndroidStatement* statement); statement 33 chrome/browser/history/history_backend_android.cc AndroidStatement* statement = NULL; statement 35 chrome/browser/history/history_backend_android.cc statement = android_provider_backend_->QueryHistoryAndBookmarks( statement 38 chrome/browser/history/history_backend_android.cc request->ForwardResult(request->handle(), statement, statement); statement 95 chrome/browser/history/history_backend_android.cc history::AndroidStatement* statement, statement 103 chrome/browser/history/history_backend_android.cc statement->statement()->Reset(false); statement 107 chrome/browser/history/history_backend_android.cc if (!statement->statement()->Step()) statement 114 chrome/browser/history/history_backend_android.cc void HistoryBackend::CloseStatement(AndroidStatement* statement) { statement 115 chrome/browser/history/history_backend_android.cc delete statement; statement 175 chrome/browser/history/history_backend_android.cc AndroidStatement* statement = NULL; statement 177 chrome/browser/history/history_backend_android.cc statement = android_provider_backend_->QuerySearchTerms(projections, statement 180 chrome/browser/history/history_backend_android.cc request->ForwardResult(request->handle(), statement, statement); statement 312 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 317 chrome/browser/history/history_unittest.cc while (statement.Step()) { statement 318 chrome/browser/history/history_unittest.cc EXPECT_EQ(1 + counter, statement.ColumnInt64(0)); statement 321 chrome/browser/history/history_unittest.cc EXPECT_EQ(((counter == 3) ? 4 : counter), statement.ColumnInt(1)); statement 322 chrome/browser/history/history_unittest.cc EXPECT_EQ(counter % 2, statement.ColumnInt(2)); statement 396 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 400 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 401 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, statement.ColumnInt64(0)); statement 403 chrome/browser/history/history_unittest.cc statement.ColumnInt(1)); statement 404 chrome/browser/history/history_unittest.cc EXPECT_EQ("", statement.ColumnString(2)); statement 405 chrome/browser/history/history_unittest.cc EXPECT_EQ("", statement.ColumnString(3)); statement 408 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, statement.ColumnInt(4)); statement 409 chrome/browser/history/history_unittest.cc EXPECT_EQ(nowish.ToInternalValue(), statement.ColumnInt64(5)); statement 410 chrome/browser/history/history_unittest.cc EXPECT_EQ(nowish.ToInternalValue(), statement.ColumnInt64(6)); statement 412 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 413 chrome/browser/history/history_unittest.cc EXPECT_EQ(2, statement.ColumnInt64(0)); statement 415 chrome/browser/history/history_unittest.cc statement.ColumnInt(1)); statement 416 chrome/browser/history/history_unittest.cc EXPECT_EQ("/path/to/some/file", statement.ColumnString(2)); statement 417 chrome/browser/history/history_unittest.cc EXPECT_EQ("/path/to/some/file", statement.ColumnString(3)); statement 418 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, statement.ColumnInt(4)); statement 419 chrome/browser/history/history_unittest.cc EXPECT_EQ(nowish.ToInternalValue(), statement.ColumnInt64(5)); statement 420 chrome/browser/history/history_unittest.cc EXPECT_EQ(nowish.ToInternalValue(), statement.ColumnInt64(6)); statement 422 chrome/browser/history/history_unittest.cc EXPECT_FALSE(statement.Step()); statement 426 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 429 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 430 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, statement.ColumnInt64(0)); statement 431 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, statement.ColumnInt(1)); statement 432 chrome/browser/history/history_unittest.cc EXPECT_EQ("http://whatever.com/index.html", statement.ColumnString(2)); statement 434 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 435 chrome/browser/history/history_unittest.cc EXPECT_EQ(2, statement.ColumnInt64(0)); statement 436 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, statement.ColumnInt(1)); statement 437 chrome/browser/history/history_unittest.cc EXPECT_EQ("http://whatever.com/index1.html", statement.ColumnString(2)); statement 439 chrome/browser/history/history_unittest.cc EXPECT_FALSE(statement.Step()); statement 637 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 639 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 640 chrome/browser/history/history_unittest.cc EXPECT_EQ(3, statement.ColumnInt(0)); statement 656 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 658 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 659 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, statement.ColumnInt(0)); statement 701 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 703 chrome/browser/history/history_unittest.cc ASSERT_TRUE(statement.Run()); statement 716 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 718 chrome/browser/history/history_unittest.cc ASSERT_TRUE(statement.Step()); statement 719 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, statement.ColumnInt(0)); statement 738 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 740 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 741 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, statement.ColumnInt(0)); statement 768 chrome/browser/history/history_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 770 chrome/browser/history/history_unittest.cc EXPECT_TRUE(statement.Step()); statement 771 chrome/browser/history/history_unittest.cc EXPECT_EQ(1, statement.ColumnInt(0)); statement 235 chrome/browser/history/in_memory_url_index_unittest.cc sql::Statement statement(db.GetUniqueStatement( statement 237 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 243 chrome/browser/history/in_memory_url_index_unittest.cc while (statement.Step()) { statement 245 chrome/browser/history/in_memory_url_index_unittest.cc history_database_->FillURLRow(statement, &row); statement 257 chrome/browser/history/in_memory_url_index_unittest.cc statement.Assign(db.GetUniqueStatement( statement 259 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 263 chrome/browser/history/in_memory_url_index_unittest.cc while (statement.Step()) { statement 265 chrome/browser/history/in_memory_url_index_unittest.cc history_database_->FillVisitRow(statement, &row); statement 428 chrome/browser/history/in_memory_url_index_unittest.cc sql::Statement statement(GetDB().GetUniqueStatement("SELECT * FROM urls;")); statement 429 chrome/browser/history/in_memory_url_index_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 431 chrome/browser/history/in_memory_url_index_unittest.cc while (statement.Step()) ++row_count; statement 252 chrome/browser/history/shortcuts_database_unittest.cc sql::Statement statement(connection.GetUniqueStatement( statement 255 chrome/browser/history/shortcuts_database_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 256 chrome/browser/history/shortcuts_database_unittest.cc while (statement.Step()) { statement 258 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_EQ(statement.ColumnString(1), statement.ColumnString(0)); statement 262 chrome/browser/history/shortcuts_database_unittest.cc static_cast<content::PageTransition>(statement.ColumnInt(2))); statement 264 chrome/browser/history/shortcuts_database_unittest.cc static_cast<AutocompleteMatchType::Type>(statement.ColumnInt(3))); statement 265 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(statement.ColumnString(4).empty()); statement 267 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(statement.Succeeded()); statement 293 chrome/browser/history/shortcuts_database_unittest.cc sql::Statement statement(connection.GetUniqueStatement( statement 295 chrome/browser/history/shortcuts_database_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 296 chrome/browser/history/shortcuts_database_unittest.cc while (statement.Step()) statement 297 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_EQ(0, statement.ColumnInt(0)); statement 298 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(statement.Succeeded()); statement 91 chrome/browser/history/thumbnail_database.cc void FillIconMapping(const sql::Statement& statement, statement 94 chrome/browser/history/thumbnail_database.cc icon_mapping->mapping_id = statement.ColumnInt64(0); statement 95 chrome/browser/history/thumbnail_database.cc icon_mapping->icon_id = statement.ColumnInt64(1); statement 97 chrome/browser/history/thumbnail_database.cc static_cast<chrome::IconType>(statement.ColumnInt(2)); statement 98 chrome/browser/history/thumbnail_database.cc icon_mapping->icon_url = GURL(statement.ColumnString(3)); statement 182 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db->GetUniqueStatement(kVersionSql)); statement 183 chrome/browser/history/thumbnail_database.cc if (statement.Step()) { statement 185 chrome/browser/history/thumbnail_database.cc debug_info += statement.ColumnString(0); statement 187 chrome/browser/history/thumbnail_database.cc } else if (statement.Succeeded()) { statement 209 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db->GetUniqueStatement(kSchemaSql)); statement 210 chrome/browser/history/thumbnail_database.cc while (statement.Step()) { statement 211 chrome/browser/history/thumbnail_database.cc debug_info += statement.ColumnString(0); statement 214 chrome/browser/history/thumbnail_database.cc if (!statement.Succeeded()) statement 652 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 654 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, icon_id); statement 657 chrome/browser/history/thumbnail_database.cc while (statement.Step()) { statement 663 chrome/browser/history/thumbnail_database.cc bitmap_id_size.bitmap_id = statement.ColumnInt64(0); statement 664 chrome/browser/history/thumbnail_database.cc bitmap_id_size.pixel_size = gfx::Size(statement.ColumnInt(1), statement 665 chrome/browser/history/thumbnail_database.cc statement.ColumnInt(2)); statement 675 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 678 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, icon_id); statement 681 chrome/browser/history/thumbnail_database.cc while (statement.Step()) { statement 687 chrome/browser/history/thumbnail_database.cc favicon_bitmap.bitmap_id = statement.ColumnInt64(0); statement 690 chrome/browser/history/thumbnail_database.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 691 chrome/browser/history/thumbnail_database.cc if (statement.ColumnByteLength(2) > 0) { statement 693 chrome/browser/history/thumbnail_database.cc statement.ColumnBlobAsVector(2, &data->data()); statement 696 chrome/browser/history/thumbnail_database.cc favicon_bitmap.pixel_size = gfx::Size(statement.ColumnInt(3), statement 697 chrome/browser/history/thumbnail_database.cc statement.ColumnInt(4)); statement 709 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 712 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, bitmap_id); statement 714 chrome/browser/history/thumbnail_database.cc if (!statement.Step()) statement 718 chrome/browser/history/thumbnail_database.cc *last_updated = base::Time::FromInternalValue(statement.ColumnInt64(0)); statement 720 chrome/browser/history/thumbnail_database.cc if (png_icon_data && statement.ColumnByteLength(1) > 0) { statement 722 chrome/browser/history/thumbnail_database.cc statement.ColumnBlobAsVector(1, &data->data()); statement 727 chrome/browser/history/thumbnail_database.cc *pixel_size = gfx::Size(statement.ColumnInt(2), statement 728 chrome/browser/history/thumbnail_database.cc statement.ColumnInt(3)); statement 739 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 742 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, icon_id); statement 744 chrome/browser/history/thumbnail_database.cc statement.BindBlob(1, icon_data->front(), statement 747 chrome/browser/history/thumbnail_database.cc statement.BindNull(1); statement 749 chrome/browser/history/thumbnail_database.cc statement.BindInt64(2, time.ToInternalValue()); statement 750 chrome/browser/history/thumbnail_database.cc statement.BindInt(3, pixel_size.width()); statement 751 chrome/browser/history/thumbnail_database.cc statement.BindInt(4, pixel_size.height()); statement 753 chrome/browser/history/thumbnail_database.cc if (!statement.Run()) statement 763 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 766 chrome/browser/history/thumbnail_database.cc statement.BindBlob(0, bitmap_data->front(), statement 769 chrome/browser/history/thumbnail_database.cc statement.BindNull(0); statement 771 chrome/browser/history/thumbnail_database.cc statement.BindInt64(1, time.ToInternalValue()); statement 772 chrome/browser/history/thumbnail_database.cc statement.BindInt64(2, bitmap_id); statement 774 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 781 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 783 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, time.ToInternalValue()); statement 784 chrome/browser/history/thumbnail_database.cc statement.BindInt64(1, bitmap_id); statement 785 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 789 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 791 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, bitmap_id); statement 792 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 796 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 798 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, 0); statement 799 chrome/browser/history/thumbnail_database.cc statement.BindInt64(1, icon_id); statement 801 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 808 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 811 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(icon_url)); statement 812 chrome/browser/history/thumbnail_database.cc statement.BindInt(1, required_icon_type); statement 814 chrome/browser/history/thumbnail_database.cc if (!statement.Step()) statement 818 chrome/browser/history/thumbnail_database.cc *icon_type = static_cast<chrome::IconType>(statement.ColumnInt(1)); statement 819 chrome/browser/history/thumbnail_database.cc return statement.ColumnInt64(0); statement 827 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 829 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, icon_id); statement 831 chrome/browser/history/thumbnail_database.cc if (!statement.Step()) statement 835 chrome/browser/history/thumbnail_database.cc *icon_url = GURL(statement.ColumnString(0)); statement 837 chrome/browser/history/thumbnail_database.cc *icon_type = static_cast<chrome::IconType>(statement.ColumnInt(1)); statement 846 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 848 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(icon_url)); statement 849 chrome/browser/history/thumbnail_database.cc statement.BindInt(1, icon_type); statement 851 chrome/browser/history/thumbnail_database.cc if (!statement.Run()) statement 870 chrome/browser/history/thumbnail_database.cc sql::Statement statement; statement 871 chrome/browser/history/thumbnail_database.cc statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE, statement 873 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, id); statement 874 chrome/browser/history/thumbnail_database.cc if (!statement.Run()) statement 877 chrome/browser/history/thumbnail_database.cc statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE, statement 879 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, id); statement 880 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 913 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 921 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(page_url)); statement 924 chrome/browser/history/thumbnail_database.cc while (statement.Step()) { statement 930 chrome/browser/history/thumbnail_database.cc FillIconMapping(statement, page_url, &icon_mapping); statement 940 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, kSql)); statement 941 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(page_url)); statement 942 chrome/browser/history/thumbnail_database.cc statement.BindInt64(1, icon_id); statement 944 chrome/browser/history/thumbnail_database.cc if (!statement.Run()) statement 952 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 954 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, icon_id); statement 955 chrome/browser/history/thumbnail_database.cc statement.BindInt64(1, mapping_id); statement 957 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 961 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 963 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(page_url)); statement 965 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 969 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 971 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, mapping_id); statement 973 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 977 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 980 chrome/browser/history/thumbnail_database.cc statement.BindInt64(0, id); statement 982 chrome/browser/history/thumbnail_database.cc return statement.Step(); statement 987 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, statement 990 chrome/browser/history/thumbnail_database.cc if (!statement.is_valid()) statement 994 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(new_page_url)); statement 995 chrome/browser/history/thumbnail_database.cc if (statement.Step()) statement 998 chrome/browser/history/thumbnail_database.cc statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE, statement 1003 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(new_page_url)); statement 1004 chrome/browser/history/thumbnail_database.cc statement.BindString(1, URLDatabase::GURLToDatabaseURL(old_page_url)); statement 1005 chrome/browser/history/thumbnail_database.cc return statement.Run(); statement 1045 chrome/browser/history/thumbnail_database.cc sql::Statement statement(db_.GetUniqueStatement(kIconMappingSql)); statement 1048 chrome/browser/history/thumbnail_database.cc statement.BindString(0, URLDatabase::GURLToDatabaseURL(*i)); statement 1049 chrome/browser/history/thumbnail_database.cc if (!statement.Run()) statement 1051 chrome/browser/history/thumbnail_database.cc statement.Reset(true); statement 439 chrome/browser/history/top_sites_database.cc sql::Statement statement(db_->GetCachedStatement( statement 445 chrome/browser/history/top_sites_database.cc if (!statement.is_valid()) { statement 453 chrome/browser/history/top_sites_database.cc while (statement.Step()) { statement 457 chrome/browser/history/top_sites_database.cc GURL gurl(statement.ColumnString(0)); statement 459 chrome/browser/history/top_sites_database.cc url.title = statement.ColumnString16(2); statement 461 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(10)); statement 462 chrome/browser/history/top_sites_database.cc std::string redirects = statement.ColumnString(4); statement 467 chrome/browser/history/top_sites_database.cc statement.ColumnBlobAsVector(3, &data); statement 471 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); statement 472 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6); statement 473 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail_score.at_top = statement.ColumnBool(7); statement 475 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(8)); statement 476 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail_score.load_completed = statement.ColumnBool(9); statement 500 chrome/browser/history/top_sites_database.cc sql::Statement statement(db_->GetCachedStatement( statement 507 chrome/browser/history/top_sites_database.cc statement.BindString16(0, url.title); statement 509 chrome/browser/history/top_sites_database.cc statement.BindBlob(1, thumbnail.thumbnail->front(), statement 512 chrome/browser/history/top_sites_database.cc statement.BindString(2, GetRedirects(url)); statement 514 chrome/browser/history/top_sites_database.cc statement.BindDouble(3, score.boring_score); statement 515 chrome/browser/history/top_sites_database.cc statement.BindBool(4, score.good_clipping); statement 516 chrome/browser/history/top_sites_database.cc statement.BindBool(5, score.at_top); statement 517 chrome/browser/history/top_sites_database.cc statement.BindInt64(6, score.time_at_snapshot.ToInternalValue()); statement 518 chrome/browser/history/top_sites_database.cc statement.BindBool(7, score.load_completed); statement 519 chrome/browser/history/top_sites_database.cc statement.BindInt64(8, url.last_forced_time.ToInternalValue()); statement 520 chrome/browser/history/top_sites_database.cc statement.BindString(9, url.url.spec()); statement 522 chrome/browser/history/top_sites_database.cc return statement.Run(); statement 528 chrome/browser/history/top_sites_database.cc sql::Statement statement(db_->GetCachedStatement( statement 534 chrome/browser/history/top_sites_database.cc statement.BindString(0, url.url.spec()); statement 535 chrome/browser/history/top_sites_database.cc statement.BindInt(1, kRankOfForcedURL); // Fist make it a forced thumbnail. statement 536 chrome/browser/history/top_sites_database.cc statement.BindString16(2, url.title); statement 538 chrome/browser/history/top_sites_database.cc statement.BindBlob(3, thumbnail.thumbnail->front(), statement 541 chrome/browser/history/top_sites_database.cc statement.BindString(4, GetRedirects(url)); statement 543 chrome/browser/history/top_sites_database.cc statement.BindDouble(5, score.boring_score); statement 544 chrome/browser/history/top_sites_database.cc statement.BindBool(6, score.good_clipping); statement 545 chrome/browser/history/top_sites_database.cc statement.BindBool(7, score.at_top); statement 546 chrome/browser/history/top_sites_database.cc statement.BindInt64(8, score.time_at_snapshot.ToInternalValue()); statement 547 chrome/browser/history/top_sites_database.cc statement.BindBool(9, score.load_completed); statement 552 chrome/browser/history/top_sites_database.cc statement.BindInt64(10, last_forced); statement 553 chrome/browser/history/top_sites_database.cc if (!statement.Run()) statement 655 chrome/browser/history/top_sites_database.cc sql::Statement statement(db_->GetCachedStatement( statement 659 chrome/browser/history/top_sites_database.cc statement.BindString(0, url.spec()); statement 660 chrome/browser/history/top_sites_database.cc if (!statement.Step()) statement 664 chrome/browser/history/top_sites_database.cc statement.ColumnBlobAsVector(0, &data); statement 666 chrome/browser/history/top_sites_database.cc thumbnail->thumbnail_score.boring_score = statement.ColumnDouble(1); statement 667 chrome/browser/history/top_sites_database.cc thumbnail->thumbnail_score.good_clipping = statement.ColumnBool(2); statement 668 chrome/browser/history/top_sites_database.cc thumbnail->thumbnail_score.at_top = statement.ColumnBool(3); statement 670 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4)); statement 80 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 82 chrome/browser/history/url_database.cc statement.BindInt64(0, url_id); statement 84 chrome/browser/history/url_database.cc if (statement.Step()) { statement 85 chrome/browser/history/url_database.cc FillURLRow(statement, info); statement 92 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 95 chrome/browser/history/url_database.cc while (statement.Step()) { statement 97 chrome/browser/history/url_database.cc FillURLRow(statement, &info); statement 104 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 107 chrome/browser/history/url_database.cc statement.BindString(0, url_string); statement 109 chrome/browser/history/url_database.cc if (!statement.Step()) statement 113 chrome/browser/history/url_database.cc FillURLRow(statement, info); statement 114 chrome/browser/history/url_database.cc return statement.ColumnInt64(0); statement 119 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 123 chrome/browser/history/url_database.cc statement.BindString16(0, info.title()); statement 124 chrome/browser/history/url_database.cc statement.BindInt(1, info.visit_count()); statement 125 chrome/browser/history/url_database.cc statement.BindInt(2, info.typed_count()); statement 126 chrome/browser/history/url_database.cc statement.BindInt64(3, info.last_visit().ToInternalValue()); statement 127 chrome/browser/history/url_database.cc statement.BindInt(4, info.hidden() ? 1 : 0); statement 128 chrome/browser/history/url_database.cc statement.BindInt64(5, url_id); statement 130 chrome/browser/history/url_database.cc return statement.Run(); statement 154 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement( statement 156 chrome/browser/history/url_database.cc statement.BindString(0, GURLToDatabaseURL(info.url())); statement 157 chrome/browser/history/url_database.cc statement.BindString16(1, info.title()); statement 158 chrome/browser/history/url_database.cc statement.BindInt(2, info.visit_count()); statement 159 chrome/browser/history/url_database.cc statement.BindInt(3, info.typed_count()); statement 160 chrome/browser/history/url_database.cc statement.BindInt64(4, info.last_visit().ToInternalValue()); statement 161 chrome/browser/history/url_database.cc statement.BindInt(5, info.hidden() ? 1 : 0); statement 163 chrome/browser/history/url_database.cc if (!statement.Run()) { statement 184 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 189 chrome/browser/history/url_database.cc statement.BindInt64(0, info.id()); statement 190 chrome/browser/history/url_database.cc statement.BindString(1, GURLToDatabaseURL(info.url())); statement 191 chrome/browser/history/url_database.cc statement.BindString16(2, info.title()); statement 192 chrome/browser/history/url_database.cc statement.BindInt(3, info.visit_count()); statement 193 chrome/browser/history/url_database.cc statement.BindInt(4, info.typed_count()); statement 194 chrome/browser/history/url_database.cc statement.BindInt64(5, info.last_visit().ToInternalValue()); statement 195 chrome/browser/history/url_database.cc statement.BindInt(6, info.hidden() ? 1 : 0); statement 197 chrome/browser/history/url_database.cc return statement.Run(); statement 201 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 203 chrome/browser/history/url_database.cc statement.BindInt64(0, id); statement 205 chrome/browser/history/url_database.cc if (!statement.Run()) statement 291 chrome/browser/history/url_database.cc sql::Statement statement( statement 301 chrome/browser/history/url_database.cc statement.BindString(0, prefix); statement 302 chrome/browser/history/url_database.cc statement.BindString(1, end_query); statement 303 chrome/browser/history/url_database.cc statement.BindInt(2, static_cast<int>(max_results)); statement 305 chrome/browser/history/url_database.cc while (statement.Step()) { statement 307 chrome/browser/history/url_database.cc FillURLRow(statement, &info); statement 349 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetUniqueStatement(sql.c_str())); statement 350 chrome/browser/history/url_database.cc statement.BindString(0, base); statement 351 chrome/browser/history/url_database.cc statement.BindString(1, url); // :end statement 352 chrome/browser/history/url_database.cc statement.BindInt(2, min_visits); statement 353 chrome/browser/history/url_database.cc statement.BindInt(3, min_typed); statement 355 chrome/browser/history/url_database.cc if (!statement.Step()) statement 359 chrome/browser/history/url_database.cc FillURLRow(statement, info); statement 369 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 372 chrome/browser/history/url_database.cc while (statement.Step()) { statement 374 chrome/browser/history/url_database.cc base::string16 url = base::i18n::ToLower(statement.ColumnString16(1)); statement 386 chrome/browser/history/url_database.cc base::string16 title = base::i18n::ToLower(statement.ColumnString16(2)); statement 391 chrome/browser/history/url_database.cc FillURLRow(statement, &info); statement 458 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 461 chrome/browser/history/url_database.cc statement.BindInt64(0, keyword_id); statement 462 chrome/browser/history/url_database.cc statement.BindInt64(1, url_id); statement 463 chrome/browser/history/url_database.cc statement.BindString16(2, base::i18n::ToLower(term)); statement 464 chrome/browser/history/url_database.cc statement.BindString16(3, term); statement 465 chrome/browser/history/url_database.cc return statement.Run(); statement 471 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 473 chrome/browser/history/url_database.cc statement.BindInt64(0, url_id); statement 475 chrome/browser/history/url_database.cc if (!statement.Step()) statement 480 chrome/browser/history/url_database.cc row->keyword_id = statement.ColumnInt64(0); statement 481 chrome/browser/history/url_database.cc row->term = statement.ColumnString16(1); statement 489 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 491 chrome/browser/history/url_database.cc statement.BindString16(0, term); statement 493 chrome/browser/history/url_database.cc if (!statement.is_valid()) statement 496 chrome/browser/history/url_database.cc while (statement.Step()) { statement 498 chrome/browser/history/url_database.cc row.url_id = statement.ColumnInt64(1); statement 499 chrome/browser/history/url_database.cc row.keyword_id = statement.ColumnInt64(0); statement 509 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 511 chrome/browser/history/url_database.cc statement.BindInt64(0, keyword_id); statement 513 chrome/browser/history/url_database.cc statement.Run(); statement 528 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 541 chrome/browser/history/url_database.cc statement.BindInt64(0, keyword_id); statement 542 chrome/browser/history/url_database.cc statement.BindString16(1, lower_prefix); statement 543 chrome/browser/history/url_database.cc statement.BindString16(2, next_prefix); statement 544 chrome/browser/history/url_database.cc statement.BindInt(3, max_count); statement 547 chrome/browser/history/url_database.cc while (statement.Step()) { statement 548 chrome/browser/history/url_database.cc visit.term = statement.ColumnString16(0); statement 549 chrome/browser/history/url_database.cc visit.visits = statement.ColumnInt(1); statement 550 chrome/browser/history/url_database.cc visit.time = base::Time::FromInternalValue(statement.ColumnInt64(2)); statement 556 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 558 chrome/browser/history/url_database.cc statement.BindString16(0, term); statement 560 chrome/browser/history/url_database.cc return statement.Run(); statement 564 chrome/browser/history/url_database.cc sql::Statement statement(GetDB().GetCachedStatement( statement 566 chrome/browser/history/url_database.cc statement.BindInt64(0, url_id); statement 567 chrome/browser/history/url_database.cc return statement.Run(); statement 85 chrome/browser/history/visit_database.cc void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { statement 86 chrome/browser/history/visit_database.cc visit->visit_id = statement.ColumnInt64(0); statement 87 chrome/browser/history/visit_database.cc visit->url_id = statement.ColumnInt64(1); statement 88 chrome/browser/history/visit_database.cc visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); statement 89 chrome/browser/history/visit_database.cc visit->referring_visit = statement.ColumnInt64(3); statement 90 chrome/browser/history/visit_database.cc visit->transition = content::PageTransitionFromInt(statement.ColumnInt(4)); statement 91 chrome/browser/history/visit_database.cc visit->segment_id = statement.ColumnInt64(5); statement 93 chrome/browser/history/visit_database.cc base::TimeDelta::FromInternalValue(statement.ColumnInt64(6)); statement 97 chrome/browser/history/visit_database.cc bool VisitDatabase::FillVisitVector(sql::Statement& statement, statement 99 chrome/browser/history/visit_database.cc if (!statement.is_valid()) statement 102 chrome/browser/history/visit_database.cc while (statement.Step()) { statement 104 chrome/browser/history/visit_database.cc FillVisitRow(statement, &visit); statement 108 chrome/browser/history/visit_database.cc return statement.Succeeded(); statement 112 chrome/browser/history/visit_database.cc bool VisitDatabase::FillVisitVectorWithOptions(sql::Statement& statement, statement 121 chrome/browser/history/visit_database.cc while (statement.Step()) { statement 123 chrome/browser/history/visit_database.cc FillVisitRow(statement, &visit); statement 145 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 149 chrome/browser/history/visit_database.cc statement.BindInt64(0, visit->url_id); statement 150 chrome/browser/history/visit_database.cc statement.BindInt64(1, visit->visit_time.ToInternalValue()); statement 151 chrome/browser/history/visit_database.cc statement.BindInt64(2, visit->referring_visit); statement 152 chrome/browser/history/visit_database.cc statement.BindInt64(3, visit->transition); statement 153 chrome/browser/history/visit_database.cc statement.BindInt64(4, visit->segment_id); statement 154 chrome/browser/history/visit_database.cc statement.BindInt64(5, visit->visit_duration.ToInternalValue()); statement 156 chrome/browser/history/visit_database.cc if (!statement.Run()) { statement 208 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 210 chrome/browser/history/visit_database.cc statement.BindInt64(0, visit_id); statement 212 chrome/browser/history/visit_database.cc if (!statement.Step()) statement 215 chrome/browser/history/visit_database.cc FillVisitRow(statement, out_visit); statement 231 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 235 chrome/browser/history/visit_database.cc statement.BindInt64(0, visit.url_id); statement 236 chrome/browser/history/visit_database.cc statement.BindInt64(1, visit.visit_time.ToInternalValue()); statement 237 chrome/browser/history/visit_database.cc statement.BindInt64(2, visit.referring_visit); statement 238 chrome/browser/history/visit_database.cc statement.BindInt64(3, visit.transition); statement 239 chrome/browser/history/visit_database.cc statement.BindInt64(4, visit.segment_id); statement 240 chrome/browser/history/visit_database.cc statement.BindInt64(5, visit.visit_duration.ToInternalValue()); statement 241 chrome/browser/history/visit_database.cc statement.BindInt64(6, visit.visit_id); statement 243 chrome/browser/history/visit_database.cc return statement.Run(); statement 249 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 254 chrome/browser/history/visit_database.cc statement.BindInt64(0, url_id); statement 255 chrome/browser/history/visit_database.cc return FillVisitVector(statement, visits); statement 263 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 271 chrome/browser/history/visit_database.cc statement.BindInt64(0, url_id); statement 272 chrome/browser/history/visit_database.cc statement.BindInt64(1, options.EffectiveBeginTime()); statement 273 chrome/browser/history/visit_database.cc statement.BindInt64(2, options.EffectiveEndTime()); statement 274 chrome/browser/history/visit_database.cc statement.BindInt(3, content::PAGE_TRANSITION_CHAIN_END); statement 275 chrome/browser/history/visit_database.cc statement.BindInt(4, content::PAGE_TRANSITION_CORE_MASK); statement 276 chrome/browser/history/visit_database.cc statement.BindInt(5, content::PAGE_TRANSITION_AUTO_SUBFRAME); statement 277 chrome/browser/history/visit_database.cc statement.BindInt(6, content::PAGE_TRANSITION_MANUAL_SUBFRAME); statement 278 chrome/browser/history/visit_database.cc statement.BindInt(7, content::PAGE_TRANSITION_KEYWORD_GENERATED); statement 280 chrome/browser/history/visit_database.cc return FillVisitVectorWithOptions(statement, options, visits); statement 289 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 293 chrome/browser/history/visit_database.cc statement.BindInt64(0, it->ToInternalValue()); statement 295 chrome/browser/history/visit_database.cc if (!FillVisitVector(statement, visits)) statement 307 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 314 chrome/browser/history/visit_database.cc statement.BindInt64(0, begin_time.ToInternalValue()); statement 315 chrome/browser/history/visit_database.cc statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max()); statement 316 chrome/browser/history/visit_database.cc statement.BindInt64(2, statement 319 chrome/browser/history/visit_database.cc return FillVisitVector(statement, visits); statement 331 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 339 chrome/browser/history/visit_database.cc statement.BindInt64(0, begin_time.ToInternalValue()); statement 340 chrome/browser/history/visit_database.cc statement.BindInt64(1, end ? end : std::numeric_limits<int64>::max()); statement 341 chrome/browser/history/visit_database.cc statement.BindInt(2, content::PAGE_TRANSITION_CORE_MASK); statement 342 chrome/browser/history/visit_database.cc statement.BindInt(3, transition); statement 343 chrome/browser/history/visit_database.cc statement.BindInt64(4, statement 346 chrome/browser/history/visit_database.cc return FillVisitVector(statement, visits); statement 354 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 362 chrome/browser/history/visit_database.cc statement.BindInt64(0, options.EffectiveBeginTime()); statement 363 chrome/browser/history/visit_database.cc statement.BindInt64(1, options.EffectiveEndTime()); statement 364 chrome/browser/history/visit_database.cc statement.BindInt(2, content::PAGE_TRANSITION_CHAIN_END); statement 365 chrome/browser/history/visit_database.cc statement.BindInt(3, content::PAGE_TRANSITION_CORE_MASK); statement 366 chrome/browser/history/visit_database.cc statement.BindInt(4, content::PAGE_TRANSITION_AUTO_SUBFRAME); statement 367 chrome/browser/history/visit_database.cc statement.BindInt(5, content::PAGE_TRANSITION_MANUAL_SUBFRAME); statement 368 chrome/browser/history/visit_database.cc statement.BindInt(6, content::PAGE_TRANSITION_KEYWORD_GENERATED); statement 370 chrome/browser/history/visit_database.cc return FillVisitVectorWithOptions(statement, options, visits); statement 381 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 388 chrome/browser/history/visit_database.cc statement.BindInt64(0, it->first.ToInternalValue()); statement 389 chrome/browser/history/visit_database.cc statement.BindInt64(1, it->second.ToInternalValue()); statement 390 chrome/browser/history/visit_database.cc statement.BindInt(2, content::PAGE_TRANSITION_CHAIN_START); statement 391 chrome/browser/history/visit_database.cc statement.BindInt(3, content::PAGE_TRANSITION_CORE_MASK); statement 392 chrome/browser/history/visit_database.cc statement.BindInt(4, content::PAGE_TRANSITION_TYPED); statement 393 chrome/browser/history/visit_database.cc statement.BindInt(5, content::PAGE_TRANSITION_AUTO_BOOKMARK); statement 395 chrome/browser/history/visit_database.cc while (statement.Step()) { statement 397 chrome/browser/history/visit_database.cc FillVisitRow(statement, &visit); statement 410 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 415 chrome/browser/history/visit_database.cc statement.BindInt64(0, url_id); statement 416 chrome/browser/history/visit_database.cc if (!statement.Step()) statement 420 chrome/browser/history/visit_database.cc FillVisitRow(statement, visit_row); statement 423 chrome/browser/history/visit_database.cc return statement.ColumnInt64(0); statement 433 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 439 chrome/browser/history/visit_database.cc statement.BindInt64(0, url_id); statement 440 chrome/browser/history/visit_database.cc statement.BindInt(1, max_results); statement 442 chrome/browser/history/visit_database.cc return FillVisitVector(statement, visits); statement 448 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 453 chrome/browser/history/visit_database.cc statement.BindInt64(0, from_visit); statement 454 chrome/browser/history/visit_database.cc statement.BindInt(1, content::PAGE_TRANSITION_IS_REDIRECT_MASK); statement 456 chrome/browser/history/visit_database.cc if (!statement.Step()) statement 459 chrome/browser/history/visit_database.cc *to_visit = statement.ColumnInt64(0); statement 461 chrome/browser/history/visit_database.cc *to_url = GURL(statement.ColumnString(1)); statement 476 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 480 chrome/browser/history/visit_database.cc statement.BindInt64(0, row.referring_visit); statement 482 chrome/browser/history/visit_database.cc if (!statement.Step()) statement 485 chrome/browser/history/visit_database.cc *from_url = GURL(statement.ColumnString(0)); statement 510 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 516 chrome/browser/history/visit_database.cc statement.BindString(0, host_query_min); statement 517 chrome/browser/history/visit_database.cc statement.BindString(1, statement 519 chrome/browser/history/visit_database.cc statement.BindInt(2, content::PAGE_TRANSITION_CHAIN_END); statement 520 chrome/browser/history/visit_database.cc statement.BindInt(3, content::PAGE_TRANSITION_CORE_MASK); statement 521 chrome/browser/history/visit_database.cc statement.BindInt(4, content::PAGE_TRANSITION_AUTO_SUBFRAME); statement 522 chrome/browser/history/visit_database.cc statement.BindInt(5, content::PAGE_TRANSITION_MANUAL_SUBFRAME); statement 523 chrome/browser/history/visit_database.cc statement.BindInt(6, content::PAGE_TRANSITION_KEYWORD_GENERATED); statement 525 chrome/browser/history/visit_database.cc if (!statement.Step()) { statement 531 chrome/browser/history/visit_database.cc if (!statement.Succeeded()) statement 534 chrome/browser/history/visit_database.cc *first_visit = base::Time::FromInternalValue(statement.ColumnInt64(0)); statement 535 chrome/browser/history/visit_database.cc *count = statement.ColumnInt(1); statement 540 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 542 chrome/browser/history/visit_database.cc if (!statement.Step() || statement.ColumnInt64(0) == 0) { statement 546 chrome/browser/history/visit_database.cc *first_visit = base::Time::FromInternalValue(statement.ColumnInt64(0)); statement 575 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetUniqueStatement(sql.c_str())); statement 578 chrome/browser/history/visit_database.cc while (statement.Step()) { statement 579 chrome/browser/history/visit_database.cc std::pair<VisitID, VisitSource> source_entry(statement.ColumnInt64(0), statement 580 chrome/browser/history/visit_database.cc static_cast<VisitSource>(statement.ColumnInt(1))); statement 607 chrome/browser/history/visit_database.cc sql::Statement statement(GetDB().GetUniqueStatement( statement 611 chrome/browser/history/visit_database.cc statement.BindInt64(0, max_visits); statement 613 chrome/browser/history/visit_database.cc if (!statement.is_valid()) statement 616 chrome/browser/history/visit_database.cc while (statement.Step()) { statement 618 chrome/browser/history/visit_database.cc info.url_id = statement.ColumnInt64(0); statement 619 chrome/browser/history/visit_database.cc info.time = base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 620 chrome/browser/history/visit_database.cc info.transition = content::PageTransitionFromInt(statement.ColumnInt(2)); statement 204 chrome/browser/history/visit_database.h static void FillVisitRow(sql::Statement& statement, VisitRow* visit); statement 208 chrome/browser/history/visit_database.h static bool FillVisitVector(sql::Statement& statement, VisitVector* visits); statement 214 chrome/browser/history/visit_database.h static bool FillVisitVectorWithOptions(sql::Statement& statement, statement 128 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 130 chrome/browser/history/visitsegment_database.cc statement.BindString(0, segment_name); statement 132 chrome/browser/history/visitsegment_database.cc if (statement.Step()) statement 133 chrome/browser/history/visitsegment_database.cc return statement.ColumnInt64(0); statement 139 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 141 chrome/browser/history/visitsegment_database.cc statement.BindInt64(0, url_id); statement 142 chrome/browser/history/visitsegment_database.cc statement.BindInt64(1, segment_id); statement 144 chrome/browser/history/visitsegment_database.cc return statement.Run(); statement 148 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 150 chrome/browser/history/visitsegment_database.cc statement.BindInt64(0, segment_id); statement 152 chrome/browser/history/visitsegment_database.cc if (statement.Step()) statement 153 chrome/browser/history/visitsegment_database.cc return statement.ColumnInt64(0); statement 159 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 161 chrome/browser/history/visitsegment_database.cc statement.BindString(0, segment_name); statement 162 chrome/browser/history/visitsegment_database.cc statement.BindInt64(1, url_id); statement 164 chrome/browser/history/visitsegment_database.cc if (statement.Run()) statement 212 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 216 chrome/browser/history/visitsegment_database.cc if (!statement.is_valid()) statement 220 chrome/browser/history/visitsegment_database.cc statement.BindInt64(0, ts.ToInternalValue()); statement 226 chrome/browser/history/visitsegment_database.cc while (statement.Step()) { statement 227 chrome/browser/history/visitsegment_database.cc SegmentID segment_id = statement.ColumnInt64(0); statement 240 chrome/browser/history/visitsegment_database.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 241 chrome/browser/history/visitsegment_database.cc int visit_count = statement.ColumnInt(2); statement 289 chrome/browser/history/visitsegment_database.cc sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, statement 291 chrome/browser/history/visitsegment_database.cc statement.BindInt64(0, older_than.LocalMidnight().ToInternalValue()); statement 293 chrome/browser/history/visitsegment_database.cc return statement.Run(); statement 25 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement* statement) { statement 27 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement->BindString(0, row.id); statement 28 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement->BindString16(1, row.user_text.substr(0, kMaxDataLength)); statement 29 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement->BindString(2, row.url.spec().substr(0, kMaxDataLength)); statement 30 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement->BindInt(3, row.number_of_hits); statement 31 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement->BindInt(4, row.number_of_misses); statement 35 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement* statement, statement 37 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement->Step()) statement 40 chrome/browser/predictors/autocomplete_action_predictor_table.cc row->id = statement->ColumnString(0); statement 41 chrome/browser/predictors/autocomplete_action_predictor_table.cc row->user_text = statement->ColumnString16(1); statement 42 chrome/browser/predictors/autocomplete_action_predictor_table.cc row->url = GURL(statement->ColumnString(2)); statement 43 chrome/browser/predictors/autocomplete_action_predictor_table.cc row->number_of_hits = statement->ColumnInt(3); statement 44 chrome/browser/predictors/autocomplete_action_predictor_table.cc row->number_of_misses = statement->ColumnInt(4); statement 83 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 86 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement.BindString(0, id); statement 88 chrome/browser/predictors/autocomplete_action_predictor_table.cc bool success = StepAndInitializeRow(&statement, row); statement 100 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 103 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.is_valid()) statement 107 chrome/browser/predictors/autocomplete_action_predictor_table.cc while (StepAndInitializeRow(&statement, &row)) statement 140 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 145 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.is_valid()) { statement 150 chrome/browser/predictors/autocomplete_action_predictor_table.cc BindRowToStatement(*it, &statement); statement 151 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.Run()) { statement 158 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 163 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.is_valid()) { statement 168 chrome/browser/predictors/autocomplete_action_predictor_table.cc BindRowToStatement(*it, &statement); statement 169 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.Run()) { statement 188 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 192 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.is_valid()) { statement 197 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement.BindString(0, *it); statement 198 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.Run()) { statement 211 chrome/browser/predictors/autocomplete_action_predictor_table.cc sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 214 chrome/browser/predictors/autocomplete_action_predictor_table.cc if (!statement.is_valid()) statement 217 chrome/browser/predictors/autocomplete_action_predictor_table.cc statement.Run(); statement 60 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 64 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindString(0, GetKey(url)); statement 65 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindInt64(1, base::Time::Now().ToInternalValue()); statement 67 chrome/browser/predictors/logged_in_predictor_table.cc statement.Run(); statement 75 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 78 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindString(0, GetKey(url)); statement 80 chrome/browser/predictors/logged_in_predictor_table.cc statement.Run(); statement 94 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 98 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindString(0, GetKey(url)); statement 100 chrome/browser/predictors/logged_in_predictor_table.cc if (statement.Step()) { statement 101 chrome/browser/predictors/logged_in_predictor_table.cc *is_present = (statement.ColumnInt(0) > 0); statement 112 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 116 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindInt64(0, delete_begin.ToInternalValue()); statement 117 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindInt64(1, delete_end.ToInternalValue()); statement 119 chrome/browser/predictors/logged_in_predictor_table.cc statement.Run(); statement 130 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetUniqueStatement( statement 133 chrome/browser/predictors/logged_in_predictor_table.cc while (statement.Step()) { statement 134 chrome/browser/predictors/logged_in_predictor_table.cc string domain = statement.ColumnString(0); statement 135 chrome/browser/predictors/logged_in_predictor_table.cc int64 value = statement.ColumnInt64(1); statement 161 chrome/browser/predictors/logged_in_predictor_table.cc Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, statement 163 chrome/browser/predictors/logged_in_predictor_table.cc if (statement.Step()) statement 165 chrome/browser/predictors/logged_in_predictor_table.cc statement.ColumnInt(0)); statement 100 chrome/browser/webdata/keyword_table_unittest.cc void GetStatement(const char* sql, sql::Statement* statement) const { statement 101 chrome/browser/webdata/keyword_table_unittest.cc statement->Assign(table_->db_->GetUniqueStatement(sql)); statement 39 components/precache/core/precache_url_table.cc Statement statement(db_->GetCachedStatement( statement 43 components/precache/core/precache_url_table.cc statement.BindString(0, GetKey(url)); statement 44 components/precache/core/precache_url_table.cc statement.BindInt64(1, precache_time.ToInternalValue()); statement 45 components/precache/core/precache_url_table.cc statement.Run(); statement 49 components/precache/core/precache_url_table.cc Statement statement(db_->GetCachedStatement( statement 52 components/precache/core/precache_url_table.cc statement.BindString(0, GetKey(url)); statement 53 components/precache/core/precache_url_table.cc return statement.Step(); statement 57 components/precache/core/precache_url_table.cc Statement statement(db_->GetCachedStatement( statement 60 components/precache/core/precache_url_table.cc statement.BindString(0, GetKey(url)); statement 61 components/precache/core/precache_url_table.cc statement.Run(); statement 65 components/precache/core/precache_url_table.cc Statement statement(db_->GetCachedStatement( statement 68 components/precache/core/precache_url_table.cc statement.BindInt64(0, delete_end.ToInternalValue()); statement 69 components/precache/core/precache_url_table.cc statement.Run(); statement 75 components/precache/core/precache_url_table.cc Statement statement(db_->GetCachedStatement( statement 78 components/precache/core/precache_url_table.cc while (statement.Step()) { statement 79 components/precache/core/precache_url_table.cc GURL url = GURL(statement.ColumnString(0)); statement 80 components/precache/core/precache_url_table.cc (*map)[url] = base::Time::FromInternalValue(statement.ColumnInt64(1)); statement 60 content/browser/dom_storage/dom_storage_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, statement 62 content/browser/dom_storage/dom_storage_database.cc DCHECK(statement.is_valid()); statement 64 content/browser/dom_storage/dom_storage_database.cc while (statement.Step()) { statement 65 content/browser/dom_storage/dom_storage_database.cc base::string16 key = statement.ColumnString16(0); statement 67 content/browser/dom_storage/dom_storage_database.cc statement.ColumnBlobAsString16(1, &value); statement 97 content/browser/dom_storage/dom_storage_database.cc sql::Statement statement; statement 101 content/browser/dom_storage/dom_storage_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, statement 103 content/browser/dom_storage/dom_storage_database.cc statement.BindString16(0, key); statement 106 content/browser/dom_storage/dom_storage_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, statement 108 content/browser/dom_storage/dom_storage_database.cc statement.BindString16(0, key); statement 109 content/browser/dom_storage/dom_storage_database.cc statement.BindBlob(1, value.string().data(), statement 114 content/browser/dom_storage/dom_storage_database.cc DCHECK(statement.is_valid()); statement 115 content/browser/dom_storage/dom_storage_database.cc statement.Run(); statement 119 content/browser/dom_storage/dom_storage_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, statement 121 content/browser/dom_storage/dom_storage_database.cc if (statement.Step()) statement 122 content/browser/dom_storage/dom_storage_database.cc known_to_be_empty_ = statement.ColumnInt(0) == 0; statement 219 content/browser/dom_storage/dom_storage_database.cc sql::Statement statement( statement 221 content/browser/dom_storage/dom_storage_database.cc if (statement.DeclaredColumnType(0) != sql::COLUMN_TYPE_TEXT) statement 224 content/browser/dom_storage/dom_storage_database.cc switch (statement.DeclaredColumnType(1)) { statement 267 content/browser/dom_storage/dom_storage_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, statement 269 content/browser/dom_storage/dom_storage_database.cc DCHECK(statement.is_valid()); statement 275 content/browser/dom_storage/dom_storage_database.cc while (statement.Step()) { statement 276 content/browser/dom_storage/dom_storage_database.cc base::string16 key = statement.ColumnString16(0); statement 277 content/browser/dom_storage/dom_storage_database.cc base::NullableString16 value(statement.ColumnString16(1), false); statement 63 content/browser/dom_storage/dom_storage_database_unittest.cc sql::Statement statement(db->GetCachedStatement(SQL_FROM_HERE, statement 65 content/browser/dom_storage/dom_storage_database_unittest.cc statement.BindString16(0, key); statement 66 content/browser/dom_storage/dom_storage_database_unittest.cc statement.BindString16(1, value); statement 67 content/browser/dom_storage/dom_storage_database_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 68 content/browser/dom_storage/dom_storage_database_unittest.cc statement.Run(); statement 22 content/renderer/media/crypto/key_systems_unittest.cc #define EXPECT_DEBUG_DEATH_PORTABLE(statement, regex) \ statement 23 content/renderer/media/crypto/key_systems_unittest.cc EXPECT_DEBUG_DEATH(statement, regex) statement 26 content/renderer/media/crypto/key_systems_unittest.cc #define EXPECT_DEBUG_DEATH_PORTABLE(statement, regex) \ statement 27 content/renderer/media/crypto/key_systems_unittest.cc do { statement; } while (false) statement 30 content/renderer/media/crypto/key_systems_unittest.cc #define EXPECT_DEBUG_DEATH_PORTABLE(statement, regex) \ statement 32 content/renderer/media/crypto/key_systems_unittest.cc << "Statement '" #statement "' cannot be verified."; statement 20 net/test/gtest_util.h #define GTEST_DFATAL_(statement, matcher, fail) \ statement 32 net/test/gtest_util.h { statement; } \ statement 54 net/test/gtest_util.h #define EXPECT_DFATAL_WITH(statement, matcher) \ statement 55 net/test/gtest_util.h GTEST_DFATAL_(statement, matcher, GTEST_NONFATAL_FAILURE_) statement 57 net/test/gtest_util.h #define ASSERT_DFATAL_WITH(statement, matcher) \ statement 58 net/test/gtest_util.h GTEST_DFATAL_(statement, matcher, GTEST_FATAL_FAILURE_) statement 60 net/test/gtest_util.h #define EXPECT_DFATAL(statement, regex) \ statement 61 net/test/gtest_util.h EXPECT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex)) statement 63 net/test/gtest_util.h #define ASSERT_DFATAL(statement, regex) \ statement 64 net/test/gtest_util.h ASSERT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex)) statement 72 net/test/gtest_util.h #define EXPECT_DEBUG_DFATAL(statement, regex) \ statement 73 net/test/gtest_util.h EXPECT_DFATAL(statement, regex) statement 74 net/test/gtest_util.h #define ASSERT_DEBUG_DFATAL(statement, regex) \ statement 75 net/test/gtest_util.h ASSERT_DFATAL(statement, regex) statement 79 net/test/gtest_util.h #define EXPECT_DEBUG_DFATAL(statement, regex) \ statement 83 net/test/gtest_util.h statement; \ statement 86 net/test/gtest_util.h #define ASSERT_DEBUG_DFATAL(statement, regex) \ statement 90 net/test/gtest_util.h statement; \ statement 710 sql/connection.cc scoped_refptr<StatementRef> statement = GetUniqueStatement(sql); statement 711 sql/connection.cc if (statement->is_valid()) statement 712 sql/connection.cc statement_cache_[id] = statement; // Only cache valid statements. statement 713 sql/connection.cc return statement; statement 759 sql/connection.cc Statement statement(GetUntrackedStatement(kSql)); statement 762 sql/connection.cc while (statement.Step()) { statement 763 sql/connection.cc schema += statement.ColumnString(0); statement 765 sql/connection.cc schema += statement.ColumnString(1); statement 767 sql/connection.cc schema += statement.ColumnString(2); statement 769 sql/connection.cc schema += statement.ColumnString(3); statement 802 sql/connection.cc Statement statement(GetUntrackedStatement(kSql)); statement 803 sql/connection.cc statement.BindString(0, type); statement 804 sql/connection.cc statement.BindString(1, name); statement 806 sql/connection.cc return statement.Step(); // Table exists if any row was returned. statement 815 sql/connection.cc Statement statement(GetUntrackedStatement(sql.c_str())); statement 816 sql/connection.cc while (statement.Step()) { statement 817 sql/connection.cc if (!statement.ColumnString(1).compare(column_name)) statement 224 sql/meta_table.cc void MetaTable::PrepareSetStatement(Statement* statement, const char* key) { statement 225 sql/meta_table.cc DCHECK(db_ && statement); statement 226 sql/meta_table.cc statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE, statement 228 sql/meta_table.cc statement->BindCString(0, key); statement 231 sql/meta_table.cc bool MetaTable::PrepareGetStatement(Statement* statement, const char* key) { statement 232 sql/meta_table.cc DCHECK(db_ && statement); statement 233 sql/meta_table.cc statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE, statement 235 sql/meta_table.cc statement->BindCString(0, key); statement 236 sql/meta_table.cc return statement->Step(); statement 91 sql/meta_table.h void PrepareSetStatement(Statement* statement, const char* key); statement 92 sql/meta_table.h bool PrepareGetStatement(Statement* statement, const char* key); statement 242 sql/test/test_helpers.cc sql::Statement statement(db->GetUniqueStatement("PRAGMA integrity_check")); statement 245 sql/test/test_helpers.cc EXPECT_TRUE(statement.Step()); statement 247 sql/test/test_helpers.cc return statement.ColumnString(0); statement 43 sync/syncable/directory_backing_store.cc sql::Statement* statement) { statement 47 sync/syncable/directory_backing_store.cc statement->BindInt64(index++, entry.ref(static_cast<Int64Field>(i))); statement 50 sync/syncable/directory_backing_store.cc statement->BindInt64(index++, statement 55 sync/syncable/directory_backing_store.cc statement->BindString(index++, entry.ref(static_cast<IdField>(i)).s_); statement 58 sync/syncable/directory_backing_store.cc statement->BindInt(index++, entry.ref(static_cast<BitField>(i))); statement 61 sync/syncable/directory_backing_store.cc statement->BindString(index++, entry.ref(static_cast<StringField>(i))); statement 66 sync/syncable/directory_backing_store.cc statement->BindBlob(index++, temp.data(), temp.length()); statement 71 sync/syncable/directory_backing_store.cc statement->BindBlob(index++, temp.data(), temp.length()); statement 78 sync/syncable/directory_backing_store.cc scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement) { statement 80 sync/syncable/directory_backing_store.cc DCHECK_EQ(statement->ColumnCount(), static_cast<int>(FIELD_COUNT)); statement 83 sync/syncable/directory_backing_store.cc kernel->put(static_cast<Int64Field>(i), statement->ColumnInt64(i)); statement 87 sync/syncable/directory_backing_store.cc ProtoTimeToTime(statement->ColumnInt64(i))); statement 91 sync/syncable/directory_backing_store.cc statement->ColumnString(i); statement 94 sync/syncable/directory_backing_store.cc kernel->put(static_cast<BitField>(i), (0 != statement->ColumnInt(i))); statement 98 sync/syncable/directory_backing_store.cc statement->ColumnString(i)); statement 102 sync/syncable/directory_backing_store.cc statement->ColumnBlob(i), statement->ColumnByteLength(i)); statement 106 sync/syncable/directory_backing_store.cc statement->ColumnBlobAsString(i, &temp); statement 178 sync/syncable/directory_backing_store.cc sql::Statement statement; statement 183 sync/syncable/directory_backing_store.cc statement.Assign(db_->GetCachedStatement( statement 187 sync/syncable/directory_backing_store.cc statement.Assign(db_->GetCachedStatement( statement 194 sync/syncable/directory_backing_store.cc statement.BindInt64(0, *i); statement 195 sync/syncable/directory_backing_store.cc if (!statement.Run()) statement 197 sync/syncable/directory_backing_store.cc statement.Reset(true); statement 723 sync/syncable/directory_backing_store.cc sql::Statement statement(db_->GetUniqueStatement( statement 725 sync/syncable/directory_backing_store.cc if (statement.Step()) { statement 726 sync/syncable/directory_backing_store.cc return statement.ColumnInt(0); statement 116 sync/syncable/syncable_id.h friend scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement); statement 118 sync/syncable/syncable_id.h sql::Statement* statement); statement 68 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc #define IF_DEBUG_EXPECT_DEATH(statement, regex) do { \ statement 71 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc statement; \ statement 68 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc #define IF_DEBUG_EXPECT_DEATH(statement, regex) do { \ statement 71 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc statement; \ statement 388 tools/gn/parser.cc scoped_ptr<ParseNode> statement = ParseStatement(); statement 389 tools/gn/parser.cc if (!statement) statement 391 tools/gn/parser.cc file->append_statement(statement.Pass()); statement 435 tools/gn/parser.cc scoped_ptr<ParseNode> statement = ParseStatement(); statement 436 tools/gn/parser.cc if (!statement) statement 438 tools/gn/parser.cc block->append_statement(statement.Pass()); statement 253 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetUniqueStatement(kSql)); statement 255 webkit/browser/appcache/appcache_database.cc while (statement.Step()) statement 256 webkit/browser/appcache/appcache_database.cc origins->insert(GURL(statement.ColumnString(0))); statement 258 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 317 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 319 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, group_id); statement 320 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 323 webkit/browser/appcache/appcache_database.cc ReadGroupRecord(statement, record); statement 339 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 340 webkit/browser/appcache/appcache_database.cc statement.BindString(0, manifest_url.spec()); statement 342 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 345 webkit/browser/appcache/appcache_database.cc ReadGroupRecord(statement, record); statement 361 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 362 webkit/browser/appcache/appcache_database.cc statement.BindString(0, origin.spec()); statement 364 webkit/browser/appcache/appcache_database.cc while (statement.Step()) { statement 366 webkit/browser/appcache/appcache_database.cc ReadGroupRecord(statement, &records->back()); statement 370 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 384 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 385 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 387 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 390 webkit/browser/appcache/appcache_database.cc ReadGroupRecord(statement, record); statement 402 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 403 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, time.ToInternalValue()); statement 404 webkit/browser/appcache/appcache_database.cc statement.BindInt64(1, group_id); statement 406 webkit/browser/appcache/appcache_database.cc return statement.Run() && db_->GetLastChangeCount(); statement 418 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 419 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, record->group_id); statement 420 webkit/browser/appcache/appcache_database.cc statement.BindString(1, record->origin.spec()); statement 421 webkit/browser/appcache/appcache_database.cc statement.BindString(2, record->manifest_url.spec()); statement 422 webkit/browser/appcache/appcache_database.cc statement.BindInt64(3, record->creation_time.ToInternalValue()); statement 423 webkit/browser/appcache/appcache_database.cc statement.BindInt64(4, record->last_access_time.ToInternalValue()); statement 425 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 435 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 436 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, group_id); statement 438 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 450 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 451 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 453 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 456 webkit/browser/appcache/appcache_database.cc ReadCacheRecord(statement, record); statement 469 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 470 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, group_id); statement 472 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 475 webkit/browser/appcache/appcache_database.cc ReadCacheRecord(statement, record); statement 505 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 506 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, record->cache_id); statement 507 webkit/browser/appcache/appcache_database.cc statement.BindInt64(1, record->group_id); statement 508 webkit/browser/appcache/appcache_database.cc statement.BindBool(2, record->online_wildcard); statement 509 webkit/browser/appcache/appcache_database.cc statement.BindInt64(3, record->update_time.ToInternalValue()); statement 510 webkit/browser/appcache/appcache_database.cc statement.BindInt64(4, record->cache_size); statement 512 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 522 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 523 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 525 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 538 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 539 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 541 webkit/browser/appcache/appcache_database.cc while (statement.Step()) { statement 543 webkit/browser/appcache/appcache_database.cc ReadEntryRecord(statement, &records->back()); statement 547 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 560 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 561 webkit/browser/appcache/appcache_database.cc statement.BindString(0, url.spec()); statement 563 webkit/browser/appcache/appcache_database.cc while (statement.Step()) { statement 565 webkit/browser/appcache/appcache_database.cc ReadEntryRecord(statement, &records->back()); statement 569 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 582 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 583 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 584 webkit/browser/appcache/appcache_database.cc statement.BindString(1, url.spec()); statement 586 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) statement 589 webkit/browser/appcache/appcache_database.cc ReadEntryRecord(statement, record); statement 603 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 604 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, record->cache_id); statement 605 webkit/browser/appcache/appcache_database.cc statement.BindString(1, record->url.spec()); statement 606 webkit/browser/appcache/appcache_database.cc statement.BindInt(2, record->flags); statement 607 webkit/browser/appcache/appcache_database.cc statement.BindInt64(3, record->response_id); statement 608 webkit/browser/appcache/appcache_database.cc statement.BindInt64(4, record->response_size); statement 610 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 636 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 637 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 639 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 650 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 651 webkit/browser/appcache/appcache_database.cc statement.BindInt(0, additional_flags); statement 652 webkit/browser/appcache/appcache_database.cc statement.BindInt64(1, cache_id); statement 653 webkit/browser/appcache/appcache_database.cc statement.BindString(2, entry_url.spec()); statement 655 webkit/browser/appcache/appcache_database.cc return statement.Run() && db_->GetLastChangeCount(); statement 671 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 672 webkit/browser/appcache/appcache_database.cc statement.BindString(0, origin.spec()); statement 674 webkit/browser/appcache/appcache_database.cc ReadNamespaceRecords(&statement, intercepts, fallbacks); statement 676 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 692 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 693 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 695 webkit/browser/appcache/appcache_database.cc ReadNamespaceRecords(&statement, intercepts, fallbacks); statement 697 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 719 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 720 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, record->cache_id); statement 721 webkit/browser/appcache/appcache_database.cc statement.BindString(1, record->origin.spec()); statement 722 webkit/browser/appcache/appcache_database.cc statement.BindInt(2, type_with_executable_bit); statement 723 webkit/browser/appcache/appcache_database.cc statement.BindString(3, record->namespace_.namespace_url.spec()); statement 724 webkit/browser/appcache/appcache_database.cc statement.BindString(4, record->namespace_.target_url.spec()); statement 725 webkit/browser/appcache/appcache_database.cc statement.BindBool(5, record->namespace_.is_pattern); statement 726 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 752 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 753 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 755 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 768 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 769 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 771 webkit/browser/appcache/appcache_database.cc while (statement.Step()) { statement 773 webkit/browser/appcache/appcache_database.cc this->ReadOnlineWhiteListRecord(statement, &records->back()); statement 776 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 788 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 789 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, record->cache_id); statement 790 webkit/browser/appcache/appcache_database.cc statement.BindString(1, record->namespace_url.spec()); statement 791 webkit/browser/appcache/appcache_database.cc statement.BindBool(2, record->is_pattern); statement 793 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 819 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 820 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 822 webkit/browser/appcache/appcache_database.cc return statement.Run(); statement 835 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 836 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, max_rowid); statement 837 webkit/browser/appcache/appcache_database.cc statement.BindInt64(1, limit); statement 839 webkit/browser/appcache/appcache_database.cc while (statement.Step()) statement 840 webkit/browser/appcache/appcache_database.cc response_ids->push_back(statement.ColumnInt64(0)); statement 841 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 869 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(statement_id, sql)); statement 873 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, *iter); statement 874 webkit/browser/appcache/appcache_database.cc if (!statement.Run()) statement 876 webkit/browser/appcache/appcache_database.cc statement.Reset(true); statement 886 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetUniqueStatement(sql)); statement 887 webkit/browser/appcache/appcache_database.cc if (!statement.Step()) { statement 890 webkit/browser/appcache/appcache_database.cc *result = statement.ColumnInt64(0); statement 905 webkit/browser/appcache/appcache_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 907 webkit/browser/appcache/appcache_database.cc statement.BindInt64(0, cache_id); statement 908 webkit/browser/appcache/appcache_database.cc while (statement.Step()) { statement 909 webkit/browser/appcache/appcache_database.cc int64 id = statement.ColumnInt64(0); statement 916 webkit/browser/appcache/appcache_database.cc return statement.Succeeded(); statement 920 webkit/browser/appcache/appcache_database.cc const sql::Statement& statement, GroupRecord* record) { statement 921 webkit/browser/appcache/appcache_database.cc record->group_id = statement.ColumnInt64(0); statement 922 webkit/browser/appcache/appcache_database.cc record->origin = GURL(statement.ColumnString(1)); statement 923 webkit/browser/appcache/appcache_database.cc record->manifest_url = GURL(statement.ColumnString(2)); statement 925 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)); statement 927 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4)); statement 931 webkit/browser/appcache/appcache_database.cc const sql::Statement& statement, CacheRecord* record) { statement 932 webkit/browser/appcache/appcache_database.cc record->cache_id = statement.ColumnInt64(0); statement 933 webkit/browser/appcache/appcache_database.cc record->group_id = statement.ColumnInt64(1); statement 934 webkit/browser/appcache/appcache_database.cc record->online_wildcard = statement.ColumnBool(2); statement 936 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)); statement 937 webkit/browser/appcache/appcache_database.cc record->cache_size = statement.ColumnInt64(4); statement 941 webkit/browser/appcache/appcache_database.cc const sql::Statement& statement, EntryRecord* record) { statement 942 webkit/browser/appcache/appcache_database.cc record->cache_id = statement.ColumnInt64(0); statement 943 webkit/browser/appcache/appcache_database.cc record->url = GURL(statement.ColumnString(1)); statement 944 webkit/browser/appcache/appcache_database.cc record->flags = statement.ColumnInt(2); statement 945 webkit/browser/appcache/appcache_database.cc record->response_id = statement.ColumnInt64(3); statement 946 webkit/browser/appcache/appcache_database.cc record->response_size = statement.ColumnInt64(4); statement 950 webkit/browser/appcache/appcache_database.cc sql::Statement* statement, statement 953 webkit/browser/appcache/appcache_database.cc while (statement->Step()) { statement 954 webkit/browser/appcache/appcache_database.cc NamespaceType type = static_cast<NamespaceType>(statement->ColumnInt(2)); statement 958 webkit/browser/appcache/appcache_database.cc ReadNamespaceRecord(statement, &records->back()); statement 963 webkit/browser/appcache/appcache_database.cc const sql::Statement* statement, NamespaceRecord* record) { statement 964 webkit/browser/appcache/appcache_database.cc record->cache_id = statement->ColumnInt64(0); statement 965 webkit/browser/appcache/appcache_database.cc record->origin = GURL(statement->ColumnString(1)); statement 966 webkit/browser/appcache/appcache_database.cc int type_with_executable_bit = statement->ColumnInt(2); statement 967 webkit/browser/appcache/appcache_database.cc record->namespace_.namespace_url = GURL(statement->ColumnString(3)); statement 968 webkit/browser/appcache/appcache_database.cc record->namespace_.target_url = GURL(statement->ColumnString(4)); statement 969 webkit/browser/appcache/appcache_database.cc record->namespace_.is_pattern = statement->ColumnBool(5); statement 982 webkit/browser/appcache/appcache_database.cc const sql::Statement& statement, OnlineWhiteListRecord* record) { statement 983 webkit/browser/appcache/appcache_database.cc record->cache_id = statement.ColumnInt64(0); statement 984 webkit/browser/appcache/appcache_database.cc record->namespace_url = GURL(statement.ColumnString(1)); statement 985 webkit/browser/appcache/appcache_database.cc record->is_pattern = statement.ColumnBool(2); statement 181 webkit/browser/appcache/appcache_database.h void ReadGroupRecord(const sql::Statement& statement, GroupRecord* record); statement 182 webkit/browser/appcache/appcache_database.h void ReadCacheRecord(const sql::Statement& statement, CacheRecord* record); statement 183 webkit/browser/appcache/appcache_database.h void ReadEntryRecord(const sql::Statement& statement, EntryRecord* record); statement 185 webkit/browser/appcache/appcache_database.h sql::Statement* statement, statement 189 webkit/browser/appcache/appcache_database.h const sql::Statement* statement, NamespaceRecord* record); statement 191 webkit/browser/appcache/appcache_database.h const sql::Statement& statement, OnlineWhiteListRecord* record); statement 907 webkit/browser/appcache/appcache_database_unittest.cc sql::Statement statement; statement 908 webkit/browser/appcache/appcache_database_unittest.cc statement.Assign(connection.GetUniqueStatement(kSql)); statement 909 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(statement.is_valid()); statement 915 webkit/browser/appcache/appcache_database_unittest.cc statement.BindInt64(0, i); statement 916 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(1, kMockOrigin.spec().c_str()); statement 917 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(2, namespace_url.spec().c_str()); statement 918 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(3, target_url.spec().c_str()); statement 919 webkit/browser/appcache/appcache_database_unittest.cc ASSERT_TRUE(statement.Run()); statement 920 webkit/browser/appcache/appcache_database_unittest.cc statement.Reset(true); statement 1136 webkit/browser/appcache/appcache_database_unittest.cc sql::Statement statement; statement 1137 webkit/browser/appcache/appcache_database_unittest.cc statement.Assign(connection.GetUniqueStatement(kNamespacesSql)); statement 1138 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(statement.is_valid()); statement 1144 webkit/browser/appcache/appcache_database_unittest.cc statement.BindInt64(0, i); statement 1145 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(1, kMockOrigin.spec().c_str()); statement 1146 webkit/browser/appcache/appcache_database_unittest.cc statement.BindInt(2, FALLBACK_NAMESPACE); statement 1147 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(3, namespace_url.spec().c_str()); statement 1148 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(4, target_url.spec().c_str()); statement 1149 webkit/browser/appcache/appcache_database_unittest.cc ASSERT_TRUE(statement.Run()); statement 1150 webkit/browser/appcache/appcache_database_unittest.cc statement.Reset(true); statement 1157 webkit/browser/appcache/appcache_database_unittest.cc statement.Assign(connection.GetUniqueStatement(kWhitelistsSql)); statement 1158 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(statement.is_valid()); statement 1162 webkit/browser/appcache/appcache_database_unittest.cc statement.BindInt64(0, kWhitelistCacheId); statement 1163 webkit/browser/appcache/appcache_database_unittest.cc statement.BindString(1, namespace_url.spec().c_str()); statement 1164 webkit/browser/appcache/appcache_database_unittest.cc ASSERT_TRUE(statement.Run()); statement 1165 webkit/browser/appcache/appcache_database_unittest.cc statement.Reset(true); statement 112 webkit/browser/database/databases_table.cc sql::Statement statement(db_->GetCachedStatement( statement 115 webkit/browser/database/databases_table.cc while (statement.Step()) statement 116 webkit/browser/database/databases_table.cc origin_identifiers->push_back(statement.ColumnString(0)); statement 118 webkit/browser/database/databases_table.cc return statement.Succeeded(); statement 124 webkit/browser/database/databases_table.cc sql::Statement statement(db_->GetCachedStatement( statement 127 webkit/browser/database/databases_table.cc statement.BindString(0, origin_identifier); statement 129 webkit/browser/database/databases_table.cc while (statement.Step()) { statement 132 webkit/browser/database/databases_table.cc details.database_name = statement.ColumnString16(0); statement 133 webkit/browser/database/databases_table.cc details.description = statement.ColumnString16(1); statement 134 webkit/browser/database/databases_table.cc details.estimated_size = statement.ColumnInt64(2); statement 138 webkit/browser/database/databases_table.cc return statement.Succeeded(); statement 28 webkit/browser/database/databases_table_unittest.cc sql::Statement statement(db->GetCachedStatement( statement 30 webkit/browser/database/databases_table_unittest.cc return (statement.is_valid() && statement.Step() && !statement.ColumnInt(0)); statement 153 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 154 webkit/browser/quota/quota_database.cc statement.BindString(0, host); statement 155 webkit/browser/quota/quota_database.cc statement.BindInt(1, static_cast<int>(type)); statement 157 webkit/browser/quota/quota_database.cc if (!statement.Step()) statement 160 webkit/browser/quota/quota_database.cc *quota = statement.ColumnInt64(0); statement 174 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 175 webkit/browser/quota/quota_database.cc statement.BindInt64(0, quota); statement 176 webkit/browser/quota/quota_database.cc statement.BindString(1, host); statement 177 webkit/browser/quota/quota_database.cc statement.BindInt(2, static_cast<int>(type)); statement 179 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 191 webkit/browser/quota/quota_database.cc sql::Statement statement; statement 200 webkit/browser/quota/quota_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 206 webkit/browser/quota/quota_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 208 webkit/browser/quota/quota_database.cc statement.BindInt(0, used_count); statement 209 webkit/browser/quota/quota_database.cc statement.BindInt64(1, last_access_time.ToInternalValue()); statement 210 webkit/browser/quota/quota_database.cc statement.BindString(2, origin.spec()); statement 211 webkit/browser/quota/quota_database.cc statement.BindInt(3, static_cast<int>(type)); statement 213 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 225 webkit/browser/quota/quota_database.cc sql::Statement statement; statement 233 webkit/browser/quota/quota_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 238 webkit/browser/quota/quota_database.cc statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 240 webkit/browser/quota/quota_database.cc statement.BindInt64(0, last_modified_time.ToInternalValue()); statement 241 webkit/browser/quota/quota_database.cc statement.BindString(1, origin.spec()); statement 242 webkit/browser/quota/quota_database.cc statement.BindInt(2, static_cast<int>(type)); statement 244 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 262 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 263 webkit/browser/quota/quota_database.cc statement.BindString(0, itr->spec()); statement 264 webkit/browser/quota/quota_database.cc statement.BindInt(1, static_cast<int>(type)); statement 266 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 283 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 284 webkit/browser/quota/quota_database.cc statement.BindString(0, host); statement 285 webkit/browser/quota/quota_database.cc statement.BindInt(1, static_cast<int>(type)); statement 287 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 303 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 304 webkit/browser/quota/quota_database.cc statement.BindString(0, origin.spec()); statement 305 webkit/browser/quota/quota_database.cc statement.BindInt(1, static_cast<int>(type)); statement 307 webkit/browser/quota/quota_database.cc if (!statement.Run()) statement 341 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 342 webkit/browser/quota/quota_database.cc statement.BindInt(0, static_cast<int>(type)); statement 344 webkit/browser/quota/quota_database.cc while (statement.Step()) { statement 345 webkit/browser/quota/quota_database.cc GURL url(statement.ColumnString(0)); statement 356 webkit/browser/quota/quota_database.cc return statement.Succeeded(); statement 368 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 369 webkit/browser/quota/quota_database.cc statement.BindInt(0, static_cast<int>(type)); statement 370 webkit/browser/quota/quota_database.cc statement.BindInt64(1, modified_since.ToInternalValue()); statement 373 webkit/browser/quota/quota_database.cc while (statement.Step()) statement 374 webkit/browser/quota/quota_database.cc origins->insert(GURL(statement.ColumnString(0))); statement 376 webkit/browser/quota/quota_database.cc return statement.Succeeded(); statement 422 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 423 webkit/browser/quota/quota_database.cc statement.BindString(0, origin.spec()); statement 424 webkit/browser/quota/quota_database.cc statement.BindInt(1, static_cast<int>(type)); statement 426 webkit/browser/quota/quota_database.cc if (!statement.Step()) statement 429 webkit/browser/quota/quota_database.cc *used_count = statement.ColumnInt(0); statement 598 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 600 webkit/browser/quota/quota_database.cc while (statement.Step()) { statement 602 webkit/browser/quota/quota_database.cc statement.ColumnString(0), statement 603 webkit/browser/quota/quota_database.cc static_cast<StorageType>(statement.ColumnInt(1)), statement 604 webkit/browser/quota/quota_database.cc statement.ColumnInt64(2)); statement 610 webkit/browser/quota/quota_database.cc return statement.Succeeded(); statement 620 webkit/browser/quota/quota_database.cc sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 622 webkit/browser/quota/quota_database.cc while (statement.Step()) { statement 624 webkit/browser/quota/quota_database.cc GURL(statement.ColumnString(0)), statement 625 webkit/browser/quota/quota_database.cc static_cast<StorageType>(statement.ColumnInt(1)), statement 626 webkit/browser/quota/quota_database.cc statement.ColumnInt(2), statement 627 webkit/browser/quota/quota_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)), statement 628 webkit/browser/quota/quota_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4))); statement 634 webkit/browser/quota/quota_database.cc return statement.Succeeded(); statement 381 webkit/browser/quota/quota_database_unittest.cc sql::Statement statement; statement 382 webkit/browser/quota/quota_database_unittest.cc statement.Assign(db->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 383 webkit/browser/quota/quota_database_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 385 webkit/browser/quota/quota_database_unittest.cc statement.BindString(0, itr->host); statement 386 webkit/browser/quota/quota_database_unittest.cc statement.BindInt(1, static_cast<int>(itr->type)); statement 387 webkit/browser/quota/quota_database_unittest.cc statement.BindInt64(2, itr->quota); statement 388 webkit/browser/quota/quota_database_unittest.cc EXPECT_TRUE(statement.Run()); statement 400 webkit/browser/quota/quota_database_unittest.cc sql::Statement statement; statement 401 webkit/browser/quota/quota_database_unittest.cc statement.Assign(db->GetCachedStatement(SQL_FROM_HERE, kSql)); statement 402 webkit/browser/quota/quota_database_unittest.cc ASSERT_TRUE(statement.is_valid()); statement 404 webkit/browser/quota/quota_database_unittest.cc statement.BindString(0, itr->origin.spec()); statement 405 webkit/browser/quota/quota_database_unittest.cc statement.BindInt(1, static_cast<int>(itr->type)); statement 406 webkit/browser/quota/quota_database_unittest.cc statement.BindInt(2, itr->used_count); statement 407 webkit/browser/quota/quota_database_unittest.cc statement.BindInt64(3, itr->last_access_time.ToInternalValue()); statement 408 webkit/browser/quota/quota_database_unittest.cc statement.BindInt64(4, itr->last_modified_time.ToInternalValue()); statement 409 webkit/browser/quota/quota_database_unittest.cc EXPECT_TRUE(statement.Run());