/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_table.cc | 30 #include "sql/statement.h" 58 sql::Statement* s, 83 AutofillProfile* AutofillProfileFromStatement(const sql::Statement& s, 104 sql::Statement* s) { 123 CreditCard* CreditCardFromStatement(const sql::Statement& s) { 149 sql::Statement s(db->GetUniqueStatement( 178 sql::Statement s(db->GetUniqueStatement( 201 sql::Statement s(db->GetUniqueStatement( 238 sql::Statement s(db->GetUniqueStatement( 260 sql::Statement s(db->GetUniqueStatement [all...] |
/external/chromium_org/sql/ |
statement_unittest.cc | 11 #include "sql/statement.h" 40 sql::Statement s; 51 sql::Statement s(db().GetUniqueStatement("SELECT b FROM foo WHERE a=?")); 78 // Error callback called for error running a statement. 89 sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)")); 96 // Error ignorer works for error running a statement. 100 sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)")); 115 sql::Statement s(db().GetUniqueStatement(
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldStatementTest.java | 25 import java.sql.Statement; 32 Statement st = null; 78 Statement st = null; 105 Statement st = null; 122 Statement st = null; 164 Statement st = null; 229 Statement st = null; 233 assertEquals("different result for statement no. "+i, results[i], res); 252 Statement st = null; 281 Statement st = null [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
AbstractSqlTest.java | 24 import java.sql.Statement; 45 * The statement from the first connection. 47 private Statement firstStmt; 50 * The statement from the second connection. 52 private Statement secondStmt; 133 * @param stmt the statement to be used for the selection of the data 138 private void assertAllFromTbl1(Statement stmt, String[] ones, short[] twos) 194 * @param stmt the statement to be used to update the data 199 private void updateOnes(Statement stmt, String[] ones_updated, short[] twos)
|
QueryTimeoutTest.java | 28 import java.sql.Statement; 83 Statement statement = null; local 85 statement = connection.createStatement(); 86 statement.execute(queryString); 88 if (statement != null) { 89 statement.close(); 95 PreparedStatement statement = connection.prepareStatement(FETCH_QUERY); local 96 statement.setQueryTimeout(1); 99 resultSet = statement.executeQuery() 113 PreparedStatement statement = connection.prepareStatement(EXEC_QUERY); local 126 PreparedStatement statement = connection.prepareStatement("select 'hello'"); local 140 Statement statement = connection.createStatement(); local 152 Statement statement = connection.createStatement(); local [all...] |
/external/chromium_org/chrome/browser/predictors/ |
logged_in_predictor_table.cc | 14 #include "sql/statement.h" 17 using sql::Statement; 60 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 64 statement.BindString(0, GetKey(url)); 65 statement.BindInt64(1, base::Time::Now().ToInternalValue()); 67 statement.Run(); 75 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 78 statement.BindString(0, GetKey(url)) [all...] |
autocomplete_action_predictor_table.cc | 13 #include "sql/statement.h" 25 sql::Statement* statement) { 27 statement->BindString(0, row.id); 28 statement->BindString16(1, row.user_text.substr(0, kMaxDataLength)); 29 statement->BindString(2, row.url.spec().substr(0, kMaxDataLength)); 30 statement->BindInt(3, row.number_of_hits); 31 statement->BindInt(4, row.number_of_misses); 35 sql::Statement* statement, [all...] |
/frameworks/base/tools/aidl/ |
AST.h | 111 struct Statement 113 virtual ~Statement(); 117 struct StatementBlock : public Statement 119 vector<Statement*> statements; 125 void Add(Statement* statement); 129 struct ExpressionStatement : public Statement 229 struct VariableDeclaration : public Statement 241 struct IfStatement : public Statement 252 struct ReturnStatement : public Statement [all...] |
/libcore/luni/src/test/java/tests/support/ |
DatabaseCreator.java | 22 import java.sql.Statement; 257 Statement statement = conn.createStatement(); local 258 statement 260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); 261 statement 266 Statement statement = conn.createStatement(); local 267 statement.execute("INSERT INTO " + FKSTRICT_TABLE 269 statement.execute("INSERT INTO " + FKSTRICT_TABL 276 Statement statement = conn.createStatement(); local 286 Statement statement = conn.createStatement(); local 293 Statement statement = conn.createStatement(); local 301 Statement statement = conn.createStatement(); local 312 Statement statement = conn.createStatement(); local 324 Statement statement = conn.createStatement(); local 340 Statement statement = conn.createStatement(); local 352 Statement statement = conn.createStatement(); local 370 Statement statement = conn.createStatement(); local 386 Statement statement = conn.createStatement(); local 396 Statement statement = conn.createStatement(); local [all...] |
/external/chromium/chrome/browser/history/ |
visit_database.cc | 12 #include "app/sql/statement.h" 89 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { 90 visit->visit_id = statement.ColumnInt64(0); 91 visit->url_id = statement.ColumnInt64(1); 92 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 93 visit->referring_visit = statement.ColumnInt64(3); 94 visit->transition = PageTransition::FromInt(statement.ColumnInt(4)); 95 visit->segment_id = statement.ColumnInt64(5); 96 visit->is_indexed = !!statement.ColumnInt(6) [all...] |
url_database.cc | 12 #include "app/sql/statement.h" 74 void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) { 90 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 92 if (!statement) 95 statement.BindInt64(0, url_id); 96 if (statement.Step()) { 97 FillURLRow(statement, info); 104 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE [all...] |
top_sites_database.cc | 88 sql::Statement statement(db_->GetCachedStatement( 94 if (!statement) { 102 while (statement.Step()) { 105 GURL gurl(statement.ColumnString(0)); 107 url.title = statement.ColumnString16(2); 108 std::string redirects = statement.ColumnString(4); 113 statement.ColumnBlobAsVector(3, &data); 116 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); 117 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6) [all...] |
/external/chromium_org/chrome/browser/history/ |
visitsegment_database.cc | 20 #include "sql/statement.h" 165 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 167 statement.BindString(0, segment_name); 169 if (statement.Step()) 170 return statement.ColumnInt64(0); 176 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 178 statement.BindInt64(0, url_id); 179 statement.BindInt64(1, segment_id) [all...] |
visit_database.cc | 18 #include "sql/statement.h" 85 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { 86 visit->visit_id = statement.ColumnInt64(0); 87 visit->url_id = statement.ColumnInt64(1); 88 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 89 visit->referring_visit = statement.ColumnInt64(3); 90 visit->transition = content::PageTransitionFromInt(statement.ColumnInt(4)); 91 visit->segment_id = statement.ColumnInt64(5); 93 base::TimeDelta::FromInternalValue(statement.ColumnInt64(6)) [all...] |
/external/junit/src/org/junit/runners/ |
ParentRunner.java | 36 import org.junit.runners.model.Statement; 139 * Constructs a {@code Statement} to run all of the tests in the test class. Override to add pre-/post-processing. 153 * @return {@code Statement} 155 protected Statement classBlock(final RunNotifier notifier) { 156 Statement statement= childrenInvoker(notifier); local 157 statement= withBeforeClasses(statement); 158 statement= withAfterClasses(statement); [all...] |
/external/chromium/chrome/browser/webdata/ |
autofill_table.cc | 14 #include "app/sql/statement.h" 61 sql::Statement* s) { 84 AutofillProfile* AutofillProfileFromStatement(const sql::Statement& s) { 103 sql::Statement* s) { 121 CreditCard* CreditCardFromStatement(const sql::Statement& s) { 148 sql::Statement s(db->GetUniqueStatement( 153 NOTREACHED() << "Statement prepare failed"; 175 sql::Statement s(db->GetUniqueStatement( 180 NOTREACHED() << "Statement prepare failed"; 196 sql::Statement s(db->GetUniqueStatement [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/ |
MaterialExtensionLoader.java | 46 import com.jme3.util.blockparser.Statement; 68 private void readExtendingMaterialStatement(Statement statement) throws IOException { 69 if (statement.getLine().startsWith("set_texture_alias")){ 70 String[] split = statement.getLine().split(" ", 3); 93 private Material readExtendingMaterial(Statement statement) throws IOException{ 94 String[] split = statement.getLine().split(" ", 2); 107 for (Statement extMatStat : statement.getContents()) [all...] |
/external/chromium/app/sql/ |
connection_unittest.cc | 6 #include "app/sql/statement.h" 33 // Valid statement should return true. 37 // Invalid statement should fail. 48 // Create a new cached statement. 50 sql::Statement s(db().GetCachedStatement(id1, "SELECT a FROM foo")); 57 // The statement should be cached still. 61 // Get the same statement using different SQL. This should ignore our 63 sql::Statement s(db().GetCachedStatement(id1, "something invalid(")); 101 sql::Statement s(db().GetUniqueStatement("SELECT value FROM foo WHERE id=?"));
|
connection.h | 23 class Statement; 25 // Uniquely identifies a statement. There are two modes of operation: 28 // identify your statement. This is a convienient way to get uniqueness for 29 // a statement that is only used in one place. Use the SQL_FROM_HERE macro 32 // - In the "custom" mode you may use the statement from different places or 42 // Creates a uniquely named statement with the given file ane line number. 49 // Creates a uniquely named statement with the given user-defined name. 57 // a statement name that will be deallocated and will cause a crash later. 75 // false while the actual error code and causing statement are delivered using 85 // our best guess at the statement that triggered the error. Do not stor [all...] |
statement_unittest.cc | 8 #include "app/sql/statement.h" 19 sql::Statement* stmt) { 22 sql_text_ = sql_txt ? sql_txt : "no statement available"; 48 // The |error_handler_| will be called if any sqlite statement operation 54 // If any error happened the original sql statement can be found in 72 sql::Statement s; 87 sql::Statement s(db().GetUniqueStatement("SELECT b FROM foo WHERE a=?")); 120 sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)"));
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table.cc | 9 #include "sql/statement.h" 46 sql::Statement update(connection->GetUniqueStatement( 63 sql::Statement query(connection->GetUniqueStatement( 85 sql::Statement query(connection->GetUniqueStatement(
|
/external/chromium_org/sync/syncable/ |
syncable_id.h | 24 class Statement; 116 friend scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement); 118 sql::Statement* statement);
|
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...] |
/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/webkit/browser/appcache/ |
appcache_database.cc | 14 #include "sql/statement.h" 250 sql::Statement statement(db_->GetUniqueStatement(kSql)); 252 while (statement.Step()) 253 origins->insert(GURL(statement.ColumnString(0))); 255 return statement.Succeeded(); 314 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 316 statement.BindInt64(0, group_id); 317 if (!statement.Step() [all...] |