HomeSort by relevance Sort by last modified time
    Searched refs:statement (Results 26 - 50 of 242) sorted by null

12 3 4 5 6 7 8 910

  /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/junit/src/org/junit/rules/
RunRules.java 4 import org.junit.runners.model.Statement;
7 * Runs a collection of rules on a statement.
9 public class RunRules extends Statement {
10 private final Statement statement; field in class:RunRules
12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) {
13 statement= applyAll(base, rules, description);
18 statement.evaluate();
21 private static Statement applyAll(Statement result, Iterable<TestRule> rules
    [all...]
ExternalResource.java 4 import org.junit.runners.model.Statement;
36 public Statement apply(Statement base, Description description) {
37 return statement(base);
40 private Statement statement(final Statement base) { method in class:ExternalResource
41 return new Statement() {
  /cts/tests/tests/database/src/android/database/sqlite/cts/
DatabaseStatementTest.java 83 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); local
84 statement.execute();
89 statement.close();
132 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
135 statement.bindLong(1, i);
136 statement.execute();
138 statement.close();
154 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
157 statement.bindString(1, Long.toHexString(i));
158 statement.execute()
176 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
198 String statement = "INSERT INTO test (num, value) VALUES (?,?)"; local
222 SQLiteStatement statement = local
285 SQLiteStatement statement = local
300 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
    [all...]
SQLiteStatementTest.java 114 // if the SQL statement is something that causes rows of data to
134 SQLiteStatement statement = mDatabase.compileStatement( local
136 assertEquals(1, statement.executeInsert());
137 statement.close();
140 statement = mDatabase.compileStatement("insert or ignore into test values(1, 1);");
141 assertEquals(-1, statement.executeInsert());
142 statement.close();
151 // if the sql statement is something that causes rows of data to
153 statement = mDatabase.compileStatement(
156 statement.executeInsert()
169 SQLiteStatement statement = local
193 SQLiteStatement statement = local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); local
83 statement.execute();
88 statement.close();
131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
134 statement.bindLong(1, i);
135 statement.execute();
137 statement.close();
153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
156 statement.bindString(1, Long.toHexString(i));
157 statement.execute()
175 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
197 String statement = "INSERT INTO test (num, value) VALUES (?,?)"; local
221 SQLiteStatement statement = local
284 SQLiteStatement statement = local
299 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
    [all...]
  /external/chromium/app/sql/
meta_table.cc 8 #include "app/sql/statement.h"
53 Statement s;
61 Statement s;
70 Statement s;
79 Statement s;
88 Statement s;
96 Statement s;
126 bool MetaTable::PrepareSetStatement(Statement* statement, const char* key) {
127 DCHECK(db_ && statement);
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteConnection.java 115 // Because SQLite statement execution can be reentrant, we keep track of how many
414 // Update prepared statement cache size.
441 // Returns true if the prepared statement cache contains the specified SQL.
463 * Prepares a statement for execution but does not bind its parameters or execute it.
466 * prior to execution of the statement. If the {@code outStatementInfo} argument
468 * with information about the statement.
470 * A prepared statement makes no reference to the arguments that may eventually
472 * such as SELECT or INSERT/UPDATE statements. If the statement is cacheable,
476 * provides a method to acquire a connection that already has a given SQL statement
477 * in its prepared statement cache so that it is ready for execution
493 final PreparedStatement statement = acquirePreparedStatement(sql); local
541 final PreparedStatement statement = acquirePreparedStatement(sql); local
584 final PreparedStatement statement = acquirePreparedStatement(sql); local
627 final PreparedStatement statement = acquirePreparedStatement(sql); local
673 final PreparedStatement statement = acquirePreparedStatement(sql); local
720 final PreparedStatement statement = acquirePreparedStatement(sql); local
768 final PreparedStatement statement = acquirePreparedStatement(sql); local
831 final PreparedStatement statement = acquirePreparedStatement(sql); local
870 PreparedStatement statement = mPreparedStatementCache.get(sql); local
1176 PreparedStatement statement = mPreparedStatementPool; local
1263 PreparedStatement statement = entry.getValue(); local
    [all...]
  /external/chromium/chrome/browser/sync/util/
user_settings.cc 36 SQLStatement statement; local
37 statement.prepare(dbhandle, query);
38 if (SQLITE_DONE != statement.step()) {
166 SQLStatement statement; local
167 statement.prepare(dbhandle,
169 statement.bind_string(0, Generate128BitRandomHexString());
170 if (SQLITE_DONE != statement.step()) {
218 SQLStatement statement; local
219 statement.prepare(dbhandle.get(),
223 if (SQLITE_DONE != statement.step())
229 SQLStatement statement; local
237 SQLStatement statement; local
306 SQLStatement statement; local
317 SQLStatement statement; local
364 SQLStatement statement; local
376 SQLStatement statement; local
431 SQLStatement statement; local
    [all...]
user_settings_posix.cc 30 SQLStatement statement; local
31 statement.prepare(dbhandle.get(),
35 statement.bind_string(0, email);
36 statement.bind_string(1, service_name);
37 statement.bind_blob(2, encrypted_service_token.data(),
39 if (SQLITE_DONE != statement.step()) {
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
J3MLoader.java 50 import com.jme3.util.blockparser.Statement;
80 throw new IOException("Expected a statement, got '"+got+"'!");
87 private void readShaderStatement(String statement) throws IOException {
88 String[] split = statement.split(":");
90 throw new IOException("Shader statement syntax incorrect" + statement);
94 throw new IOException("Shader statement syntax incorrect: " + statement);
105 private void readLightMode(String statement) throws IOException{
106 String[] split = statement.split(whitespacePattern)
    [all...]
  /external/chromium/chrome/browser/sync/syncable/
directory_backing_store.cc 41 // This just has to be big enough to hold an UPDATE or INSERT statement that
52 SQLStatement statement; local
53 int result = statement.prepare(dbhandle, query);
57 result = statement.step();
70 // Iterate over the fields of |entry| and bind each to |statement| for
72 int BindFields(const EntryKernel& entry, SQLStatement* statement) {
76 statement->bind_int64(index++, entry.ref(static_cast<Int64Field>(i)));
79 statement->bind_string(index++, entry.ref(static_cast<IdField>(i)).s_);
82 statement->bind_int(index++, entry.ref(static_cast<BitField>(i)));
85 statement->bind_string(index++, entry.ref(static_cast<StringField>(i)))
198 SQLStatement statement; local
206 SQLStatement statement; local
231 SQLStatement statement; local
342 SQLStatement statement; local
512 SQLStatement statement; local
569 SQLStatement statement; local
658 SQLStatement statement; local
697 SQLStatement statement; local
779 SQLStatement statement; local
823 SQLStatement statement; local
1091 SQLStatement statement; local
1106 SQLStatement statement; local
1151 SQLStatement statement; local
    [all...]
  /external/chromium/testing/gtest/include/gtest/internal/
gtest-death-test-internal.h 79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
  /external/gtest/include/gtest/internal/
gtest-death-test-internal.h 79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-death-test-internal.h 79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
  /external/webkit/Source/WebCore/storage/
SQLStatement.cpp 46 PassRefPtr<SQLStatement> SQLStatement::create(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions)
48 return adoptRef(new SQLStatement(database, statement, arguments, callback, errorCallback, permissions));
51 SQLStatement::SQLStatement(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions)
52 : m_statement(statement.crossThreadString())
64 // If we're re-running this statement after a quota violation, we need to clear that error now
76 SQLiteStatement statement(*database, m_statement);
77 int result = statement.prepare();
80 LOG(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg());
85 // FIXME: If the statement uses the ?### syntax supported by sqlite, the bind parameter count is very likely off from the number of question marks.
87 if (statement.bindParameterCount() != m_arguments.size())
    [all...]
  /external/chromium/sdch/open-vcdiff/src/gtest/internal/
gtest-death-test-internal.h 76 static bool Create(const char* statement, const RE* regex,
131 virtual bool Create(const char* statement, const RE* regex,
138 virtual bool Create(const char* statement, const RE* regex,
148 #define GTEST_DEATH_TEST(statement, predicate, regex, fail) \
153 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
169 { statement; } \
  /external/chromium/testing/gtest/include/gtest/
gtest-spi.h 117 // statement will cause exactly one fatal Google Test failure with 'substr'
124 // The verification of the assertion is done correctly even when the statement
128 // - 'statement' cannot reference local non-static variables or
130 // - 'statement' cannot return a value.
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
159 static void Execute() { statement; }\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
181 // 'statement' is allowed to reference local variables and members o
    [all...]
  /external/gtest/include/gtest/
gtest-spi.h 117 // statement will cause exactly one fatal Google Test failure with 'substr'
124 // The verification of the assertion is done correctly even when the statement
128 // - 'statement' cannot reference local non-static variables or
130 // - 'statement' cannot return a value.
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
159 static void Execute() { statement; }\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
181 // 'statement' is allowed to reference local variables and members o
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/
gtest-spi.h 117 // statement will cause exactly one fatal Google Test failure with 'substr'
124 // The verification of the assertion is done correctly even when the statement
128 // - 'statement' cannot reference local non-static variables or
130 // - 'statement' cannot return a value.
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
159 static void Execute() { statement; }\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
181 // 'statement' is allowed to reference local variables and members o
    [all...]
  /external/protobuf/gtest/include/gtest/
gtest-spi.h 117 // statement will cause exactly one fatal Google Test failure with 'substr'
124 // The verification of the assertion is done correctly even when the statement
128 // - 'statement' cannot reference local non-static variables or
130 // - 'statement' cannot return a value.
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
159 static void Execute() { statement; }\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
181 // 'statement' is allowed to reference local variables and members o
    [all...]
  /external/junit/src/org/junit/runners/
BlockJUnit4ClassRunner.java 27 import org.junit.runners.model.Statement;
39 * <li>It has a much simpler implementation based on {@link Statement}s,
199 * Returns a Statement that, when executed, either returns normally if
228 * or the implementations creating each sub-statement.
230 protected Statement methodBlock(FrameworkMethod method) {
243 Statement statement= methodInvoker(method, test); local
244 statement= possiblyExpectingExceptions(method, test, statement);
245 statement= withPotentialTimeout(method, test, statement)
    [all...]
  /external/chromium/chrome/browser/history/
text_database.cc 11 #include "app/sql/statement.h"
51 // create statement. These are the 0-based indices (as strings) of the
214 sql::Statement add_to_pages(db_.GetCachedStatement(SQL_FROM_HERE,
231 sql::Statement add_to_info(db_.GetCachedStatement(SQL_FROM_HERE,
251 sql::Statement select_ids(db_.GetCachedStatement(SQL_FROM_HERE,
264 sql::Statement delete_page(db_.GetCachedStatement(SQL_FROM_HERE,
279 sql::Statement delete_info(db_.GetCachedStatement(SQL_FROM_HERE,
295 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
297 if (!statement)
    [all...]
  /frameworks/base/core/jni/
android_database_SQLiteConnection.cpp 90 // Called each time a statement begins execution, when tracing is enabled.
97 // Called each time a statement finishes execution, when profiling is enabled.
288 sqlite3_stmt* statement; local
290 sql, sqlLength * sizeof(jchar), &statement, NULL);
309 ALOGV("Prepared statement %p on connection %p", statement, connection->db);
310 return reinterpret_cast<jint>(statement);
316 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
319 // whether any errors occurred while executing the statement. The statement itsel
328 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
336 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
344 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
352 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
368 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
379 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
390 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
401 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
416 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
430 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
455 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
463 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
472 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
490 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
502 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
552 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
670 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local
    [all...]
  /external/webkit/Source/WebCore/loader/appcache/
ApplicationCacheStorage.cpp 105 SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE newestCache IS NOT NULL AND manifestURL=?");
106 if (statement.prepare() != SQLResultOk)
109 statement.bindText(1, manifestURL);
111 int result = statement.step();
120 unsigned newestCacheStorageID = static_cast<unsigned>(statement.getColumnInt64(2));
128 group->setStorageID(static_cast<unsigned>(statement.getColumnInt64(0)));
180 SQLiteStatement statement(m_database, "SELECT manifestHostHash FROM CacheGroups");
181 if (statement.prepare() != SQLResultOk)
184 while (statement.step() == SQLResultRow)
185 m_cacheHostSet.add(static_cast<unsigned>(statement.getColumnInt64(0)))
    [all...]

Completed in 1603 milliseconds

12 3 4 5 6 7 8 910