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

12 3 4 5 6 7

  /external/chromium_org/chrome/browser/history/android/
android_history_provider_service_unittest.cc 95 AndroidStatement* statement() const { function in class:__anon8704::CallbackHelper
112 void OnQueryResult(AndroidStatement* statement) {
113 success_ = statement != NULL;
114 statement_ = statement;
180 AndroidStatement* statement = callback->statement(); local
182 statement,
189 EXPECT_TRUE(callback->statement()->statement()->Step());
190 EXPECT_FALSE(callback->statement()->statement()->Step())
250 AndroidStatement* statement = callback->statement(); local
    [all...]
sqlite_cursor_unittest.cc 127 AndroidStatement* statement() const { function in class:__anon8711::CallbackHelper
136 void OnQueryResult(AndroidStatement* statement) {
137 success_ = statement != NULL;
138 statement_ = statement;
195 AndroidStatement* statement = callback->statement(); local
211 SQLiteCursor* cursor = new SQLiteCursor(column_names, statement,
230 // the statement, delete SQLiteCursor itself etc.
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/WebKit/Source/modules/webdatabase/
SQLTransaction.cpp 200 // Spec 4.3.2.6.6 and 4.3.2.6.3: If the statement callback went wrong, jump to the transaction error callback
201 // Otherwise, continue to loop through the statement queue
213 m_transactionError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "the statement callback raised an exception or statement error callback did not return false");
282 OwnPtrWillBeRawPtr<SQLStatement> statement = SQLStatement::create(m_database.get(), callback, callbackError); local
283 m_backend->executeSQL(statement.release(), sqlStatement, arguments, permissions);
  /external/chromium_org/third_party/angle/src/compiler/translator/
RewriteElseBlocks.cpp 72 TIntermNode *statement = (*node->getSequence())[statementIndex]; local
73 TIntermSelection *selection = statement->getAsSelectionNode();
  /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/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...]
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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
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...]
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);
  /libcore/luni/src/test/java/tests/java/sql/
SelectFunctionalityTest.java 28 import java.sql.Statement;
46 private static Statement statement; field in class:SelectFunctionalityTest
57 statement = conn.createStatement();
67 statement.close();
79 statement.execute(DatabaseCreator.DROP_TABLE2);
82 statement
86 statement
90 statement
96 statement.execute(DatabaseCreator.CREATE_TABLE2)
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 122 SQLiteStatement statement = mDatabase.compileStatement(sql); local
123 DatabaseUtils.bindObjectToProgram(statement, 1, name);
124 DatabaseUtils.bindObjectToProgram(statement, 2, age);
125 DatabaseUtils.bindObjectToProgram(statement, 3, address);
126 statement.execute();
127 statement.close();
444 SQLiteStatement statement = mDatabase.compileStatement(query); local
445 assertEquals(2, DatabaseUtils.longForQuery(statement, null));
448 statement = mDatabase.compileStatement(query);
450 assertEquals(35, DatabaseUtils.longForQuery(statement, args))
556 SQLiteStatement statement = mDatabase.compileStatement(query); local
594 SQLiteStatement statement = mDatabase.compileStatement(query); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldConnectionTest.java 28 import java.sql.Statement;
33 Statement statement = conn.createStatement(); local
34 assertNotNull(statement);
36 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection());
37 assertNull(statement.getWarnings());
38 assertTrue(statement.getQueryTimeout() > 0);
41 statement.executeQuery("select * from zoo");
50 Statement st = null;
183 Statement st = null
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/back/
LivenessAnalyzer.java 64 /** index of statement {@code s} in {@code blockN} */
205 // Live out at last statement in blockN
215 // if s is the first statement in block N
224 // Let s' be the statement preceeding s
234 SsaInsn statement = blockN.getInsns().get(statementIndex); local
235 RegisterSpec rs = statement.getResult();
237 if (!statement.isResultReg(regV)) {
  /external/chromium_org/chrome/browser/extensions/activity_log/
counting_policy.cc 360 sql::Statement locate_statement(db->GetCachedStatement(
367 // bound. But to be completely clear, and in case a cached statement
379 sql::Statement update_statement(db->GetCachedStatement(
388 sql::Statement insert_statement(db->GetCachedStatement(
468 sql::Statement query(db->GetUniqueStatement(query_str.c_str()));
543 sql::Statement statement(db->GetCachedStatement(
546 statement.Reset(true);
547 statement.BindInt64(0, action_ids[i]);
548 if (!statement.Run())
578 sql::Statement statement; local
602 sql::Statement statement; local
    [all...]
  /external/chromium_org/content/browser/quota/
quota_database_unittest.cc 17 #include "sql/statement.h"
385 sql::Statement statement; local
386 statement.Assign(db->GetCachedStatement(SQL_FROM_HERE, kSql));
387 ASSERT_TRUE(statement.is_valid());
389 statement.BindString(0, itr->host);
390 statement.BindInt(1, static_cast<int>(itr->type));
391 statement.BindInt64(2, itr->quota);
392 EXPECT_TRUE(statement.Run());
404 sql::Statement statement local
    [all...]
  /external/chromium_org/tools/gn/
parser.cc 14 // file := (statement)*
15 // statement := block | if | assignment
16 // block := '{' statement* '}'
17 // if := 'if' '(' expr ')' statement [ else ]
18 // else := 'else' (if | statement)*
430 scoped_ptr<ParseNode> statement = ParseStatement(); local
431 if (!statement)
433 file->append_statement(statement.Pass());
486 scoped_ptr<ParseNode> statement = ParseStatement(); local
487 if (!statement)
    [all...]
  /external/dexmaker/src/dx/java/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)) {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
SQL_Results.java 104 String statement = "select distinct SCENARIO.ID, SCENARIO.NAME , SCENARIO.SHORT_NAME from SCENARIO where " + //$NON-NLS-1$ local
107 this.queryBuildAllScenarios = this.fConnection.prepareStatement(statement);
124 String statement = "select distinct SCENARIO.ID, SCENARIO.NAME , SCENARIO.SHORT_NAME from SCENARIO, SAMPLE, VARIATION where " + //$NON-NLS-1$ local
128 this.queryBuildScenarios = this.fConnection.prepareStatement(statement);
177 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from SAMPLE, DATAPOINT, VARIATION where " + //$NON-NLS-1$ local
183 this.queryScenarioTimestampDataPoints = this.fConnection.prepareStatement(statement);
195 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from SAMPLE, DATAPOINT, VARIATION where " + //$NON-NLS-1$ local
200 this.queryScenarioBuildDataPoints = this.fConnection.prepareStatement(statement);
221 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from VARIATION, SAMPLE, DATAPOINT where " + //$NON-NLS-1$ local
226 this.queryScenarioDataPoints = this.fConnection.prepareStatement(statement);
    [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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteCursor.java 12 import java.sql.Statement;
231 Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); local
232 ResultSet rs = statement.executeQuery(sql);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/c-family/
c-pretty-print.h 81 c_pretty_print_fn statement; member in struct:c_pretty_print_info
131 pp_c_base (PPI)->statement (pp_c_base (PPI), S)
  /external/chromium_org/components/history/core/android/
android_history_types.h 13 #include "sql/statement.h"
16 class Statement;
302 // This class wraps the sql statement and favicon column index in statement if
310 AndroidStatement(sql::Statement* statement, int favicon_index);
313 sql::Statement* statement() { function in class:history::AndroidStatement
317 // The favicon index in statement; -1 is returned if favicon is not in
318 // the statement
    [all...]
  /external/chromium_org/content/browser/appcache/
appcache_database_unittest.cc 13 #include "sql/statement.h"
907 sql::Statement statement; local
908 statement.Assign(connection.GetUniqueStatement(kSql));
909 EXPECT_TRUE(statement.is_valid());
915 statement.BindInt64(0, i);
916 statement.BindString(1, kMockOrigin.spec().c_str());
917 statement.BindString(2, namespace_url.spec().c_str());
918 statement.BindString(3, target_url.spec().c_str());
919 ASSERT_TRUE(statement.Run())
1136 sql::Statement statement; local
    [all...]

Completed in 2519 milliseconds

12 3 4 5 6 7