/external/chromium_org/content/browser/appcache/ |
appcache_database.cc | 18 #include "sql/statement.h" 254 sql::Statement statement(db_->GetUniqueStatement(kSql)); 256 while (statement.Step()) 257 origins->insert(GURL(statement.ColumnString(0))); 259 return statement.Succeeded(); 318 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 320 statement.BindInt64(0, group_id); 321 if (!statement.Step() [all...] |
appcache_database.h | 24 class Statement; 193 void ReadGroupRecord(const sql::Statement& statement, GroupRecord* record); 194 void ReadCacheRecord(const sql::Statement& statement, CacheRecord* record); 195 void ReadEntryRecord(const sql::Statement& statement, EntryRecord* record); 197 sql::Statement* statement, 201 const sql::Statement* statement, NamespaceRecord* record) [all...] |
/external/junit/src/org/junit/experimental/theories/ |
Theories.java | 20 import org.junit.runners.model.Statement; 66 public Statement methodBlock(final FrameworkMethod method) { 70 public static class TheoryAnchor extends Statement { 127 public Statement methodBlock(FrameworkMethod method) { 128 final Statement statement= super.methodBlock(method); local 129 return new Statement() { 133 statement.evaluate(); 147 protected Statement methodInvoker(FrameworkMethod method, Object test) { 159 private Statement methodCompletesWithParameters [all...] |
/external/chromium_org/sync/syncable/ |
directory_backing_store.cc | 18 #include "sql/statement.h" 33 // This just has to be big enough to hold an UPDATE or INSERT statement that 40 // Iterate over the fields of |entry| and bind each to |statement| for 43 sql::Statement* statement) { 47 statement->BindInt64(index++, entry.ref(static_cast<Int64Field>(i))); 50 statement->BindInt64(index++, 55 statement->BindString(index++, entry.ref(static_cast<IdField>(i)).s_); 58 statement->BindInt(index++, entry.ref(static_cast<BitField>(i))); 61 statement->BindString(index++, entry.ref(static_cast<StringField>(i))) [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
MultiThreadAccessTest.java | 23 import java.sql.Statement; 39 private static Statement statement; field in class:MultiThreadAccessTest 52 statement = conn.createStatement(); 64 statement.close(); 76 statement.execute(DatabaseCreator.DROP_TABLE1); 79 statement.execute(DatabaseCreator.DROP_TABLE2); 82 statement.execute(DatabaseCreator.DROP_TABLE4); 85 statement.execute(DatabaseCreator.DROP_TABLE3); 90 statement.execute(DatabaseCreator.CREATE_TABLE3) 159 Statement statement = conn.createStatement(); local 207 Statement statement = conn.createStatement(); local [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_cache_database.cc | 9 #include "sql/statement.h" 42 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 46 statement.BindInt64(0, ToDatabaseTime(created_time)); 47 statement.BindInt64(1, ToDatabaseTime(last_visit_time)); 48 statement.BindInt64(2, url_id); 50 if (!statement.Run()) { 59 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 61 if (!statement.Run()) [all...] |
android_urls_database.cc | 55 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 58 statement.BindString(0, raw_url); 59 statement.BindInt64(1, static_cast<int64>(url_id)); 61 if (!statement.Run()) { 69 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 72 statement.BindInt64(0, url_id); 74 if (!statement.Step()) 77 row->id = statement.ColumnInt64(0) [all...] |
/external/chromium_org/components/search_engines/ |
keyword_table.h | 21 class Statement; 156 static bool GetKeywordDataFromStatement(const sql::Statement& s,
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteDatabaseTest.java | 11 import java.sql.Statement; 40 Statement statement = shadowOf(database).getConnection().createStatement(); local 41 ResultSet resultSet = statement.executeQuery("SELECT name FROM table_name where id = "+id);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldConnectionTest.java | 28 import java.sql.Statement; 33 Statement statement = conn.createStatement(); local 34 assertNotNull(statement); 36 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection()); 37 assertNull(statement.getWarnings()); 38 assertTrue(statement.getQueryTimeout() > 0); 41 statement.executeQuery("select * from zoo"); 50 Statement st = null; 183 Statement st = null [all...] |
/external/chromium_org/components/history/core/browser/ |
url_database.cc | 16 #include "sql/statement.h" 63 void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) { 79 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 81 statement.BindInt64(0, url_id); 83 if (statement.Step()) { 84 FillURLRow(statement, info); 91 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 94 while (statement.Step()) [all...] |
in_memory_database.cc | 71 sql::Statement attach(GetDB().GetUniqueStatement("ATTACH ? AS history")); 95 sql::Statement visit_count(db_.GetUniqueStatement(
|
/external/chromium_org/components/enhanced_bookmarks/ |
persistent_image_store.cc | 9 #include "sql/statement.h" 84 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 86 statement.BindString(0, page_url.possibly_invalid_spec()); 88 int count = statement.Step() ? statement.ColumnInt(0) : 0; 101 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 106 statement.BindString(0, page_url.possibly_invalid_spec()); 107 statement.BindString(1, image_url.possibly_invalid_spec()) [all...] |
/external/chromium_org/sql/test/ |
test_helpers.cc | 12 #include "sql/statement.h" 19 sql::Statement s(db->GetUniqueStatement(kTypeSQL)); 27 sql::Statement s(db->GetUniqueStatement("PRAGMA page_size")); 37 sql::Statement s(db->GetUniqueStatement(kPageSql)); 189 sql::Statement s(db->GetUniqueStatement(kQuoteSQL)); 196 sql::Statement s(db->GetUniqueStatement(sql.c_str())); 211 sql::Statement s(db->GetUniqueStatement(sql.c_str())); 242 sql::Statement statement(db->GetUniqueStatement("PRAGMA integrity_check")); 245 EXPECT_TRUE(statement.Step()) [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table.cc | 9 #include "sql/statement.h" 54 sql::Statement update(connection->GetUniqueStatement( 71 sql::Statement query(connection->GetUniqueStatement( 97 sql::Statement query(connection->GetUniqueStatement(
|
/libcore/luni/src/main/java/java/sql/ |
Connection.java | 125 * Returns a new instance of {@code Statement} for issuing SQL commands to 128 * {@code ResultSets} generated by the returned statement will default to 132 * @return a {@code Statement} object with default settings. 137 public Statement createStatement() throws SQLException; 140 * Returns a new instance of {@code Statement} whose associated {@code 157 * @return a new instance of {@code Statement} capable of manufacturing 163 public Statement createStatement(int resultSetType, int resultSetConcurrency) 167 * Returns a new instance of {@code Statement} whose associated 190 * @return a new instance of {@code Statement} capable of 198 public Statement createStatement(int resultSetType [all...] |
/external/chromium_org/v8/src/ |
parser.h | 371 typedef ZoneList<v8::internal::Statement*>* StatementList; 574 ZoneList<v8::internal::Statement*>* NewStatementList(int size, Zone* zone) { 575 return new(zone) ZoneList<v8::internal::Statement*>(size, zone); 595 V8_INLINE ZoneList<Statement*>* ParseEagerFunctionBody( 705 void* ParseSourceElements(ZoneList<Statement*>* processor, int end_token, 708 Statement* ParseModuleElement(ZoneList<const AstRawString*>* labels, 710 Statement* ParseModuleDeclaration(ZoneList<const AstRawString*>* names, 719 Statement* ParseExportDeclaration(bool* ok); 720 Statement* ParseBlockElement(ZoneList<const AstRawString*>* labels, bool* ok); 721 Statement* ParseStatement(ZoneList<const AstRawString*>* labels, bool* ok) [all...] |
prettyprinter.h | 46 virtual void PrintStatements(ZoneList<Statement*>* statements); 79 void PrintStatements(ZoneList<Statement*>* statements);
|
/external/chromium_org/chrome/browser/history/ |
download_database.cc | 24 #include "sql/statement.h" 43 // Binds/reads the given file path to the given column of the given statement. 44 void BindFilePath(sql::Statement& statement, const base::FilePath& path, 46 statement.BindString(col, path.value()); 48 base::FilePath ColumnFilePath(sql::Statement& statement, int col) { 49 return base::FilePath(statement.ColumnString(col)); 55 void BindFilePath(sql::Statement& statement, const base::FilePath& path [all...] |
thumbnail_database.cc | 24 #include "sql/statement.h" 91 void FillIconMapping(const sql::Statement& statement, 94 icon_mapping->mapping_id = statement.ColumnInt64(0); 95 icon_mapping->icon_id = statement.ColumnInt64(1); 97 static_cast<favicon_base::IconType>(statement.ColumnInt(2)); 98 icon_mapping->icon_url = GURL(statement.ColumnString(3)); 182 sql::Statement statement(db->GetUniqueStatement(kVersionSql)); 183 if (statement.Step()) 867 sql::Statement statement; local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Connection1.java | 33 import java.sql.Statement; 52 public Statement createStatement() throws SQLException { 56 public Statement createStatement(int resultSetType, 62 public Statement createStatement(int resultSetType, int resultSetConcurrency)
|
/external/chromium_org/chrome/browser/predictors/ |
logged_in_predictor_table.h | 16 class Statement;
|
/external/chromium_org/sql/ |
connection.h | 32 class Statement; 34 // Uniquely identifies a statement. There are two modes of operation: 37 // identify your statement. This is a convienient way to get uniqueness for 38 // a statement that is only used in one place. Use the SQL_FROM_HERE macro 41 // - In the "custom" mode you may use the statement from different places or 51 // Creates a uniquely named statement with the given file ane line number. 58 // Creates a uniquely named statement with the given user-defined name. 66 // a statement name that will be deallocated and will cause a crash later. 127 // statement, if available) will be passed to the callback. 131 typedef base::Callback<void(int, Statement*)> ErrorCallback [all...] |
connection_unittest.cc | 12 #include "sql/statement.h" 25 sql::Statement s(db->GetUniqueStatement(kMasterCount)); 53 void IgnoreErrorCallback(int error, sql::Statement* stmt) { 59 int error, sql::Statement* stmt) { 69 int error, sql::Statement* stmt) { 107 void RazeErrorCallback(int expected_error, int error, sql::Statement* stmt) { 119 // Valid statement should return true. 123 // Invalid statement should fail. 145 // Create a new cached statement. 147 sql::Statement s(db().GetCachedStatement(id1, "SELECT a FROM foo")) [all...] |
/external/deqp/framework/randomshaders/ |
rsgShader.hpp | 104 std::vector<Statement*>& getGlobalStatements (void) { return m_globalStatements; } 121 std::vector<Statement*> m_globalStatements;
|