HomeSort by relevance Sort by last modified time
    Searched refs:Statement (Results 1 - 25 of 67) sorted by null

1 2 3

  /libcore/luni/src/test/java/tests/sql/
SQLTest.java 29 import java.sql.Statement;
31 @TestTargetClass(Statement.class)
61 Statement st = null;
88 Statement st = null;
111 Statement st = null;
StatementTest.java 31 import java.sql.Statement;
37 @TestTargetClass(Statement.class)
41 * @test java.sql.Statement#addBatch(String)
51 Statement st = null;
100 * @test java.sql.Statement#clearWarnings()
109 Statement st = null;
137 * @test java.sql.Statement#getWarnings()
149 Statement st = null;
169 Statement st = null;
211 * @test {@link java.sql.Statement#clearBatch()
    [all...]
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...]
PreparedStatementTest.java 43 import java.sql.Statement;
94 Statement st = null;
111 Statement st = null;
148 Statement st = null;
211 Statement st = null;
306 // ok Should not provide string argument for a prepared Statement
608 Statement st = null;
683 Statement st = null;
761 Statement st = null;
832 Statement st = null
    [all...]
ResultSetMetaDataTest.java 29 import java.sql.Statement;
36 Statement st = null;
61 fail("Couldn't close Statement object");
312 Statement st1 = null;
362 Statement st2 = null;
363 Statement st3 = null;
446 Statement st = conn.createStatement();
  /external/v8/src/arm/
codegen-arm-inl.h 50 void CodeGenerator::VisitAndSpill(Statement* statement) {
51 Visit(statement);
55 void CodeGenerator::VisitStatementsAndSpill(ZoneList<Statement*>* statements) {
  /frameworks/base/tools/aidl/
AST.h 101 struct Statement
103 virtual ~Statement();
109 vector<Statement*> statements;
115 void Add(Statement* statement);
119 struct ExpressionStatement : public Statement
214 struct VariableDeclaration : public Statement
226 struct IfStatement : public Statement
237 struct ReturnStatement : public Statement
246 struct TryStatement : public Statement
    [all...]
  /libcore/luni/src/test/java/tests/support/
DatabaseCreator.java 22 import java.sql.Statement;
257 Statement statement = conn.createStatement(); local
258 statement
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')");
261 statement
266 Statement statement = conn.createStatement(); local
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE
269 statement.execute("INSERT INTO " + FKSTRICT_TABL
276 Statement statement = conn.createStatement(); local
286 Statement statement = conn.createStatement(); local
293 Statement statement = conn.createStatement(); local
301 Statement statement = conn.createStatement(); local
312 Statement statement = conn.createStatement(); local
324 Statement statement = conn.createStatement(); local
340 Statement statement = conn.createStatement(); local
352 Statement statement = conn.createStatement(); local
370 Statement statement = conn.createStatement(); local
386 Statement statement = conn.createStatement(); local
396 Statement statement = conn.createStatement(); local
    [all...]
  /external/v8/src/
ast.h 124 virtual Statement* AsStatement() { return NULL; }
147 class Statement: public AstNode {
149 Statement() : statement_pos_(RelocInfo::kNoPosition) {}
151 virtual Statement* AsStatement() { return this; }
207 // statement. This is used to transform postfix increments to
251 class BreakableStatement: public Statement {
258 // The labels associated with this statement. May be NULL;
293 void AddStatement(Statement* statement) { statements_.Add(statement); }
    [all...]
data-flow.h 49 void VisitStatements(ZoneList<Statement*>* stmts);
96 void VisitStatements(ZoneList<Statement*>* stmts);
full-codegen.h 48 void VisitStatements(ZoneList<Statement*>* stmts);
113 virtual bool IsContinueTarget(Statement* target) { return false; }
114 virtual bool IsBreakTarget(Statement* target) { return false; }
116 // Generate code to leave the nested statement. This includes
120 // nested statement's stack, and returns a number of stack
121 // elements left on top of the surrounding statement's stack.
146 virtual bool IsBreakTarget(Statement* statement) {
147 return target_ == statement;
149 BreakableStatement* statement() { return target_; function in class:v8::internal::FullCodeGenerator::Breakable
    [all...]
parser.cc 161 void* ParseSourceElements(ZoneListWrapper<Statement>* processor,
163 Statement* ParseStatement(ZoneStringList* labels, bool* ok);
164 Statement* ParseFunctionDeclaration(bool* ok);
165 Statement* ParseNativeDeclaration(bool* ok);
169 Statement* ParseExpressionOrLabelledStatement(ZoneStringList* labels,
172 Statement* ParseContinueStatement(bool* ok);
173 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok);
174 Statement* ParseReturnStatement(bool* ok);
179 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok);
184 Statement* ParseForStatement(ZoneStringList* labels, bool* ok)
1355 ZoneListWrapper<Statement> statement = factory()->NewList<Statement>(1); local
1794 TryStatement* statement = ParseTryStatement(CHECK_OK); local
2481 SwitchStatement* statement = NEW(SwitchStatement(labels)); local
2598 TryCatchStatement* statement = local
    [all...]
prettyprinter.h 68 virtual void PrintStatements(ZoneList<Statement*>* statements);
96 void PrintStatements(ZoneList<Statement*>* statements);
rewriter.cc 47 void Optimize(ZoneList<Statement*>* statements);
69 void AstOptimizer::Optimize(ZoneList<Statement*>* statements) {
538 void Process(ZoneList<Statement*>* statements);
573 void Processor::Process(ZoneList<Statement*>* statements) {
827 ZoneList<Statement*>* body = function->body();
841 ZoneList<Statement*>* body = function->body();
  /libcore/luni/src/test/java/tests/SQLite/
AbstractSqlTest.java 33 import java.sql.Statement;
54 * The statement from the first connection.
56 private Statement firstStmt;
59 * The statement from the second connection.
61 private Statement secondStmt;
143 * @param stmt the statement to be used for the selection of the data
148 private void assertAllFromTbl1(Statement stmt, String[] ones, short[] twos)
225 * @param stmt the statement to be used to update the data
230 private void updateOnes(Statement stmt, String[] ones_updated, short[] twos)
  /libcore/luni/src/main/java/java/sql/
Connection.java 125 * Returns a new instance of {@code Statement} for issuing SQL commands to
128 * {@code ResultSets} generated by the returned statement will default to
132 * @return a {@code Statement} object with default settings.
137 public Statement createStatement() throws SQLException;
140 * Returns a new instance of {@code Statement} whose associated {@code
157 * @return a new instance of {@code Statement} capable of manufacturing
163 public Statement createStatement(int resultSetType, int resultSetConcurrency)
167 * Returns a new instance of {@code Statement} whose associated
190 * @return a new instance of {@code Statement} capable of
198 public Statement createStatement(int resultSetType
    [all...]
Statement.java 23 * {@code Statement} object, only one {@code ResultSet} can be opened at one
24 * time. A call to any of the execution methods of {@code Statement} will cause
25 * any previously created {@code ResultSet} object for that {@code Statement} to
29 * {@code Statement} objects must be created and then executed.
31 * To obtain such an executable statement one needs to invoke {@code
37 public interface Statement extends Wrapper {
53 * statement.
74 * Indicates that a batch statement was executed with a successful result,
81 * Statement}.
88 * {@code UPDATE} statement
    [all...]
  /libcore/luni/src/test/java/tests/java/sql/
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...]
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...]
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...]
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...]
  /libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_Connection1.java 33 import java.sql.Statement;
53 public Statement createStatement() throws SQLException {
57 public Statement createStatement(int resultSetType,
63 public Statement createStatement(int resultSetType, int resultSetConcurrency)
StatementTest.java 31 @TestTargetClass(java.sql.Statement.class)
56 * Statement.NO_GENERATED_KEYS ); System.out.println(
57 * "RETURN_GENERATED_KEYS: " + Statement.RETURN_GENERATED_KEYS );
58 * System.out.println( "EXECUTE_FAILED: " + Statement.EXECUTE_FAILED );
59 * System.out.println( "SUCCESS_NO_INFO: " + Statement.SUCCESS_NO_INFO );
61 * Statement.CLOSE_ALL_RESULTS ); System.out.println(
62 * "KEEP_CURRENT_RESULT: " + Statement.KEEP_CURRENT_RESULT );
64 * Statement.CLOSE_CURRENT_RESULT );
69 statementClass = Class.forName("java.sql.Statement");
71 fail("java.sql.Statement class not found!")
    [all...]
  /libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
JDBCStatement.java 6 public class JDBCStatement implements java.sql.Statement {
60 // "[throws SQLException if] this method is called on a closed Statement or the condition
62 // (http://java.sun.com/javase/6/docs/api/java/sql/Statement.html#setQueryTimeout(int))
64 throw new SQLException("can't set a query timeout on a closed statement");
265 if (autokeys != Statement.NO_GENERATED_KEYS) {
283 if (autokeys != Statement.NO_GENERATED_KEYS) {

Completed in 404 milliseconds

1 2 3