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

1 2 3 4 5 6 7 8 91011>>

  /external/google-breakpad/src/testing/gtest/include/gtest/
gtest-death-test.h 165 // Asserts that a given statement causes the program to exit, with an
168 # define ASSERT_EXIT(statement, predicate, regex) \
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
176 // Asserts that a given statement causes the program to exit, either by
179 # define ASSERT_DEATH(statement, regex) \
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /external/gtest/include/gtest/
gtest-death-test.h 165 // Asserts that a given statement causes the program to exit, with an
168 # define ASSERT_EXIT(statement, predicate, regex) \
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
176 // Asserts that a given statement causes the program to exit, either by
179 # define ASSERT_DEATH(statement, regex) \
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/
gtest-death-test.h 154 // Asserts that a given statement causes the program to exit, with an
157 # define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
162 # define EXPECT_EXIT(statement, predicate, regex) \
163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
165 // Asserts that a given statement causes the program to exit, either by
168 # define ASSERT_DEATH(statement, regex) \
169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
173 # define EXPECT_DEATH(statement, regex) \
174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /external/mesa3d/src/gtest/include/gtest/
gtest-death-test.h 154 // Asserts that a given statement causes the program to exit, with an
157 # define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
162 # define EXPECT_EXIT(statement, predicate, regex) \
163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
165 // Asserts that a given statement causes the program to exit, either by
168 # define ASSERT_DEATH(statement, regex) \
169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
173 # define EXPECT_DEATH(statement, regex) \
174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /external/protobuf/gtest/include/gtest/
gtest-death-test.h 154 // Asserts that a given statement causes the program to exit, with an
157 #define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
162 #define EXPECT_EXIT(statement, predicate, regex) \
163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
165 // Asserts that a given statement causes the program to exit, either by
168 #define ASSERT_DEATH(statement, regex) \
169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
173 #define EXPECT_DEATH(statement, regex) \
174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/
gtest-death-test.h 165 // Asserts that a given statement causes the program to exit, with an
168 # define ASSERT_EXIT(statement, predicate, regex) \
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
176 // Asserts that a given statement causes the program to exit, either by
179 # define ASSERT_DEATH(statement, regex) \
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex
    [all...]
  /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/
SQLiteProgramTest.java 59 SQLiteStatement statement; local
61 statement = mDatabase.compileStatement("SELECT num1 FROM test WHERE num2 = ?;");
62 statement.bindLong(1, 30);
63 assertEquals(12, statement.simpleQueryForLong());
66 statement.bindDouble(1, 589.0);
67 assertEquals(213, statement.simpleQueryForLong());
68 statement.close();
70 statement = mDatabase.compileStatement("SELECT text1 FROM test WHERE text2 = ?;");
72 statement.bindDouble(1, 589.0); // Wrong binding
74 statement.simpleQueryForString()
126 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local
156 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/packages/StatementService/src/com/android/statementservice/retriever/
Statement.java 22 * An immutable value type representing a statement, consisting of a source, target, and relation.
35 * {@link Statement} with {@link #getSource} equal to the input parameter, {@link #getRelation}
47 public final class Statement {
53 private Statement(AbstractAsset source, AbstractAsset target, Relation relation) {
60 * Returns the source asset of the statement.
68 * Returns the target asset of the statement.
76 * Returns the relation of the statement.
84 * Creates a new Statement object for the specified target asset and relation. For example:
89 * Statement statement = Statement.create(asset, relation)
106 Statement statement = (Statement) o; local
131 StringBuilder statement = new StringBuilder(); local
    [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...]
  /libcore/luni/src/test/java/tests/java/sql/
DeleteFunctionalityTest.java 25 import java.sql.Statement;
39 private static Statement statement = null; field in class:DeleteFunctionalityTest
45 statement = conn.createStatement();
52 statement.close();
66 statement
70 statement
74 statement
78 statement.execute(DatabaseCreator.DROP_TABLE5);
82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT)
    [all...]
UpdateFunctionalityTest2.java 26 import java.sql.Statement;
40 private static Statement statement = null; field in class:UpdateFunctionalityTest2
47 statement = conn.createStatement();
59 statement.close();
72 statement
76 statement
80 statement
84 statement
88 statement
    [all...]
InsertFunctionalityTest.java 23 import java.sql.Statement;
37 private static Statement statement = null; field in class:InsertFunctionalityTest
43 statement = conn.createStatement();
50 statement.close();
63 statement
67 statement
71 statement
75 statement
79 statement
    [all...]
UpdateFunctionalityTest.java 24 import java.sql.Statement;
40 private static Statement statement; field in class:UpdateFunctionalityTest
47 statement = conn.createStatement();
58 statement.close();
72 statement.execute(DatabaseCreator.DROP_TABLE1);
75 statement.execute(DatabaseCreator.DROP_TABLE2);
78 statement.execute(DatabaseCreator.DROP_TABLE3);
83 statement.execute(DatabaseCreator.CREATE_TABLE3);
84 statement.execute(DatabaseCreator.CREATE_TABLE2)
    [all...]
MultiThreadAccessTest.java 23 import java.sql.Statement;
39 private static Statement statement; field in class:MultiThreadAccessTest
52 statement = conn.createStatement();
64 statement.close();
76 statement.execute(DatabaseCreator.DROP_TABLE1);
79 statement.execute(DatabaseCreator.DROP_TABLE2);
82 statement.execute(DatabaseCreator.DROP_TABLE4);
85 statement.execute(DatabaseCreator.DROP_TABLE3);
90 statement.execute(DatabaseCreator.CREATE_TABLE3)
159 Statement statement = conn.createStatement(); local
207 Statement statement = conn.createStatement(); local
    [all...]
  /external/chromium-libpac/test/js-unittest/
ends_with_statement_no_semicolon.js 1 // Ends with a statement, and no terminal newline.
  /external/junit/src/org/junit/rules/
RunRules.java 4 import org.junit.runners.model.Statement;
7 * Runs a collection of rules on a statement.
9 public class RunRules extends Statement {
10 private final Statement statement; field in class:RunRules
12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) {
13 statement= applyAll(base, rules, description);
18 statement.evaluate();
21 private static Statement applyAll(Statement result, Iterable<TestRule> rules
    [all...]
ExternalResource.java 4 import org.junit.runners.model.Statement;
36 public Statement apply(Statement base, Description description) {
37 return statement(base);
40 private Statement statement(final Statement base) { method in class:ExternalResource
41 return new Statement() {
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); local
83 statement.execute();
88 statement.close();
131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
134 statement.bindLong(1, i);
135 statement.execute();
137 statement.close();
153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
156 statement.bindString(1, Long.toHexString(i));
157 statement.execute()
175 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
197 String statement = "INSERT INTO test (num, value) VALUES (?,?)"; local
221 SQLiteStatement statement = local
284 SQLiteStatement statement = local
299 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteConnection.java 113 // Because SQLite statement execution can be reentrant, we keep track of how many
419 // Update prepared statement cache size.
446 // Returns true if the prepared statement cache contains the specified SQL.
468 * Prepares a statement for execution but does not bind its parameters or execute it.
471 * prior to execution of the statement. If the {@code outStatementInfo} argument
473 * with information about the statement.
475 * A prepared statement makes no reference to the arguments that may eventually
477 * such as SELECT or INSERT/UPDATE statements. If the statement is cacheable,
481 * provides a method to acquire a connection that already has a given SQL statement
482 * in its prepared statement cache so that it is ready for execution
498 final PreparedStatement statement = acquirePreparedStatement(sql); local
546 final PreparedStatement statement = acquirePreparedStatement(sql); local
589 final PreparedStatement statement = acquirePreparedStatement(sql); local
632 final PreparedStatement statement = acquirePreparedStatement(sql); local
678 final PreparedStatement statement = acquirePreparedStatement(sql); local
725 final PreparedStatement statement = acquirePreparedStatement(sql); local
773 final PreparedStatement statement = acquirePreparedStatement(sql); local
836 final PreparedStatement statement = acquirePreparedStatement(sql); local
875 PreparedStatement statement = mPreparedStatementCache.get(sql); local
1181 PreparedStatement statement = mPreparedStatementPool; local
1272 PreparedStatement statement = entry.getValue(); local
    [all...]
  /external/v8/src/
hydrogen-osr.h 26 // Creates the loop entry block for the given statement, setting up OSR
28 HBasicBlock* BuildOsrLoopEntry(IterationStatement* statement);
42 bool HasOsrEntryAt(IterationStatement* statement);
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-death-test-internal.h 79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
  /external/gtest/include/gtest/internal/
gtest-death-test-internal.h 79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/session/
JDBCSessionManager.java 32 import java.sql.Statement;
816 PreparedStatement statement = null;
820 statement = _jdbcSessionIdMgr._dbAdaptor.getLoadStatement(connection, id, canonicalContextPath, vhost);
821 ResultSet result = statement.executeQuery();
850 if (statement!=null)
852 try { statement.close(); }
895 PreparedStatement statement = null; local
902 statement = connection.prepareStatement(_jdbcSessionIdMgr._insertSession);
903 statement.setString(1, rowId); //rowId
904 statement.setString(2, session.getId()); //session i
958 PreparedStatement statement = null; local
1009 PreparedStatement statement = null; local
1044 PreparedStatement statement = null; local
1089 PreparedStatement statement = null; local
    [all...]

Completed in 690 milliseconds

1 2 3 4 5 6 7 8 91011>>