/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...] |
/external/chromium_org/testing/gtest/include/gtest/ |
H A D | 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, [all...] |
/external/chromium_org/third_party/mesa/src/src/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/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/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/mesa3d/src/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/open-vcdiff/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/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...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-147497.js | 40 var statement = ""; variable 41 for (var i = 0; i < 1024; i++) statement += "z"; 42 statement = 'with(0)' + statement + '=function foo(){}'; 45 eval(statement);
|
/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/chromium_org/components/precache/core/ |
H A D | precache_url_table.cc | 11 #include "sql/statement.h" 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)); 53 return statement.Step(); 57 Statement statement(db_->GetCachedStatement( 60 statement [all...] |
/external/chromium_org/chrome/browser/history/ |
H A D | visit_database.cc | 18 #include "sql/statement.h" 85 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { argument 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)); 97 bool VisitDatabase::FillVisitVector(sql::Statement& statement, argument 112 FillVisitVectorWithOptions(sql::Statement& statement, const QueryOptions& options, VisitVector* visits) argument [all...] |
/external/chromium_org/webkit/browser/appcache/ |
H A D | 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()) 325 ReadGroupRecord(statement, record); 341 sql::Statement statement(db 921 ReadGroupRecord( const sql::Statement& statement, GroupRecord* record) argument 932 ReadCacheRecord( const sql::Statement& statement, CacheRecord* record) argument 942 ReadEntryRecord( const sql::Statement& statement, EntryRecord* record) argument 951 ReadNamespaceRecords( sql::Statement* statement, NamespaceRecordVector* intercepts, NamespaceRecordVector* fallbacks) argument 964 ReadNamespaceRecord( const sql::Statement* statement, NamespaceRecord* record) argument 983 ReadOnlineWhiteListRecord( const sql::Statement& statement, OnlineWhiteListRecord* record) argument [all...] |
/external/chromium_org/chrome/browser/history/android/ |
H A D | 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)); 64 EXPECT_FALSE(statement [all...] |
H A D | 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); 78 row->raw_url = statement.ColumnString(1); 79 row->url_id = 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()) {
|
/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
H A D | loop-statements.js | 19 function statement() function
|
/external/chromium_org/third_party/WebKit/ManualTests/inspector/resources/ |
H A D | loop-statements.js | 19 function statement() function
|
/external/chromium_org/chrome/browser/predictors/ |
H A D | logged_in_predictor_table.cc | 14 #include "sql/statement.h" 60 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 64 statement.BindString(0, GetKey(url)); 65 statement.BindInt64(1, base::Time::Now().ToInternalValue()); 67 statement.Run(); 75 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 78 statement.BindString(0, GetKey(url)); 80 statement.Run(); 94 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 98 statement [all...] |
H A D | autocomplete_action_predictor_table.cc | 13 #include "sql/statement.h" 25 sql::Statement* statement) { 27 statement->BindString(0, row.id); 28 statement->BindString16(1, row.user_text.substr(0, kMaxDataLength)); 29 statement->BindString(2, row.url.spec().substr(0, kMaxDataLength)); 30 statement->BindInt(3, row.number_of_hits); 31 statement->BindInt(4, row.number_of_misses); 35 sql::Statement* statement, 37 if (!statement->Step()) 40 row->id = statement 23 BindRowToStatement( const predictors::AutocompleteActionPredictorTable::Row& row, sql::Statement* statement) argument 34 StepAndInitializeRow( sql::Statement* statement, predictors::AutocompleteActionPredictorTable::Row* row) argument [all...] |