/external/bluetooth/bluez/tools/ |
parser.y | 67 | statement 68 | config statement 71 statement : section '{' rfcomm_options '}' label
|
/external/webkit/WebCore/manual-tests/inspector/resources/ |
loop-statements.js | 19 function statement() function
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 155 statements statement 156 | statement 159 statement: label
|
/libcore/luni/src/main/java/javax/sql/ |
StatementEvent.java | 25 * A statement event that a PreparedStatement is closed 35 private PreparedStatement statement; field in class:StatementEvent 42 * @param statement 43 * the statement to be closed 47 public StatementEvent(PooledConnection con, PreparedStatement statement, 50 this.statement = statement; 59 * @param statement 60 * the statement to be closed 62 public StatementEvent(PooledConnection con, PreparedStatement statement) { [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteStatementTest.java | 75 SQLiteStatement statement = mDatabase.compileStatement( local 77 statement.execute(); 85 // invalid SQL statement 86 statement = mDatabase.compileStatement( 89 statement.execute(); 96 statement.close(); 118 SQLiteStatement statement = mDatabase.compileStatement( local 120 assertEquals(1, statement.executeInsert()); 128 // invalid SQL statement 129 statement = mDatabase.compileStatement 150 SQLiteStatement statement = local 179 SQLiteStatement statement = local [all...] |
SQLiteProgramTest.java | 69 final String statement = "DELETE FROM test WHERE _id=?;"; local 70 SQLiteStatement statementOne = mDatabase.compileStatement(statement); 71 SQLiteStatement statementTwo = mDatabase.compileStatement(statement); 72 // since the same compiled statement is being accessed at the same time by 2 different 73 // objects, they each get their own statement id 78 statementOne = mDatabase.compileStatement(statement); 81 statementTwo = mDatabase.compileStatement(statement); 104 final String statement = "DELETE FROM test WHERE _id=?;"; local 105 SQLiteStatement statementOne = mDatabase.compileStatement(statement); 124 final String statement = "DELETE FROM test WHERE _id=?;" local 167 SQLiteStatement statement; local 243 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local 279 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local [all...] |
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...] |
/frameworks/base/core/jni/ |
android_database_SQLiteCompiledSql.cpp | 53 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 55 // Make sure not to leak the statement if it already exists 56 if (statement != NULL) { 57 sqlite3_finalize(statement); 64 err = sqlite3_prepare16_v2(handle, sql, sqlLen * 2, &statement, NULL); 68 // Store the statement in the Java object for future calls 69 LOGV("Prepared statement %p on %p", statement, handle); 70 env->SetIntField(object, gStatementField, (int)statement); 71 return statement; 97 sqlite3_stmt * statement = GET_STATEMENT(env, object); local [all...] |
android_database_SQLiteStatement.cpp | 55 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 57 // Execute the statement 58 err = sqlite3_step(statement); 66 sqlite3_reset(statement); 73 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 76 // Execute the statement 77 err = sqlite3_step(statement); 82 value = sqlite3_column_int64(statement, 0); 88 sqlite3_reset(statement); 97 sqlite3_stmt * statement = GET_STATEMENT(env, object) local [all...] |
android_database_SQLiteProgram.cpp | 58 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 60 err = sqlite3_bind_null(statement, index); 63 sprintf(buf, "handle %p", statement); 73 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 75 err = sqlite3_bind_int64(statement, index, value); 78 sprintf(buf, "handle %p", statement); 88 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 90 err = sqlite3_bind_double(statement, index, value); 93 sprintf(buf, "handle %p", statement); 105 sqlite3_stmt * statement= GET_STATEMENT(env, object) local 125 sqlite3_stmt * statement= GET_STATEMENT(env, object); local 144 sqlite3_stmt * statement = GET_STATEMENT(env, object); local [all...] |
android_database_SQLiteQuery.cpp | 53 static int skip_rows(sqlite3_stmt *statement, int maxRows) { 56 int err = sqlite3_step(statement); 80 static int finish_program_and_get_row_count(sqlite3_stmt *statement) { 84 int err = sqlite3_step(statement); 103 sqlite3_reset(statement); 112 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 120 if (statement == NULL) { 121 LOGE("Invalid statement in fillWindow()"); 131 err = sqlite3_bind_int(statement, offsetParam, startPos); 153 numColumns = sqlite3_column_count(statement); 320 sqlite3_stmt * statement = GET_STATEMENT(env, object); local 327 sqlite3_stmt * statement = GET_STATEMENT(env, object); local [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseStatementTest.java | 84 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); local 85 statement.execute(); 90 statement.close(); 133 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 136 statement.bindLong(1, i); 137 statement.execute(); 139 statement.close(); 155 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 158 statement.bindString(1, Long.toHexString(i)); 159 statement.execute() 177 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 199 String statement = "INSERT INTO test (num, value) VALUES (?,?)"; local 223 SQLiteStatement statement = local 286 SQLiteStatement statement = local 301 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 29 import java.sql.Statement; 38 @TestTargetClass(Statement.class) 43 private static Statement statement = null; field in class:DeleteFunctionalityTest 49 statement = conn.createStatement(); 56 statement.close(); 70 statement 74 statement 78 statement 82 statement.execute(DatabaseCreator.DROP_TABLE5) [all...] |
InsertFunctionalityTest.java | 29 import java.sql.Statement; 39 @TestTargetClass(Statement.class) 44 private static Statement statement = null; field in class:InsertFunctionalityTest 50 statement = conn.createStatement(); 57 statement.close(); 70 statement 74 statement 78 statement 82 statement [all...] |
MultiThreadAccessTest.java | 28 import java.sql.Statement; 40 @TestTargetClass(Statement.class) 45 private static Statement statement; field in class:MultiThreadAccessTest 58 statement = conn.createStatement(); 70 statement.close(); 82 statement.execute(DatabaseCreator.DROP_TABLE1); 85 statement.execute(DatabaseCreator.DROP_TABLE2); 88 statement.execute(DatabaseCreator.DROP_TABLE4); 91 statement.execute(DatabaseCreator.DROP_TABLE3) 183 Statement statement = conn.createStatement(); local 237 Statement statement = conn.createStatement(); local [all...] |
StressTest.java | 30 import java.sql.Statement; 40 @TestTargetClass(Statement.class) 46 private static Statement statement; field in class:StressTest 52 statement = conn.createStatement(); 59 statement.close(); 72 statement.execute(DatabaseCreator.DROP_TABLE2); 75 statement.execute(DatabaseCreator.CREATE_TABLE2); 84 statement.execute(DatabaseCreator.DROP_TABLE2); 106 // statement.execute("DELETE FROM " + DatabaseCreator.TEST_TABLE2) [all...] |
UpdateFunctionalityTest.java | 29 import java.sql.Statement; 39 @TestTargetClass(Statement.class) 46 private static Statement statement; field in class:UpdateFunctionalityTest 53 statement = conn.createStatement(); 64 statement.close(); 78 statement.execute(DatabaseCreator.DROP_TABLE1); 81 statement.execute(DatabaseCreator.DROP_TABLE2); 84 statement.execute(DatabaseCreator.DROP_TABLE3); 89 statement.execute(DatabaseCreator.CREATE_TABLE3) [all...] |
UpdateFunctionalityTest2.java | 30 import java.sql.Statement; 40 @TestTargetClass(Statement.class) 45 private static Statement statement = null; field in class:UpdateFunctionalityTest2 52 statement = conn.createStatement(); 64 statement.close(); 77 statement 81 statement 85 statement 89 statement [all...] |
QueryTimeoutTest.java | 40 import java.sql.Statement; 47 * Functional test for the Statement.setQueryTimeout() method. Adopted from 58 * threads execute their statement in the context of one connection, the other 60 * one executes its statement with a timeout value. This way, the test ensures 61 * that the correct statement is affected by setQueryTimeout(), regardless of 66 * getting timeouts from calls to Statement.execute(). Each thread executes the 68 * multiple statements on the same connection; since only one statement per 72 * the threads execute their statement with a timeout value set, this is to 77 * 4. Tests that the query timeout value is not forgotten after the execution of a statement. 79 @TestTargetClass(Statement.class 82 private static Statement statement; field in class:QueryTimeoutTest 148 Statement statement = null; local 223 private PreparedStatement statement; field in class:QueryTimeoutTest.StatementExecutor [all...] |
SelectFunctionalityTest.java | 32 import java.sql.Statement; 46 @TestTargetClass(Statement.class) 51 private static Statement statement; field in class:SelectFunctionalityTest 62 statement = conn.createStatement(); 72 statement.close(); 84 statement.execute(DatabaseCreator.DROP_TABLE2); 87 statement 91 statement 95 statement [all...] |
/external/webkit/WebCore/storage/ |
SQLTransaction.cpp | 55 // There's no way of knowing exactly how much more space will be required when a statement hits the quota limit. 103 RefPtr<SQLStatement> statement = SQLStatement::create(sqlStatement, arguments, callback, callbackError, readOnlyMode); local 106 statement->setDatabaseDeletedError(); 109 statement->setVersionMismatchedError(); 111 enqueueStatement(statement); 114 void SQLTransaction::enqueueStatement(PassRefPtr<SQLStatement> statement) 117 m_statementQueue.append(statement); 321 // Reset the maximum size here, as it was increased to allow us to retry this statement. 322 // m_shouldRetryCurrentStatement is set to true only when a statement exceeds 327 // If the current statement has already been run, failed due to quota constraints, and we're not retrying it [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewDatabase.java | 763 SQLiteStatement statement = null; local 765 statement = mCacheDatabase.compileStatement( 776 statement.bindString(index, filePath); 779 statement.execute(); 780 statement.clearBindings(); 785 // there may be old bindings from the previous statement 787 statement.execute(); 792 if (statement != null) statement.close(); [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 140 SQLiteStatement statement = mDatabase.compileStatement(sql); local 141 DatabaseUtils.bindObjectToProgram(statement, 1, name); 142 DatabaseUtils.bindObjectToProgram(statement, 2, age); 143 DatabaseUtils.bindObjectToProgram(statement, 3, address); 144 statement.execute(); 145 statement.close(); 585 SQLiteStatement statement = mDatabase.compileStatement(query); local 586 assertEquals(2, DatabaseUtils.longForQuery(statement, null)); 589 statement = mDatabase.compileStatement(query); 591 assertEquals(35, DatabaseUtils.longForQuery(statement, args)) 716 SQLiteStatement statement = mDatabase.compileStatement(query); local [all...] |
/libcore/luni/src/test/java/tests/sql/ |
ConnectionTest.java | 31 import java.sql.Statement; 55 Statement statement = null; local 57 statement = conn.createStatement(); 58 assertNotNull(statement); 60 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection()); 61 assertNull(statement.getWarnings()); 62 assertTrue(statement.getQueryTimeout() > 0); 70 statement.executeQuery("select * from zoo"); 89 Statement st = null [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
LivenessAnalyzer.java | 65 /** index of statement {@code s} in {@code blockN} */ 206 // Live out at last statement in blockN 216 // if s is the first statement in block N 225 // Let s' be the statement preceeding s 235 SsaInsn statement = blockN.getInsns().get(statementIndex); local 236 RegisterSpec rs = statement.getResult(); 238 if (!statement.isResultReg(regV)) {
|