/external/chromium/testing/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/chromium_org/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/chromium_org/third_party/mesa/src/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/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/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/open-vcdiff/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...] |
/external/chromium/chrome/browser/history/ |
download_database.cc | 10 #include "app/sql/statement.h" 35 // Binds/reads the given file path to the given column of the given statement. 36 void BindFilePath(sql::Statement& statement, const FilePath& path, int col) { 37 statement.BindString(col, path.value()); 39 FilePath ColumnFilePath(sql::Statement& statement, int col) { 40 return FilePath(statement.ColumnString(col)); 46 void BindFilePath(sql::Statement& statement, const FilePath& path, int col) [all...] |
visit_database.cc | 12 #include "app/sql/statement.h" 89 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { 90 visit->visit_id = statement.ColumnInt64(0); 91 visit->url_id = statement.ColumnInt64(1); 92 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 93 visit->referring_visit = statement.ColumnInt64(3); 94 visit->transition = PageTransition::FromInt(statement.ColumnInt(4)); 95 visit->segment_id = statement.ColumnInt64(5); 96 visit->is_indexed = !!statement.ColumnInt(6) [all...] |
url_database.cc | 12 #include "app/sql/statement.h" 74 void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) { 90 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 92 if (!statement) 95 statement.BindInt64(0, url_id); 96 if (statement.Step()) { 97 FillURLRow(statement, info); 104 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE [all...] |
visitsegment_database.cc | 13 #include "app/sql/statement.h" 142 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 144 if (!statement) 147 statement.BindString(0, segment_name); 148 if (statement.Step()) 149 return statement.ColumnInt64(0); 155 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 157 if (!statement) [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.h | 99 // Asserts that a given statement causes the program to exit, with an 102 #define ASSERT_EXIT(statement, predicate, regex) \ 103 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_FATAL_FAILURE) 107 #define EXPECT_EXIT(statement, predicate, regex) \ 108 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_NONFATAL_FAILURE) 110 // Asserts that a given statement causes the program to exit, either by 113 #define ASSERT_DEATH(statement, regex) \ 114 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 118 #define EXPECT_DEATH(statement, regex) \ 119 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...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
QueryTimeoutTest.java | 28 import java.sql.Statement; 83 Statement statement = null; local 85 statement = connection.createStatement(); 86 statement.execute(queryString); 88 if (statement != null) { 89 statement.close(); 95 PreparedStatement statement = connection.prepareStatement(FETCH_QUERY); local 96 statement.setQueryTimeout(1); 99 resultSet = statement.executeQuery() 113 PreparedStatement statement = connection.prepareStatement(EXEC_QUERY); local 126 PreparedStatement statement = connection.prepareStatement("select 'hello'"); local 140 Statement statement = connection.createStatement(); local 152 Statement statement = connection.createStatement(); local [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...] |
/external/chromium_org/components/precache/core/ |
precache_url_table.cc | 11 #include "sql/statement.h" 13 using sql::Statement; 39 Statement statement(db_->GetCachedStatement( 43 statement.BindString(0, GetKey(url)); 44 statement.BindInt64(1, precache_time.ToInternalValue()); 45 statement.Run(); 49 Statement statement(db_->GetCachedStatement( 52 statement.BindString(0, GetKey(url)) [all...] |
/external/chromium_org/chrome/browser/history/ |
visit_database.cc | 18 #include "sql/statement.h" 85 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { 86 visit->visit_id = statement.ColumnInt64(0); 87 visit->url_id = statement.ColumnInt64(1); 88 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 89 visit->referring_visit = statement.ColumnInt64(3); 90 visit->transition = content::PageTransitionFromInt(statement.ColumnInt(4)); 91 visit->segment_id = statement.ColumnInt64(5); 93 base::TimeDelta::FromInternalValue(statement.ColumnInt64(6)) [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/chromium_org/webkit/browser/appcache/ |
appcache_database.cc | 14 #include "sql/statement.h" 255 sql::Statement statement(db_->GetUniqueStatement(kSql)); 257 while (statement.Step()) 258 origins->insert(GURL(statement.ColumnString(0))); 260 return statement.Succeeded(); 319 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 321 statement.BindInt64(0, group_id); 322 if (!statement.Step() [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_urls_database_unittest.cc | 52 sql::Statement statement(db.GetDB().GetUniqueStatement( 54 ASSERT_TRUE(statement.Step()); 55 EXPECT_EQ(1, statement.ColumnInt64(0)); 56 EXPECT_EQ("http://google.com/", statement.ColumnString(2)); 57 EXPECT_EQ(1, statement.ColumnInt64(1)); 59 ASSERT_TRUE(statement.Step()); 60 EXPECT_EQ(4, statement.ColumnInt64(0)); 61 EXPECT_EQ("www.google.com/", statement.ColumnString(2)); 62 EXPECT_EQ(3, statement.ColumnInt64(1)) [all...] |
android_urls_database.cc | 55 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 58 statement.BindString(0, raw_url); 59 statement.BindInt64(1, static_cast<int64>(url_id)); 61 if (!statement.Run()) { 69 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 72 statement.BindInt64(0, url_id); 74 if (!statement.Step()) 77 row->id = statement.ColumnInt64(0) [all...] |
/external/chromium/chrome/browser/sync/util/ |
user_settings_win.cc | 21 SQLStatement statement; local 22 statement.prepare(dbhandle.get(), 26 statement.bind_string(0, email); 27 statement.bind_string(1, service_name); 28 statement.bind_blob(2, &EncryptData(long_lived_service_token)); 29 if (SQLITE_DONE != statement.step()) {
|
/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...] |