/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/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/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...] |
/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...] |
thumbnail_database.cc | 10 #include "app/sql/statement.h" 30 static void FillIconMapping(const sql::Statement& statement, 33 icon_mapping->mapping_id = statement.ColumnInt64(0); 34 icon_mapping->icon_id = statement.ColumnInt64(1); 36 static_cast<history::IconType>(statement.ColumnInt(2)); 256 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 260 if (!statement) 276 statement.BindInt64(0, id) [all...] |
top_sites_database.cc | 88 sql::Statement statement(db_->GetCachedStatement( 94 if (!statement) { 102 while (statement.Step()) { 105 GURL gurl(statement.ColumnString(0)); 107 url.title = statement.ColumnString16(2); 108 std::string redirects = statement.ColumnString(4); 113 statement.ColumnBlobAsVector(3, &data); 116 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); 117 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6) [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...] |
/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...] |
/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...] |
/external/webkit/Source/WebCore/page/ |
GeolocationPositionCache.cpp | 161 SQLiteStatement statement(database, "SELECT * FROM CachedPosition"); 162 if (statement.prepare() != SQLResultOk) 165 if (statement.step() != SQLResultRow) 168 bool providesAltitude = statement.getColumnValue(2).type() != SQLValue::NullValue; 169 bool providesAltitudeAccuracy = statement.getColumnValue(4).type() != SQLValue::NullValue; 170 bool providesHeading = statement.getColumnValue(5).type() != SQLValue::NullValue; 171 bool providesSpeed = statement.getColumnValue(6).type() != SQLValue::NullValue; 172 RefPtr<Coordinates> coordinates = Coordinates::create(statement.getColumnDouble(0), // latitude 173 statement.getColumnDouble(1), // longitude 174 providesAltitude, statement.getColumnDouble(2), // altitud [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/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...] |
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...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteProgramTest.java | 91 SQLiteStatement statement; local 93 statement = mDatabase.compileStatement("SELECT num1 FROM test WHERE num2 = ?;"); 94 statement.bindLong(1, 30); 95 assertEquals(12, statement.simpleQueryForLong()); 98 statement.bindDouble(1, 589.0); 99 assertEquals(213, statement.simpleQueryForLong()); 100 statement.close(); 102 statement = mDatabase.compileStatement("SELECT text1 FROM test WHERE text2 = ?;"); 104 statement.bindDouble(1, 589.0); // Wrong binding 106 statement.simpleQueryForString() 164 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local 200 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local [all...] |
/external/webkit/Source/WebCore/storage/ |
SQLStatementSync.cpp | 46 SQLStatementSync::SQLStatementSync(const String& statement, const Vector<SQLValue>& arguments, int permissions) 47 : m_statement(statement) 60 SQLiteStatement statement(*database, m_statement); 61 int result = statement.prepare(); 67 if (statement.bindParameterCount() != m_arguments.size()) { 73 result = statement.bindValue(i + 1, m_arguments[i]); 88 result = statement.step(); 90 int columnCount = statement.columnCount(); 94 rows->addColumn(statement.getColumnName(i)); 98 rows->addResult(statement.getColumnValue(i)) [all...] |
/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
loop-statements.js | 19 function statement() function
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
ends_with_statement_no_semicolon.js | 1 // Ends with a statement, and no terminal newline.
|
/external/webkit/Source/WebCore/manual-tests/inspector/resources/ |
loop-statements.js | 19 function statement() function
|