Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 83) sorted by relevance

1234

/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java259 .execute("INSERT INTO " + PARENT_TABLE + " VALUES(1, 'test1')"); in fillParentTable()
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); in fillParentTable()
262 .execute("INSERT INTO " + PARENT_TABLE + " VALUES(3, 'test3')"); in fillParentTable()
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
269 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
271 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
277 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
279 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
281 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
288 .execute("INSERT INTO " + SIMPLE_TABLE1 + " VALUES(1, 10, 20)"); in fillSimpleTable1()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DInsertFunctionalityTest.java64 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
68 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
72 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
76 .execute(DatabaseCreator.DROP_TABLE_SIMPLE1); in createTestTables()
80 .execute(DatabaseCreator.DROP_TABLE_SIMPLE2); in createTestTables()
83 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
87 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
88 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
89 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE_SIMPLE2); in createTestTables()
[all …]
DDeleteFunctionalityTest.java67 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
71 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
75 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE5); in createTestTables()
93 statement.execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in deleteTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in deleteTestTables()
[all …]
DUpdateFunctionalityTest2.java73 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
77 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
81 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
85 .execute(DatabaseCreator.DROP_TABLE_SIMPLE1); in createTestTables()
89 .execute(DatabaseCreator.DROP_TABLE_SIMPLE3); in createTestTables()
92 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
99 statement.execute(DatabaseCreator.CREATE_TABLE_SIMPLE3); in createTestTables()
[all …]
DMultiThreadAccessTest.java76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
91 statement.execute(DatabaseCreator.CREATE_TABLE4); in createTestTables()
92 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
93 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
105 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
106 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
[all …]
DUpdateFunctionalityTest.java72 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
96 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
DDatabaseMetaDataNotSupportedTest.java92 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
97 statement.execute(DROP_VIEW_QUERY); in createTestTables()
101 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
102 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
103 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
112 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
113 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
114 statement.execute(DROP_VIEW_QUERY); in deleteTestTables()
141 statement.execute(query); in test_allTablesAreSelectable()
[all …]
DSelectFunctionalityTest.java79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
83 .execute(DatabaseCreator.DROP_TABLE_SALESPEOPLE); in createTestTables()
87 .execute(DatabaseCreator.DROP_TABLE_CUSTOMERS); in createTestTables()
91 .execute(DatabaseCreator.DROP_TABLE_ORDERS); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_SALESPEOPLE); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_CUSTOMERS); in createTestTables()
99 statement.execute(DatabaseCreator.CREATE_TABLE_ORDERS); in createTestTables()
117 statement.execute(DatabaseCreator.DROP_TABLE2); in deleteTestTables()
118 statement.execute(DatabaseCreator.DROP_TABLE_SALESPEOPLE); in deleteTestTables()
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java88 st.execute(queries[i]); in setUp()
102 st.execute("drop table if exists type"); in tearDown()
129 st.execute("select * from zoo"); in testAddBatch()
185 assertFalse(ps.execute()); in testExecute()
190 assertTrue(ps.execute()); in testExecute()
204 assertFalse(ps.execute()); in testExecute()
207 st.execute("select family from zoo where id=2"); in testExecute()
220 conn.createStatement().execute("drop table if exists hutch"); in testExecute()
223 assertFalse(ps.execute()); in testExecute()
236 assertTrue(ps.execute()); in testExecute()
[all …]
DOldConnectionTest.java57 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
77 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
98 st.execute("select id, name from zoo"); in testCreateStatement_int_int()
120 st.execute("select name, family from zoo"); in testCreateStatement_int_int()
143 st.execute("select name, family from zoo"); in testCreateStatement_int_int()
190 st.execute("select id, name from zoo"); in testCreateStatement_int_int_int()
221 st.execute("select id, name from zoo"); in testCreateStatementIntIntIntNotSupported()
263 st.execute("select animals from zoo"); in testClearWarnings()
280 st.execute("select monkey from zoo"); in testClearWarnings()
314 st.execute("select animals from zoooo"); in testGetWarnings()
[all …]
DOldStatementTest.java81 st.execute("select animals from zoo"); in testClearWarnings()
111 st.execute("select animals from zoooo"); in testGetWarnings()
232 boolean res = st.execute(queries[i]); in testExecute()
255 st.execute(inc_queries[i]); in testExecute()
284 st.execute(queries[i], Statement.NO_GENERATED_KEYS); in testExecute_String_int()
303 st.execute(queries[i], Statement.RETURN_GENERATED_KEYS); in testExecute_String_int()
403 st.execute("select * from zoo;"); in testGetFetchSize()
542 st.execute(queries[i]); in testClose()
584 st.execute(queries[i], (int[]) array.elementAt(i)); in testExecute_String_intArray()
620 st.execute(queries[i], (String[]) array.elementAt(i)); in testExecute_String_StringArray()
[all …]
DOldSQLTest.java57 st.execute("drop table if exists zoo"); in tearDown()
81 st.execute(queries[i]); in createZoo()
DOldResultSetTest.java43 stForward.execute(selectAllAnimals); in setUp()
50 stForward.execute(DatabaseCreator.CREATE_TABLE_SIMPLE1); in setUp()
51 stForward.execute(selectEmptyTable); in setUp()
464 stForward.execute("insert into zoo values(8,null,null);"); in testWasNull()
465 stForward.execute(selectAllAnimals); in testWasNull()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DExecutorsTest.java36 e.execute(new TestRunnable()); in testNewWorkStealingPoolDefault()
37 e.execute(new TestRunnable()); in testNewWorkStealingPoolDefault()
38 e.execute(new TestRunnable()); in testNewWorkStealingPoolDefault()
46 e.execute(new TestRunnable()); in testNewWorkStealingPoolWithParallelism()
47 e.execute(new TestRunnable()); in testNewWorkStealingPoolWithParallelism()
48 e.execute(new TestRunnable()); in testNewWorkStealingPoolWithParallelism()
DForkJoinTaskTest.java45 pool.execute(task); in testAdaptToRunnableWithResult()
64 pool.execute(task); in testAdaptToCallable()
83 pool.execute(task); in testAdaptToCallableThrowsException()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java48 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
49 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
50 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
60 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
61 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
62 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
82 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
83 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
84 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
94 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor2()
[all …]
DThreadPoolExecutorTest.java99 p.execute(task); in testExecute()
117 p.execute(new CheckedRunnable() { in testGetActiveCount()
190 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
345 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
388 p.execute(new CheckedRunnable() { in testGetPoolSize()
413 p.execute(new CheckedRunnable() { in testGetTaskCount()
423 p.execute(new CheckedRunnable() { in testGetTaskCount()
496 p.execute(new CheckedRunnable() { in testIsTerminated()
524 p.execute(new CheckedRunnable() { in testIsTerminating()
562 p.execute(tasks[i]); in testGetQueue()
[all …]
DThreadPoolExecutorSubclassTest.java246 p.execute(task); in testExecute()
264 p.execute(new CheckedRunnable() { in testGetActiveCount()
337 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
492 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
535 p.execute(new CheckedRunnable() { in testGetPoolSize()
560 p.execute(new CheckedRunnable() { in testGetTaskCount()
570 p.execute(new CheckedRunnable() { in testGetTaskCount()
611 p.execute(new CheckedRunnable() { in testIsTerminated()
639 p.execute(new CheckedRunnable() { in testIsTerminating()
677 p.execute(tasks[i]); in testGetQueue()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorsTest.java71 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
72 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
73 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1()
83 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
84 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
85 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2()
105 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
106 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
107 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1()
117 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor2()
[all …]
DThreadPoolExecutorTest.java121 p.execute(task); in testExecute()
139 p.execute(new CheckedRunnable() { in testGetActiveCount()
212 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
367 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
410 p.execute(new CheckedRunnable() { in testGetPoolSize()
435 p.execute(new CheckedRunnable() { in testGetTaskCount()
445 p.execute(new CheckedRunnable() { in testGetTaskCount()
518 p.execute(new CheckedRunnable() { in testIsTerminated()
546 p.execute(new CheckedRunnable() { in testIsTerminating()
584 p.execute(tasks[i]); in testGetQueue()
[all …]
DThreadPoolExecutorSubclassTest.java268 p.execute(task); in testExecute()
286 p.execute(new CheckedRunnable() { in testGetActiveCount()
359 p.execute(new CheckedRunnable() { in testGetCompletedTaskCount()
514 p.execute(new CheckedRunnable() { in testGetLargestPoolSize()
557 p.execute(new CheckedRunnable() { in testGetPoolSize()
582 p.execute(new CheckedRunnable() { in testGetTaskCount()
592 p.execute(new CheckedRunnable() { in testGetTaskCount()
633 p.execute(new CheckedRunnable() { in testIsTerminated()
661 p.execute(new CheckedRunnable() { in testIsTerminating()
699 p.execute(tasks[i]); in testGetQueue()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java28 @Override String execute(String spec) { in JAVA() method
59 @Override String execute(String spec) { in REGEX() method
70 abstract String execute(String spec); in execute() method in SchemePrefixBenchmark.Strategy
77 strategy.execute("http://android.com"); in timeSchemePrefix()
/libcore/ojluni/src/main/java/java/sql/
DStatement.java347 boolean execute(String sql) throws SQLException; in execute() method
869 boolean execute(String sql, int autoGeneratedKeys) throws SQLException; in execute() method
918 boolean execute(String sql, int columnIndexes[]) throws SQLException; in execute() method
968 boolean execute(String sql, String columnNames[]) throws SQLException; in execute() method
/libcore/ojluni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java118 execute(ftask); in submit()
129 execute(ftask); in submit()
140 execute(ftask); in submit()
242 execute(f); in invokeAll()
279 execute((Runnable)futures.get(i)); in invokeAll()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java140 pool.executor().execute(task);
161 pool.executor().execute(bindToGroup(task));
188 pool.executor().execute(bindToGroup(task));
316 public final void execute(Runnable task) {

1234