/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SQLiteStatementTest.java | 53 ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM `routine`"); in testExecuteInsert() local 54 assertThat(resultSet.next(), equalTo(true)); in testExecuteInsert() 55 assertThat(resultSet.getInt(1), equalTo(2)); in testExecuteInsert() 58 resultSet = statement.executeQuery("SELECT `id`, `name` ,`lastUsed` FROM `routine`"); in testExecuteInsert() 59 assertThat(resultSet.next(), equalTo(true)); in testExecuteInsert() 60 assertThat(resultSet.getInt(1), equalTo(1)); in testExecuteInsert() 61 assertThat(resultSet.getString(2), equalTo("Leg Press")); in testExecuteInsert() 62 assertThat(resultSet.getInt(3), equalTo(0)); in testExecuteInsert() 63 assertThat(resultSet.next(), equalTo(true)); in testExecuteInsert() 64 assertThat(resultSet.getLong(1), equalTo(2L)); in testExecuteInsert() [all …]
|
D | DatabaseTestBase.java | 349 ResultSet resultSet; in testExecSQL() local 354 resultSet = statement.executeQuery("SELECT COUNT(*) FROM table_name"); in testExecSQL() 355 assertThat(resultSet.next(), equalTo(true)); in testExecSQL() 356 assertThat(resultSet.getInt(1), equalTo(1)); in testExecSQL() 359 resultSet = statement.executeQuery("SELECT * FROM table_name"); in testExecSQL() 360 assertThat(resultSet.next(), equalTo(true)); in testExecSQL() 361 assertThat(resultSet.getInt(1), equalTo(1234)); in testExecSQL() 362 assertThat(resultSet.getString(4), equalTo("Chuck")); in testExecSQL() 368 ResultSet resultSet; in testExecSQLParams() local 375 resultSet = statement.executeQuery("SELECT COUNT(*) FROM `routine`"); in testExecSQLParams() [all …]
|
D | SQLiteDatabaseTest.java | 41 ResultSet resultSet = statement.executeQuery("SELECT name FROM table_name where id = "+id); in testReplace() local 43 assertThat(resultSet.next(), equalTo(true)); in testReplace() 44 assertThat(resultSet.getString(1), equalTo("Norris")); in testReplace()
|
D | CursorAdapterTest.java | 56 ResultSet resultSet = statement.executeQuery(sql); in setUp() local 58 Robolectric.shadowOf((SQLiteCursor)curs).setResultSet(resultSet,sql); in setUp()
|
D | SQLiteCursorTest.java | 26 private ResultSet resultSet; field in SQLiteCursorTest 342 resultSet = statement.executeQuery("SELECT * FROM table_name;"); in setupCursor() 344 Robolectric.shadowOf(cursor).setResultSet(resultSet, sql); in setupCursor()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSQLiteCursor.java | 22 private ResultSet resultSet; field in ShadowSQLiteCursor 170 if (resultSet == null) { in close() 175 resultSet.close(); in close() 176 resultSet = null; in close() 186 return (resultSet == null); in isClosed() 202 return resultSet; in getResultSet() 212 return resultSet; in getResultSetMetaData() 249 this.resultSet = result; in setResultSet() 253 if (resultSet != null) { in setResultSet() 254 cacheColumnNames(resultSet); in setResultSet()
|
D | ShadowSQLiteDatabase.java | 102 ResultSet resultSet = insert.getGeneratedKeys(); in insertWithOnConflict() local 103 if (resultSet.next()) { in insertWithOnConflict() 104 result = resultSet.getLong(1); in insertWithOnConflict() 106 resultSet.close(); in insertWithOnConflict() 126 ResultSet resultSet; in query() local 129 resultSet = statement.executeQuery(sql); in query() 135 shadowOf(cursor).setResultSet(resultSet,sql); in query() 245 ResultSet resultSet; 255 resultSet = Robolectric.shadowOf(stmt).getStatement().executeQuery(); 262 shadowOf(cursor).setResultSet(resultSet, sqlBody);
|
D | ShadowSQLiteStatement.java | 37 ResultSet resultSet = actualDBstatement.getGeneratedKeys(); in executeInsert() local 39 if (resultSet.next()) { in executeInsert() 40 return resultSet.getLong(1); in executeInsert()
|
/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/ |
D | SQL_Results.java | 90 ResultSet resultSet = this.queryAllVariations.executeQuery(); in queryAllVariations() local 92 return resultSet; in queryAllVariations() 188 ResultSet resultSet = this.queryScenarioTimestampDataPoints.executeQuery(); in queryScenarioTimestampDataPoints() local 190 return resultSet; in queryScenarioTimestampDataPoints() 204 ResultSet resultSet = this.queryScenarioBuildDataPoints.executeQuery(); in queryScenarioBuildDataPoints() local 206 return resultSet; in queryScenarioBuildDataPoints() 230 ResultSet resultSet = this.queryScenarioDataPoints.executeQuery(); in queryScenarioDataPoints() local 232 return resultSet; in queryScenarioDataPoints()
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
D | SQLStatementSync.cpp | 94 RefPtrWillBeRawPtr<SQLResultSet> resultSet = SQLResultSet::create(); in execute() local 100 SQLResultSetRowList* rows = resultSet->rows(); in execute() 120 resultSet->setInsertId(database->lastInsertRowID()); in execute() 136 resultSet->setRowsAffected(database->lastChanges()); in execute() 137 return resultSet.release(); in execute()
|
D | SQLTransactionBackendSync.cpp | 117 RefPtrWillBeRawPtr<SQLResultSet> resultSet; in executeSQL() local 120 resultSet = statement.execute(m_database.get(), exceptionState); in executeSQL() 121 if (!resultSet) { in executeSQL() 140 return resultSet.release(); in executeSQL()
|
D | SQLStatement.cpp | 100 RefPtrWillBeRawPtr<SQLResultSet> resultSet = m_backend->sqlResultSet(); in performCallback() local 101 callbackError = !callback->handleEvent(transaction, resultSet.get()); in performCallback()
|
D | InspectorDatabaseAgent.cpp | 79 virtual bool handleEvent(SQLTransaction*, SQLResultSet* resultSet) OVERRIDE in handleEvent() argument 81 SQLResultSetRowList* rowList = resultSet->rows(); in handleEvent()
|
D | SQLStatementCallback.idl | 30 boolean handleEvent(SQLTransaction transaction, SQLResultSet resultSet);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathPredicate.cpp | 257 NodeSet& resultSet = lhsResult.modifiableNodeSet(); in evaluate() local 261 for (size_t i = 0; i < resultSet.size(); ++i) in evaluate() 262 nodes.add(resultSet[i]); in evaluate() 267 resultSet.append(node); in evaluate() 273 resultSet.markSorted(false); in evaluate()
|
D | XPathFunctions.cpp | 336 HashSet<Node*> resultSet; in evaluate() local 354 if (node && resultSet.add(node).isNewEntry) in evaluate()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
D | RuntimeModel.js | 301 var resultSet = {}; 306 resultSet[names[i]] = true; 310 return resultSet;
|
/external/deqp/framework/common/ |
D | tcuTexCompareVerifier.cpp | 119 static inline bool isResultInSet (const CmpResultSet resultSet, const float result, const int resul… in isResultInSet() argument 125 return (resultSet.isTrue && de::inRange(1.0f, minR, maxR)) || in isResultInSet() 126 (resultSet.isFalse && de::inRange(0.0f, minR, maxR)); in isResultInSet()
|