/external/chromium/testing/gtest/include/gtest/ |
H A D | 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, [all...] |
H A D | gtest-spi.h | 117 // statement will cause exactly one fatal Google Test failure with 'substr' 124 // The verification of the assertion is done correctly even when the statement 128 // - 'statement' cannot reference local non-static variables or 130 // - 'statement' cannot return a value. 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 142 static void Execute() { statement; }\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 159 static void Execute() { statement; }\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 181 // 'statement' i [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
H A D | 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, [all...] |
/external/protobuf/gtest/include/gtest/ |
H A D | 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, [all...] |
/external/chromium/chrome/browser/history/ |
H A D | 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) { argument 37 statement.BindString(col, path.value()); 39 FilePath ColumnFilePath(sql::Statement& statement, int col) { argument 40 return FilePath(statement.ColumnString(col)); 46 void BindFilePath(sql::Statement& statement, const FilePath& path, int col) { 47 statement.BindString(col, UTF16ToUTF8(path.value())); 49 FilePath ColumnFilePath(sql::Statement& statement, int col) { 50 return FilePath(UTF8ToUTF16(statement [all...] |
H A D | visit_database.cc | 12 #include "app/sql/statement.h" 89 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { argument 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); 100 void VisitDatabase::FillVisitVector(sql::Statement& statement, argument [all...] |
H A D | url_database.cc | 12 #include "app/sql/statement.h" 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, 106 if (!statement) 109 while (statement.Step()) { 111 FillURLRow(statement, [all...] |
H A D | 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) 160 statement.BindInt64(0, url_id); 161 statement [all...] |
H A D | thumbnail_database.cc | 10 #include "app/sql/statement.h" 30 static void FillIconMapping(const sql::Statement& statement, argument 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); 277 statement.BindDouble(1, score.boring_score); 278 statement [all...] |
H A D | 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); 118 thumbnail.thumbnail_score.at_top = statement [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
H A D | 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, [all...] |
/external/gtest/include/gtest/ |
H A D | 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, [all...] |
H A D | gtest-spi.h | 117 // statement will cause exactly one fatal Google Test failure with 'substr' 124 // The verification of the assertion is done correctly even when the statement 128 // - 'statement' cannot reference local non-static variables or 130 // - 'statement' cannot return a value. 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 142 static void Execute() { statement; }\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 159 static void Execute() { statement; }\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 181 // 'statement' i [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | 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 [all...] |
/external/chromium/chrome/browser/sync/util/ |
H A D | 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()) {
|
H A D | user_settings.cc | 36 SQLStatement statement; local 37 statement.prepare(dbhandle, query); 38 if (SQLITE_DONE != statement.step()) { 166 SQLStatement statement; local 167 statement.prepare(dbhandle, 169 statement.bind_string(0, Generate128BitRandomHexString()); 170 if (SQLITE_DONE != statement.step()) { 218 SQLStatement statement; local 219 statement.prepare(dbhandle.get(), 223 if (SQLITE_DONE != statement 229 SQLStatement statement; local 237 SQLStatement statement; local 306 SQLStatement statement; local 317 SQLStatement statement; local 364 SQLStatement statement; local 376 SQLStatement statement; local 431 SQLStatement statement; local [all...] |
H A D | user_settings_posix.cc | 30 SQLStatement statement; local 31 statement.prepare(dbhandle.get(), 35 statement.bind_string(0, email); 36 statement.bind_string(1, service_name); 37 statement.bind_blob(2, encrypted_service_token.data(), 39 if (SQLITE_DONE != statement.step()) {
|
/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
H A D | loop-statements.js | 19 function statement() function
|
/external/webkit/Source/WebCore/manual-tests/inspector/resources/ |
H A D | loop-statements.js | 19 function statement() function
|
/external/webkit/Source/WebCore/storage/ |
H A D | SQLStatementSync.cpp | 46 SQLStatementSync::SQLStatementSync(const String& statement, const Vector<SQLValue>& arguments, int permissions) argument 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 [all...] |
H A D | SQLStatement.cpp | 46 PassRefPtr<SQLStatement> SQLStatement::create(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) argument 48 return adoptRef(new SQLStatement(database, statement, arguments, callback, errorCallback, permissions)); 51 SQLStatement::SQLStatement(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) argument 52 : m_statement(statement.crossThreadString()) 64 // If we're re-running this statement after a quota violation, we need to clear that error now 76 SQLiteStatement statement(*database, m_statement); 77 int result = statement.prepare(); 80 LOG(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg()); 85 // FIXME: If the statement uses the ?### syntax supported by sqlite, the bind parameter count is very likely off from the number of question marks. 87 if (statement [all...] |
/external/chromium/app/sql/ |
H A D | meta_table.cc | 8 #include "app/sql/statement.h" 126 bool MetaTable::PrepareSetStatement(Statement* statement, const char* key) { argument 127 DCHECK(db_ && statement); 128 statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE, 130 if (!statement->is_valid()) { 134 statement->BindCString(0, key); 138 bool MetaTable::PrepareGetStatement(Statement* statement, const char* key) { argument 139 DCHECK(db_ && statement); 140 statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE, 142 if (!statement [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
H A D | directory_backing_store.cc | 41 // This just has to be big enough to hold an UPDATE or INSERT statement that 52 SQLStatement statement; local 53 int result = statement.prepare(dbhandle, query); 57 result = statement.step(); 70 // Iterate over the fields of |entry| and bind each to |statement| for 72 int BindFields(const EntryKernel& entry, SQLStatement* statement) { argument 76 statement->bind_int64(index++, entry.ref(static_cast<Int64Field>(i))); 79 statement->bind_string(index++, entry.ref(static_cast<IdField>(i)).s_); 82 statement->bind_int(index++, entry.ref(static_cast<BitField>(i))); 85 statement 96 UnpackEntry(SQLStatement* statement, EntryKernel** kernel) argument 198 SQLStatement statement; local 206 SQLStatement statement; local 231 SQLStatement statement; local 342 SQLStatement statement; local 512 SQLStatement statement; local 569 SQLStatement statement; local 658 SQLStatement statement; local 697 SQLStatement statement; local 779 SQLStatement statement; local 823 SQLStatement statement; local 1091 SQLStatement statement; local 1106 SQLStatement statement; local 1151 SQLStatement statement; local [all...] |
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | 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, predicat [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | 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, predicat [all...] |