/external/webkit/LayoutTests/storage/ |
change-version-handle-reuse.js | 35 log("transaction: statement callback"); 38 log("transaction: statement error callback: " + error.message);
|
multiple-transactions-on-different-handles.js | 21 log(dbName + " " + statementType + " statement succeeded"); 26 log(dbName + " " + statementType + " statement failed: " + error.message); 33 // Execute a read-only statement 38 // Execute a write statement to make sure SQLite tries to acquire an exclusive lock on the DB file
|
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-internal.h | 803 // statement if it returns or throws (or doesn't return or throw in some 805 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ 806 if (::testing::internal::AlwaysTrue()) { statement; } 808 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 813 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 819 gtest_msg = "Expected: " #statement " throws an exception of type " \ 825 gtest_msg = "Expected: " #statement " throws an exception of type " \ 833 #define GTEST_TEST_NO_THROW_(statement, fail) \ 837 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 840 gtest_msg = "Expected: " #statement " doesn't throw an exception.\n" [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-internal.h | 796 // statement if it returns or throws (or doesn't return or throw in some 798 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ 799 if (::testing::internal::AlwaysTrue()) { statement; } 801 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 806 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 812 gtest_msg = "Expected: " #statement " throws an exception of type " \ 818 gtest_msg = "Expected: " #statement " throws an exception of type " \ 826 #define GTEST_TEST_NO_THROW_(statement, fail) \ 830 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 833 gtest_msg = "Expected: " #statement " doesn't throw an exception.\n" [all...] |
/external/webkit/Source/WebCore/storage/ |
StorageTracker.cpp | 156 SQLiteStatement statement(m_database, "SELECT origin FROM Origins"); 157 if (statement.prepare() != SQLResultOk) { 158 LOG_ERROR("Failed to prepare statement."); 166 while ((result = statement.step()) == SQLResultRow) 167 m_originSet.add(statement.getColumnText(0).threadsafeCopy()); 286 SQLiteStatement statement(m_database, "INSERT INTO Origins VALUES (?, ?)"); 287 if (statement.prepare() != SQLResultOk) { 292 statement.bindText(1, originIdentifier); 293 statement.bindText(2, databaseFile); 295 if (statement.step() != SQLResultDone [all...] |
SQLStatement.h | 65 SQLStatement(Database*, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback>, PassRefPtr<SQLStatementErrorCallback>, int permissions);
|
AbstractDatabase.cpp | 51 SQLiteStatement statement(db, query); 52 int result = statement.prepare(); 55 LOG_ERROR("Error (%i) preparing statement to read text result from database (%s)", result, query.ascii().data()); 59 result = statement.step(); 61 resultString = statement.getColumnText(0); 75 SQLiteStatement statement(db, query); 76 int result = statement.prepare(); 79 LOG_ERROR("Failed to prepare statement to set value in database (%s)", query.ascii().data()); 83 statement.bindText(1, value); 85 result = statement.step() [all...] |
/external/chromium/chrome/browser/history/ |
visit_database.h | 13 class Statement; 110 // Returns false if there's a failure preparing the statement. True 162 static void FillVisitRow(sql::Statement& statement, VisitRow* visit); 164 // Convenience to fill a VisitVector. Assumes that statement.step() 166 static void FillVisitVector(sql::Statement& statement, VisitVector* visits);
|
/external/chromium/chrome/browser/sync/syncable/ |
syncable_id.h | 41 friend int UnpackEntry(SQLStatement* statement, 43 friend int BindFields(const EntryKernel& entry, SQLStatement* statement);
|
/external/junit/src/org/junit/internal/runners/statements/ |
FailOnTimeout.java | 6 import org.junit.runners.model.Statement; 8 public class FailOnTimeout extends Statement { 9 private final Statement fOriginalStatement; 13 public FailOnTimeout(Statement originalStatement, long timeout) { 49 private final Statement fStatement; 55 public StatementThread(Statement statement) { 56 fStatement= statement;
|
/external/mockito/src/org/mockito/internal/runners/ |
JUnit45AndHigherRunnerImpl.java | 14 import org.junit.runners.model.Statement;
24 protected Statement withBefores(FrameworkMethod method, Object target,
25 Statement statement) {
28 return super.withBefores(method, target, statement);
|
/external/qemu/android/utils/ |
vector.h | 73 #define AVECTOR_FOREACH(obj,name,itemptr,statement) \ 79 statement; \
|
/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);
|
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);
|
DatabaseTestBase.java | 15 import java.sql.Statement; 209 * One should just avoid ever calling a statement without selectionArgs (when one has a ? placeholder), 348 Statement statement; local 353 statement = shadowOf(database).getConnection().createStatement(); 354 resultSet = statement.executeQuery("SELECT COUNT(*) FROM table_name"); 358 statement = shadowOf(database).getConnection().createStatement(); 359 resultSet = statement.executeQuery("SELECT * FROM table_name"); 367 Statement statement; local 503 Statement statement = shadowOf(database).getConnection().createStatement(); local 517 Statement statement = shadowOf(database).getConnection().createStatement(); local [all...] |
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`");
|
/libcore/luni/src/test/java/tests/java/sql/ |
StressTest.java | 25 import java.sql.Statement; 40 private static Statement statement; field in class:StressTest 46 statement = conn.createStatement(); 53 statement.close(); 66 statement.execute(DatabaseCreator.DROP_TABLE2); 69 statement.execute(DatabaseCreator.CREATE_TABLE2); 78 statement.execute(DatabaseCreator.DROP_TABLE2); 100 // statement.execute("DELETE FROM " + DatabaseCreator.TEST_TABLE2); 175 ResultSet rs = statement [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
GeolocationPermissions.cpp | 342 SQLiteStatement statement(database, "SELECT * FROM Permissions"); 343 if (statement.prepare() != SQLResultOk) { 349 while (statement.step() == SQLResultRow) 350 s_permanentPermissions.set(statement.getColumnText(0), statement.getColumnInt64(1)); 378 SQLiteStatement statement(database, "INSERT INTO Permissions (origin, allow) VALUES (?, ?)"); 379 if (statement.prepare() != SQLResultOk) 381 statement.bindText(1, iter->first); 382 statement.bindInt64(2, iter->second); 383 statement.executeCommand() [all...] |
/external/sqlite/android/ |
sqlite3_android.cpp | 210 sqlite3_stmt * statement = (sqlite3_stmt *)data; local 211 sqlite3_finalize(statement); 288 // Get or create the prepared statement for the insertions 289 sqlite3_stmt * statement = (sqlite3_stmt *)sqlite3_get_auxdata(context, 0); local 290 if (!statement) { 297 err = sqlite3_prepare_v2(handle, sql, -1, &statement, NULL); 304 // This binds the statement to the table it was compiled against, which is argv[0]. 307 sqlite3_set_auxdata(context, 0, statement, tokenize_auxdata_delete); 309 // Reset the cached statement so that binding the row ID will work properly 310 sqlite3_reset(statement); [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 129 // to executing the given statement. It is the responsibility of the 154 // code; and RETURNED means that the test statement attempted a "return," 228 bool DeathTest::Create(const char* statement, const RE* regex, 231 statement, regex, file, line, test); 243 ForkingDeathTest(const char* statement, const RE* regex); 275 ForkingDeathTest::ForkingDeathTest(const char* statement, const RE* regex) 277 statement_(statement), 400 buffer << " Result: illegal return in test statement.\n" 445 NoExecDeathTest(const char* statement, const RE* regex) : 446 ForkingDeathTest(statement, regex) { [all...] |
/external/javassist/src/main/javassist/expr/ |
Cast.java | 87 * @param statement a Java statement except try-catch. 89 public void replace(String statement) throws CannotCompileException { 112 checkResultValue(retType, statement); 121 jc.compileStmnt(statement);
|
Instanceof.java | 90 * @param statement a Java statement except try-catch. 92 public void replace(String statement) throws CannotCompileException { 118 checkResultValue(retType, statement); 127 jc.compileStmnt(statement);
|
/external/mdnsresponder/mDNSShared/ |
dnsextd.conf | 9 // You need to edit the "zone" statement below to give the name of your 21 // You also need a "zone" statement in /etc/named.conf to tell BIND the update
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteDatabase.java | 18 import java.sql.Statement; 94 PreparedStatement insert = connection.prepareStatement(sqlInsertString.sql, Statement.RETURN_GENERATED_KEYS); 128 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); local 129 resultSet = statement.executeQuery(sql); 158 PreparedStatement statement = connection.prepareStatement(sqlUpdateString.sql); local 162 statement.setObject(i++, columns.next()); 165 return statement.executeUpdate(); 206 SQLiteStatement statement = null; local 208 statement =compileStatement(scrubbedSql) [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8SQLTransactionSyncCustom.cpp | 58 STRING_TO_V8PARAMETER_EXCEPTION_BLOCK(V8Parameter<>, statement, args[0]); 94 v8::Handle<v8::Value> result = toV8(transaction->executeSQL(statement, sqlValues, ec));
|