/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_table_unittest.cc | 24 #include "sql/statement.h" 105 sql::Statement s(db->GetSQLConnection()->GetUniqueStatement( 663 sql::Statement s_home(db_->GetSQLConnection()->GetUniqueStatement( 689 sql::Statement s_billing(db_->GetSQLConnection()->GetUniqueStatement( 706 sql::Statement s_billing_updated(db_->GetSQLConnection()->GetUniqueStatement( 741 sql::Statement s_billing_updated_2( [all...] |
/external/chromium_org/chrome/browser/diagnostics/ |
sqlite_diagnostics.cc | 24 #include "sql/statement.h" 95 { // Scope the statement and database so they close properly. 117 sql::Statement statement( 124 if (!statement.is_valid()) { 137 while (statement.Step()) { 138 std::string result(statement.ColumnString(0)); 168 sql::Statement* statement) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CursorAdapterTest.java | 11 import java.sql.Statement; 40 Statement statement = connection.createStatement(); local 41 statement.execute("CREATE TABLE table_name(_id INT PRIMARY KEY, name VARCHAR(255));" ); 54 statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); 56 ResultSet resultSet = statement.executeQuery(sql);
|
SQLiteStatementTest.java | 13 import java.sql.Statement; 52 Statement statement = shadowOf(database).getConnection().createStatement(); local 53 ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM `routine`"); 57 statement = shadowOf(database).getConnection().createStatement(); 58 resultSet = statement.executeQuery("SELECT `id`, `name` ,`lastUsed` FROM `routine`");
|
SQLiteCursorTest.java | 16 import java.sql.Statement; 33 Statement statement = connection.createStatement(); local 34 statement.execute("CREATE TABLE table_name(" + 214 PreparedStatement statement = connection.prepareStatement(sql); local 215 statement.setObject(1, byteData); 216 statement.executeUpdate(); 234 PreparedStatement statement = connection.prepareStatement(sql); local 235 statement.setObject(1, s); 236 statement.executeUpdate() 340 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); local 348 Statement statement = connection.createStatement(); local [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 25 import java.sql.Statement; 39 private static Statement statement = null; field in class:DeleteFunctionalityTest 45 statement = conn.createStatement(); 52 statement.close(); 66 statement 70 statement 74 statement 78 statement.execute(DatabaseCreator.DROP_TABLE5); 82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT) [all...] |
/external/chromium_org/chrome/browser/history/ |
shortcuts_database_unittest.cc | 16 #include "sql/statement.h" 109 sql::Statement 115 sql::Statement s(db_->db_.GetUniqueStatement( 251 sql::Statement statement(connection.GetUniqueStatement( 254 ASSERT_TRUE(statement.is_valid()); 255 while (statement.Step()) { 257 EXPECT_EQ(statement.ColumnString(1), statement.ColumnString(0)); 261 ui::PageTransitionFromInt(statement.ColumnInt(2))) [all...] |
/external/chromium_org/components/history/core/android/ |
android_history_types.cc | 135 AndroidStatement::AndroidStatement(sql::Statement* statement, int favicon_index) 136 : statement_(statement),
|
/external/chromium_org/components/password_manager/core/browser/ |
login_database.h | 134 // Fills |form| from the values in the given statement (which is assumed to 139 sql::Statement& s) const;
|
/external/chromium_org/v8/src/ |
typing.h | 76 void VisitStatements(ZoneList<Statement*>* statements);
|
parser.cc | 281 // 'continue' statement targets). Upon construction, a new target is 327 // thus it must never be used where only a single statement 328 // is correct (e.g. an if statement branch w/o braces)! 902 ZoneList<Statement*>* body = new(zone()) ZoneList<Statement*>(16, zone()); 1658 TryStatement* statement = ParseTryStatement(CHECK_OK); local 2662 SwitchStatement* statement = local 2779 TryCatchStatement* statement = factory()->NewTryCatchStatement( local [all...] |
preparser.h | 888 // Creates expression statement from expression. [all...] |
/libcore/luni/src/main/java/java/sql/ |
Statement.java | 23 * {@code Statement} object, only one {@code ResultSet} can be opened at one 24 * time. A call to any of the execution methods of {@code Statement} will cause 25 * any previously created {@code ResultSet} object for that {@code Statement} to 29 * {@code Statement} objects must be created and then executed. 31 * To obtain such an executable statement one needs to invoke {@code 37 public interface Statement extends Wrapper, AutoCloseable { 53 * statement. 74 * Indicates that a batch statement was executed with a successful result, 81 * Statement}. 88 * {@code UPDATE} statement [all...] |
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCStatement.java | 6 public class JDBCStatement implements java.sql.Statement { 60 // "[throws SQLException if] this method is called on a closed Statement or the condition 62 // (http://java.sun.com/javase/6/docs/api/java/sql/Statement.html#setQueryTimeout(int)) 64 throw new SQLException("can't set a query timeout on a closed statement"); 265 if (autokeys != Statement.NO_GENERATED_KEYS) { 283 if (autokeys != Statement.NO_GENERATED_KEYS) {
|
JDBCConnection.java | 185 public Statement createStatement() { 190 public Statement createStatement(int resultSetType, 421 public Statement createStatement(int resultSetType, 448 if (autokeys != Statement.NO_GENERATED_KEYS) {
|
/external/chromium_org/sql/ |
connection.cc | 20 #include "sql/statement.h" 196 // connection_. And if this is inactive statement this won't cause any 207 // Forced close is expected to happen from a statement error 274 // statement's error handler). 357 Statement sql_get_original(GetUniqueStatement("PRAGMA cache_size")); 578 Statement begin(GetCachedStatement(SQL_FROM_HERE, "BEGIN TRANSACTION")); 620 Statement commit(GetCachedStatement(SQL_FROM_HERE, "COMMIT")); 635 Statement s(GetUniqueStatement("ATTACH DATABASE ? AS ?")); 648 Statement s(GetUniqueStatement("DETACH DATABASE ?")); 673 // that there's a malformed SQL statement. This can arise in development i 710 scoped_refptr<StatementRef> statement = GetUniqueStatement(sql); local [all...] |
transaction_unittest.cc | 8 #include "sql/statement.h" 31 sql::Statement count(db().GetUniqueStatement("SELECT count(*) FROM foo"));
|
/external/chromium_org/content/browser/media/ |
webrtc_identity_store_backend.cc | 14 #include "sql/statement.h" 162 void OnDatabaseError(int error, sql::Statement* stmt); 403 sql::Statement stmt(db_->GetUniqueStatement( 466 sql::Statement del_stmt(db_->GetCachedStatement( 482 DVLOG(2) << "Failed to run the delete statement."; 492 sql::Statement* stmt) { 537 sql::Statement add_stmt(db_->GetCachedStatement( 546 sql::Statement del_stmt(db_->GetCachedStatement(
|
/external/chromium_org/chrome/browser/history/android/ |
android_provider_backend.cc | 63 sql::Statement* statement, 68 statement->BindString16(*col_index, *i); 530 scoped_ptr<sql::Statement> statement(new sql::Statement( 533 BindStatement(selection_args, statement.get(), &count); 534 if (!statement->is_valid()) { 538 sql::Statement* result = statement.release() 976 scoped_ptr<AndroidStatement> statement; local [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
threadtest3.c | 393 typedef struct Statement Statement; 412 Statement *pCache; /* Linked list of cached statements */ 417 struct Statement { 418 sqlite3_stmt *pStmt; /* Pre-compiled statement handle */ 419 Statement *pNext; /* Next statement in linked-list */ 531 Statement *pIter; 532 Statement *pNext; 559 static Statement *getSqlStatement [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricTestRunner.java | 23 import org.junit.runners.model.Statement; 313 @Override protected Statement methodBlock(final FrameworkMethod method) { 323 final Statement statement = super.methodBlock(method); local 324 return new Statement() { 328 statement.evaluate();
|
/external/chromium_org/chrome/utility/importer/ |
firefox_importer.cc | 30 #include "sql/statement.h" 172 sql::Statement s(db.GetUniqueStatement(query)); 238 sql::Statement s(db.GetUniqueStatement(query)); 404 sql::Statement s(db.GetUniqueStatement(query)); 446 sql::Statement s(db.GetUniqueStatement(query)); 643 sql::Statement s(db->GetUniqueStatement(query)); 666 sql::Statement s(db->GetUniqueStatement(query)); 680 sql::Statement s(db->GetUniqueStatement(query)); 711 sql::Statement s(db->GetUniqueStatement(query)); 747 sql::Statement s(db->GetUniqueStatement(query)) [all...] |
nss_decryptor.cc | 17 #include "sql/statement.h" 247 sql::Statement s(db.GetUniqueStatement(query)); 269 sql::Statement s2(db.GetUniqueStatement(query2));
|
/external/chromium_org/chrome/browser/webdata/ |
keyword_table_unittest.cc | 17 #include "sql/statement.h" 100 void GetStatement(const char* sql, sql::Statement* statement) const { 101 statement->Assign(table_->db_->GetUniqueStatement(sql)); 219 sql::Statement s;
|
/external/chromium_org/content/browser/net/ |
sqlite_persistent_cookie_store.cc | 39 #include "sql/statement.h" 208 void DatabaseErrorCallback(int error, sql::Statement* stmt); 608 sql::Statement smt(db_->GetUniqueStatement( 695 sql::Statement smt; [all...] |