test_data 1803 cc/resources/resource_provider_unittest.cc uint8_t test_data[4] = { 0 }; test_data 1805 cc/resources/resource_provider_unittest.cc gfx::Size(1, 1), RGBA_8888, test_data); test_data 1806 cc/resources/resource_provider_unittest.cc EXPECT_EQ(0, memcmp(data, test_data, sizeof(data))); test_data 1853 cc/resources/resource_provider_unittest.cc uint8_t test_data[4] = { 0 }; test_data 1855 cc/resources/resource_provider_unittest.cc gfx::Size(1, 1), RGBA_8888, test_data); test_data 1856 cc/resources/resource_provider_unittest.cc EXPECT_EQ(0, memcmp(data, test_data, sizeof(data))); test_data 569 chrome/browser/autocomplete/autocomplete_provider_unittest.cc AssistedQueryStatsTestData test_data[] = { test_data 575 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RunAssistedQueryStatsTest(test_data, 0); test_data 579 chrome/browser/autocomplete/autocomplete_provider_unittest.cc AssistedQueryStatsTestData test_data[] = { test_data 583 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RunAssistedQueryStatsTest(test_data, ARRAYSIZE_UNSAFE(test_data)); test_data 587 chrome/browser/autocomplete/autocomplete_provider_unittest.cc AssistedQueryStatsTestData test_data[] = { test_data 606 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RunAssistedQueryStatsTest(test_data, ARRAYSIZE_UNSAFE(test_data)); test_data 35 chrome/browser/autocomplete/builtin_provider_unittest.cc void RunTest(test_data<ResultType>* builtin_cases, test_data 52 chrome/browser/autocomplete/builtin_provider_unittest.cc void BuiltinProviderTest::RunTest(test_data<ResultType>* builtin_cases, test_data 89 chrome/browser/autocomplete/builtin_provider_unittest.cc test_data<GURL> typing_scheme_cases[] = { test_data 125 chrome/browser/autocomplete/builtin_provider_unittest.cc test_data<GURL> non_chrome_url_cases[] = { test_data 163 chrome/browser/autocomplete/builtin_provider_unittest.cc test_data<GURL> chrome_url_cases[] = { test_data 213 chrome/browser/autocomplete/builtin_provider_unittest.cc test_data<GURL> settings_subpage_cases[] = { test_data 34 chrome/browser/autocomplete/extension_app_provider_unittest.cc void RunTest(test_data* keyword_cases, test_data 87 chrome/browser/autocomplete/extension_app_provider_unittest.cc test_data* keyword_cases, test_data 108 chrome/browser/autocomplete/extension_app_provider_unittest.cc test_data edit_cases[] = { test_data 128 chrome/browser/autocomplete/history_quick_provider_unittest.cc virtual void GetTestData(size_t* data_count, TestURLInfo** test_data); test_data 178 chrome/browser/autocomplete/history_quick_provider_unittest.cc TestURLInfo** test_data) { test_data 180 chrome/browser/autocomplete/history_quick_provider_unittest.cc DCHECK(test_data); test_data 182 chrome/browser/autocomplete/history_quick_provider_unittest.cc *test_data = &quick_test_db[0]; test_data 190 chrome/browser/autocomplete/history_quick_provider_unittest.cc TestURLInfo* test_data = NULL; test_data 191 chrome/browser/autocomplete/history_quick_provider_unittest.cc GetTestData(&data_count, &test_data); test_data 194 chrome/browser/autocomplete/history_quick_provider_unittest.cc const TestURLInfo& cur(test_data[i]); test_data 651 chrome/browser/autocomplete/history_quick_provider_unittest.cc TestURLInfo** test_data) OVERRIDE; test_data 654 chrome/browser/autocomplete/history_quick_provider_unittest.cc void HQPOrderingTest::GetTestData(size_t* data_count, TestURLInfo** test_data) { test_data 656 chrome/browser/autocomplete/history_quick_provider_unittest.cc DCHECK(test_data); test_data 658 chrome/browser/autocomplete/history_quick_provider_unittest.cc *test_data = &ordering_test_db[0]; test_data 25 chrome/browser/browser_about_handler_unittest.cc } test_data[] = { test_data 71 chrome/browser/browser_about_handler_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 72 chrome/browser/browser_about_handler_unittest.cc GURL url(test_data[i].test_url); test_data 74 chrome/browser/browser_about_handler_unittest.cc EXPECT_EQ(test_data[i].result_url, url); test_data 20 chrome/browser/chromeos/net/onc_utils_unittest.cc scoped_ptr<base::Value> test_data = test_data 24 chrome/browser/chromeos/net/onc_utils_unittest.cc test_data->GetAsList(&list_of_tests); test_data 32 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::FilePath test_data; test_data 33 chrome/browser/diagnostics/diagnostics_controller_unittest.cc PathService::Get(chrome::DIR_TEST_DATA, &test_data); test_data 34 chrome/browser/diagnostics/diagnostics_controller_unittest.cc test_data = test_data.Append(FILE_PATH_LITERAL("diagnostics")); test_data 35 chrome/browser/diagnostics/diagnostics_controller_unittest.cc test_data = test_data.Append(FILE_PATH_LITERAL("user")); test_data 36 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::CopyDirectory(test_data, temp_dir_.path(), true); test_data 189 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::FilePath test_data; test_data 190 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_data)); test_data 191 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc embedded_test_server()->ServeFilesFromDirectory(test_data.AppendASCII( test_data 342 chrome/browser/extensions/extension_messages_apitest.cc base::FilePath test_data; test_data 343 chrome/browser/extensions/extension_messages_apitest.cc EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_data)); test_data 344 chrome/browser/extensions/extension_messages_apitest.cc embedded_test_server()->ServeFilesFromDirectory(test_data.AppendASCII( test_data 111 chrome/browser/external_extension_browsertest.cc IsSearchProviderTestData test_data[2 * arraysize(test_hosts)]; test_data 115 chrome/browser/external_extension_browsertest.cc test_data[i] = StartIsSearchProviderInstalledTest( test_data 117 chrome/browser/external_extension_browsertest.cc FinishIsSearchProviderInstalledTest(test_data[i]); test_data 123 chrome/browser/external_extension_browsertest.cc test_data[i + arraysize(test_hosts)] = StartIsSearchProviderInstalledTest( test_data 125 chrome/browser/external_extension_browsertest.cc FinishIsSearchProviderInstalledTest(test_data[i + arraysize(test_hosts)]); test_data 135 chrome/browser/external_extension_browsertest.cc for (size_t i = 0; i < arraysize(test_data); ++i) { test_data 136 chrome/browser/external_extension_browsertest.cc FinishIsSearchProviderInstalledTest(test_data[i]); test_data 119 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc const TestData test_data[] = {{&extension1_id_, &extension1_expectation_}, test_data 123 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); i++) { test_data 125 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc gallery_prefs_->GetGalleryPermissionsFromPrefs(*test_data[i].id); test_data 126 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc EXPECT_EQ(test_data[i].expectation->size(), actual.size()); test_data 128 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc permission_entry < test_data[i].expectation->size() && test_data 131 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id, test_data 133 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc EXPECT_EQ(test_data[i].expectation->at(permission_entry).has_permission, test_data 111 chrome/browser/net/network_stats_unittest.cc net::DeterministicSocketData test_data( test_data 114 chrome/browser/net/network_stats_unittest.cc mock_socket_factory.AddSocketDataProvider(&test_data); test_data 131 chrome/browser/net/network_stats_unittest.cc test_data.RunFor(num_packets_run); test_data 202 chrome/browser/net/network_stats_unittest.cc net::DelayedSocketData test_data(1, test_data 207 chrome/browser/net/network_stats_unittest.cc mock_socket_factory.AddSocketDataProvider(&test_data); test_data 87 chrome/browser/password_manager/password_store_mac_unittest.cc MockAppleKeychain::KeychainTestData test_data[] = { test_data 129 chrome/browser/password_manager/password_store_mac_unittest.cc for (unsigned int i = 0; i < arraysize(test_data); ++i) { test_data 130 chrome/browser/password_manager/password_store_mac_unittest.cc keychain_->AddTestItem(test_data[i]); test_data 366 chrome/browser/password_manager/password_store_mac_unittest.cc TestDataAndExpectation test_data[] = { test_data 410 chrome/browser/password_manager/password_store_mac_unittest.cc for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 412 chrome/browser/password_manager/password_store_mac_unittest.cc CreatePasswordFormFromData(test_data[i].data)); test_data 418 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].expected_fill_matches, matching_items.size()); test_data 422 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].expected_merge_matches > 0, test_data 432 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].expected_merge_matches, matching_items.size()); test_data 546 chrome/browser/password_manager/password_store_mac_unittest.cc TestDataAndExpectation test_data[] = { test_data 575 chrome/browser/password_manager/password_store_mac_unittest.cc for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 577 chrome/browser/password_manager/password_store_mac_unittest.cc CreatePasswordFormFromData(test_data[i].data)); test_data 579 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].should_succeed, add_succeeded); test_data 619 chrome/browser/password_manager/password_store_mac_unittest.cc TestDataAndExpectation test_data[] = { test_data 634 chrome/browser/password_manager/password_store_mac_unittest.cc PasswordForm* add_form = CreatePasswordFormFromData(test_data[0].data); test_data 638 chrome/browser/password_manager/password_store_mac_unittest.cc for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 640 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[i].data)); test_data 641 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].should_succeed, test_data 646 chrome/browser/password_manager/password_store_mac_unittest.cc EXPECT_EQ(test_data[i].should_succeed, match == NULL); test_data 788 chrome/browser/password_manager/password_store_mac_unittest.cc std::vector< std::vector< std::vector<PasswordFormData*> > > test_data( test_data 795 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_1); test_data 796 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_2); test_data 797 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_1); test_data 798 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_1_with_path); test_data 799 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_3_with_path); test_data 800 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back(&merged_user_1); test_data 801 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back(&merged_user_1_with_db_path); test_data 802 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_OUTPUT][current_test].push_back(&keychain_user_2); test_data 803 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_OUTPUT][current_test].push_back(&db_user_3_with_path); test_data 809 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_1); test_data 810 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back( test_data 814 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back( test_data 816 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_OUTPUT][current_test].push_back(&keychain_user_1); test_data 822 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_blacklist); test_data 823 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_1); test_data 824 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_1); test_data 825 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back(&merged_user_1); test_data 826 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_OUTPUT][current_test].push_back(&keychain_blacklist); test_data 831 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_1); test_data 832 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][current_test].push_back(&keychain_user_1_with_path); test_data 833 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_1); test_data 834 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][current_test].push_back(&db_user_1_with_path); test_data 835 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back(&merged_user_1); test_data 836 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[MERGE_OUTPUT][current_test].push_back( test_data 842 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[KEYCHAIN_INPUT][test_case].begin(); test_data 843 chrome/browser/password_manager/password_store_mac_unittest.cc i != test_data[KEYCHAIN_INPUT][test_case].end(); ++i) { test_data 848 chrome/browser/password_manager/password_store_mac_unittest.cc test_data[DATABASE_INPUT][test_case].begin(); test_data 849 chrome/browser/password_manager/password_store_mac_unittest.cc i != test_data[DATABASE_INPUT][test_case].end(); ++i) { test_data 858 chrome/browser/password_manager/password_store_mac_unittest.cc CHECK_FORMS(keychain_forms, test_data[KEYCHAIN_OUTPUT][test_case], test_data 860 chrome/browser/password_manager/password_store_mac_unittest.cc CHECK_FORMS(database_forms, test_data[DATABASE_OUTPUT][test_case], test_data 862 chrome/browser/password_manager/password_store_mac_unittest.cc CHECK_FORMS(merged_forms, test_data[MERGE_OUTPUT][test_case], test_case); test_data 386 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 397 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 398 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 400 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, url.url_ref().DisplayURL()); test_data 401 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].url, test_data 410 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 438 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 439 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 443 chrome/browser/search_engines/template_url_unittest.cc std::string expected_result = test_data[i].expected_result; test_data 462 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 477 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 478 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 480 chrome/browser/search_engines/template_url_unittest.cc data.input_encodings.push_back(test_data[i].encoding); test_data 485 chrome/browser/search_engines/template_url_unittest.cc TemplateURLRef::SearchTermsArgs(test_data[i].search_term))); test_data 487 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, result.spec()); test_data 499 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 533 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 534 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 538 chrome/browser/search_engines/template_url_unittest.cc TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); test_data 539 chrome/browser/search_engines/template_url_unittest.cc search_terms_args.assisted_query_stats = test_data[i].aqs; test_data 540 chrome/browser/search_engines/template_url_unittest.cc UIThreadSearchTermsData::SetGoogleBaseURL(test_data[i].base_url); test_data 543 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, result.spec()); test_data 554 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 570 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 571 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 575 chrome/browser/search_engines/template_url_unittest.cc TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); test_data 576 chrome/browser/search_engines/template_url_unittest.cc search_terms_args.cursor_position = test_data[i].cursor_position; test_data 579 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, result.spec()); test_data 590 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 606 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 607 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 611 chrome/browser/search_engines/template_url_unittest.cc TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); test_data 612 chrome/browser/search_engines/template_url_unittest.cc search_terms_args.current_page_url = test_data[i].current_page_url; test_data 615 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, result.spec()); test_data 624 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 643 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 646 chrome/browser/search_engines/template_url_unittest.cc search_terms_args.accepted_suggestion = test_data[i].accepted_suggestion; test_data 648 chrome/browser/search_engines/template_url_unittest.cc test_data[i].original_query_for_suggestion; test_data 651 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].expected_result, result.spec()); test_data 690 chrome/browser/search_engines/template_url_unittest.cc } test_data[] = { test_data 712 chrome/browser/search_engines/template_url_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 714 chrome/browser/search_engines/template_url_unittest.cc data.SetURL(test_data[i].url); test_data 716 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].host, url.url_ref().GetHost()); test_data 717 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].path, url.url_ref().GetPath()); test_data 718 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(test_data[i].search_term_key, url.url_ref().GetSearchTermKey()); test_data 131 chrome/browser/sync/glue/favicon_cache_unittest.cc const TestFaviconData& test_data, test_data 133 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics->set_favicon_url(test_data.icon_url.spec()); test_data 134 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_16.empty()) { test_data 137 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics->mutable_favicon_web()->set_favicon(test_data.image_16); test_data 139 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_32.empty()) { test_data 142 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics->mutable_favicon_web_32()->set_favicon(test_data.image_32); test_data 144 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_64.empty()) { test_data 148 chrome/browser/sync/glue/favicon_cache_unittest.cc set_favicon(test_data.image_64); test_data 153 chrome/browser/sync/glue/favicon_cache_unittest.cc const TestFaviconData& test_data, test_data 155 chrome/browser/sync/glue/favicon_cache_unittest.cc tracking_specifics->set_favicon_url(test_data.icon_url.spec()); test_data 156 chrome/browser/sync/glue/favicon_cache_unittest.cc tracking_specifics->set_last_visit_time_ms(test_data.last_visit_time); test_data 157 chrome/browser/sync/glue/favicon_cache_unittest.cc tracking_specifics->set_is_bookmarked(test_data.is_bookmarked); test_data 161 chrome/browser/sync/glue/favicon_cache_unittest.cc const TestFaviconData& test_data, test_data 165 chrome/browser/sync/glue/favicon_cache_unittest.cc if (image_specifics.favicon_url() != test_data.icon_url.spec()) test_data 167 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_16.empty()) { test_data 168 chrome/browser/sync/glue/favicon_cache_unittest.cc if (image_specifics.favicon_web().favicon() != test_data.image_16 || test_data 176 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_32.empty()) { test_data 177 chrome/browser/sync/glue/favicon_cache_unittest.cc if (image_specifics.favicon_web_32().favicon() != test_data.image_32 || test_data 185 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_64.empty()) { test_data 186 chrome/browser/sync/glue/favicon_cache_unittest.cc if (image_specifics.favicon_touch_64().favicon() != test_data.image_64 || test_data 197 chrome/browser/sync/glue/favicon_cache_unittest.cc if (tracking_specifics.favicon_url() != test_data.icon_url.spec()) test_data 199 chrome/browser/sync/glue/favicon_cache_unittest.cc if (tracking_specifics.last_visit_time_ms() != test_data.last_visit_time) test_data 201 chrome/browser/sync/glue/favicon_cache_unittest.cc if (tracking_specifics.is_bookmarked() != test_data.is_bookmarked) test_data 284 chrome/browser/sync/glue/favicon_cache_unittest.cc void OnCustomFaviconDataAvailable(const TestFaviconData& test_data); test_data 367 chrome/browser/sync/glue/favicon_cache_unittest.cc const TestFaviconData& test_data = expected_custom_icons[i]; test_data 372 chrome/browser/sync/glue/favicon_cache_unittest.cc if (image_data_list[j].GetTitle() != test_data.icon_url.spec()) test_data 378 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, &expected_image_specifics); test_data 386 chrome/browser/sync/glue/favicon_cache_unittest.cc FillTrackingSpecifics(test_data, &expected_tracking_specifics); test_data 411 chrome/browser/sync/glue/favicon_cache_unittest.cc const TestFaviconData& test_data) { test_data 413 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_16.empty()) { test_data 415 chrome/browser/sync/glue/favicon_cache_unittest.cc bitmap_result.icon_url = test_data.icon_url; test_data 419 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_16; test_data 423 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_32.empty()) { test_data 425 chrome/browser/sync/glue/favicon_cache_unittest.cc bitmap_result.icon_url = test_data.icon_url; test_data 429 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_32; test_data 433 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!test_data.image_64.empty()) { test_data 435 chrome/browser/sync/glue/favicon_cache_unittest.cc bitmap_result.icon_url = test_data.icon_url; test_data 439 chrome/browser/sync/glue/favicon_cache_unittest.cc temp_string->data() = test_data.image_64; test_data 443 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconDataAvailable(test_data.page_url, bitmap_results); test_data 680 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 682 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.image_16 = std::string(); test_data 686 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.image_16 += "custom"; test_data 687 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_data.push_back(test_data); test_data 689 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 696 chrome/browser/sync/glue/favicon_cache_unittest.cc FillTrackingSpecifics(test_data, test_data 761 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 763 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.last_visit_time = i-1; test_data 767 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.last_visit_time = i+1; test_data 768 chrome/browser/sync/glue/favicon_cache_unittest.cc expected_data.push_back(test_data); test_data 770 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 777 chrome/browser/sync/glue/favicon_cache_unittest.cc FillTrackingSpecifics(test_data, test_data 876 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 878 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 916 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 918 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 1251 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1252 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1258 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1259 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1266 chrome/browser/sync/glue/favicon_cache_unittest.cc CompareFaviconDataToSpecifics(test_data, test_data 1272 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1293 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1294 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1295 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1302 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1303 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1310 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1329 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1330 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1331 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1339 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i + kMaxSyncFavicons); test_data 1340 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1341 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1347 chrome/browser/sync/glue/favicon_cache_unittest.cc CompareFaviconDataToSpecifics(test_data, test_data 1354 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1377 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1379 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 1430 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1434 chrome/browser/sync/glue/favicon_cache_unittest.cc deletions.favicon_urls.insert(test_data.icon_url); test_data 1437 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 1485 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1486 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, GURL()); test_data 1492 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1493 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.icon_url = GURL("data:image/png;base64;blabla"); test_data 1494 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_TRUE(test_data.icon_url.is_valid()); test_data 1495 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1513 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1514 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1520 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1521 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1528 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1529 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1535 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1553 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1583 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1584 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, GURL()); test_data 1586 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1597 chrome/browser/sync/glue/favicon_cache_unittest.cc CompareFaviconDataToSpecifics(test_data, test_data 1600 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1609 chrome/browser/sync/glue/favicon_cache_unittest.cc CompareFaviconDataToSpecifics(test_data, test_data 1612 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1687 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1688 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1695 chrome/browser/sync/glue/favicon_cache_unittest.cc EXPECT_EQ(test_data.icon_url.spec(), test_data 1717 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i); test_data 1718 chrome/browser/sync/glue/favicon_cache_unittest.cc test_data.last_visit_time = test_data 1721 chrome/browser/sync/glue/favicon_cache_unittest.cc FillImageSpecifics(test_data, test_data 1727 chrome/browser/sync/glue/favicon_cache_unittest.cc FillTrackingSpecifics(test_data, test_data 1740 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(i + kMaxSyncFavicons); test_data 1741 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 1742 chrome/browser/sync/glue/favicon_cache_unittest.cc OnCustomFaviconDataAvailable(test_data); test_data 1807 chrome/browser/sync/glue/favicon_cache_unittest.cc TestFaviconData test_data = BuildFaviconData(kMaxSyncFavicons); test_data 1808 chrome/browser/sync/glue/favicon_cache_unittest.cc cache()->OnFaviconVisited(test_data.page_url, test_data.icon_url); test_data 36 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc guchar test_data[] = ""; test_data 37 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc data.data = test_data; test_data 2230 chrome/browser/ui/tabs/tab_strip_model_unittest.cc } test_data[] = { test_data 2264 chrome/browser/ui/tabs/tab_strip_model_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 2268 chrome/browser/ui/tabs/tab_strip_model_unittest.cc PrepareTabstripForSelectionTest(&strip, test_data[i].tab_count, test_data 2269 chrome/browser/ui/tabs/tab_strip_model_unittest.cc test_data[i].pinned_count, test_data 2270 chrome/browser/ui/tabs/tab_strip_model_unittest.cc test_data[i].selected_tabs)); test_data 2271 chrome/browser/ui/tabs/tab_strip_model_unittest.cc strip.MoveSelectedTabsTo(test_data[i].target_index); test_data 2272 chrome/browser/ui/tabs/tab_strip_model_unittest.cc EXPECT_EQ(test_data[i].state_after_move, test_data 157 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc struct CommonTestData test_data[] = { test_data 170 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 171 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i]); test_data 172 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].expected_bounds, BoundsString()) << " at " << i; test_data 181 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 255 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 256 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 257 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->DragActiveTab(test_data[i].delta); test_data 258 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 265 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc struct CommonTestData test_data[] = { test_data 278 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 279 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i]); test_data 280 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc SetBoundsFromString(test_data[i].expected_bounds); test_data 284 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].start_bounds, BoundsString()) << " at " << i; test_data 295 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 331 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 332 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 334 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc if (test_data[i].add_active) test_data 336 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc if (test_data[i].add_mini) test_data 338 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc AddViewToViewModel(test_data[i].add_index); test_data 339 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->AddTab(test_data[i].add_index, add_types, test_data 340 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc test_data[i].common_data.initial_x + test_data 341 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc (test_data[i].add_mini ? 4 : 0)); test_data 342 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 354 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 388 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 389 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 390 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc int old_x = view_model_.ideal_bounds(test_data[i].remove_index).x(); test_data 391 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.Remove(test_data[i].remove_index); test_data 392 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->RemoveTab(test_data[i].remove_index, test_data[i].x_after_remove, test_data 394 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 404 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 423 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 424 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 425 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->SetWidth(test_data[i].new_width); test_data 426 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 436 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 444 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 445 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 446 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->SetActiveIndex(test_data[i].new_index); test_data 447 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 473 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 489 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 490 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 491 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.MoveViewOnly(test_data[i].from, test_data[i].to); test_data 492 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (int j = 0; j < test_data[i].new_mini_tab_count; ++j) { test_data 497 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->MoveTab(test_data[i].from, test_data[i].to, test_data 498 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc test_data[i].new_active_index, test_data[i].new_start_x, test_data 499 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc test_data[i].new_mini_tab_count); test_data 500 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 541 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc } test_data[] = { test_data 554 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 555 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc CreateLayout(test_data[i].common_data); test_data 556 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->SetActiveTabLocation(test_data[i].location); test_data 557 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << test_data 55 chrome/browser/ui/webui/history_ui_unittest.cc TestResult test_data[] = { test_data 62 chrome/browser/ui/webui/history_ui_unittest.cc AddQueryResults(test_data, arraysize(test_data), &results); test_data 66 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[0], test_data[3])); test_data 67 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[1], test_data[1])); test_data 72 chrome/browser/ui/webui/history_ui_unittest.cc TestResult test_data[] = { test_data 78 chrome/browser/ui/webui/history_ui_unittest.cc AddQueryResults(test_data, arraysize(test_data), &results); test_data 82 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[0], test_data[2])); test_data 83 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[1], test_data[1])); test_data 88 chrome/browser/ui/webui/history_ui_unittest.cc TestResult test_data[] = { test_data 102 chrome/browser/ui/webui/history_ui_unittest.cc AddQueryResults(test_data, arraysize(test_data), &results); test_data 106 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[0], test_data[7])); test_data 107 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[1], test_data[6])); test_data 108 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[2], test_data[3])); test_data 109 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[3], test_data[2])); test_data 114 chrome/browser/ui/webui/history_ui_unittest.cc TestResult test_data[] = { test_data 121 chrome/browser/ui/webui/history_ui_unittest.cc AddQueryResults(test_data, arraysize(test_data), &results); test_data 125 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[0], test_data[3])); test_data 126 chrome/browser/ui/webui/history_ui_unittest.cc EXPECT_TRUE(ResultEquals(results[1], test_data[1])); test_data 54 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 60 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 61 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expect_populated, test_data 62 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].api->GetSchema("bookmarks.create") != NULL); test_data 71 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 80 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 83 chrome/common/extensions/api/extension_api_unittest.cc ExtensionAPI::SplitDependencyName(test_data[i].input, &feature_type, test_data 85 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expected_feature_type, feature_type) << i; test_data 86 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expected_feature_name, feature_name) << i; test_data 116 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 142 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 145 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expect_is_privilged, test_data 146 chrome/common/extensions/api/extension_api_unittest.cc api.IsPrivileged(test_data[i].api_full_name)) << i; test_data 156 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 238 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 247 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expect_is_available, test_data 248 chrome/common/extensions/api/extension_api_unittest.cc api.IsAvailable(test_data[i].api_full_name, test_data 250 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].context, test_data 251 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].url).is_available()) << i; test_data 276 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 310 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 320 chrome/common/extensions/api/extension_api_unittest.cc api_feature_provider.GetFeature(test_data[i].api_full_name); test_data 322 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expect_is_available, test_data 324 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].extension, test_data 325 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].context, test_data 326 chrome/common/extensions/api/extension_api_unittest.cc test_data[i].url)) test_data 659 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 673 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 675 chrome/common/extensions/api/extension_api_unittest.cc std::string api_name = api->GetAPINameFromFullName(test_data[i].input, test_data 677 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].api_name, api_name) << test_data[i].input; test_data 678 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].child_name, child_name) << test_data[i].input; test_data 693 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 698 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 699 chrome/common/extensions/api/extension_api_unittest.cc SimpleFeature* feature = test_data[i].feature; test_data 733 chrome/common/extensions/api/extension_api_unittest.cc } test_data[] = { test_data 739 chrome/common/extensions/api/extension_api_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 740 chrome/common/extensions/api/extension_api_unittest.cc BaseFeatureProvider api_feature_provider(*test_data[i].api_features, test_data 743 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_EQ(test_data[i].expect_success, feature != NULL) << i; test_data 31 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc } test_data[] = { test_data 40 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 42 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc if (test_data[i].require_modern_manifest_version) test_data 44 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc if (test_data[i].expect_error) { test_data 46 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc Manifest(test_data[i].manifest, test_data 47 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc test_data[i].test_name), test_data 52 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc LoadAndExpectSuccess(Manifest(test_data[i].manifest, test_data 53 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc test_data[i].test_name), test_data 16 chrome/installer/util/logging_installer_unittest.cc const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a'); test_data 22 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), test_data 23 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); test_data 28 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 41 chrome/installer/util/logging_installer_unittest.cc const std::string test_data(installer::kMaxInstallerLogFileSize, 'a'); test_data 47 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), test_data 48 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); test_data 53 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 59 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 63 chrome/installer/util/logging_installer_unittest.cc const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a'); test_data 69 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), test_data 70 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); test_data 74 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 87 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 91 chrome/installer/util/logging_installer_unittest.cc const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a'); test_data 97 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), test_data 98 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); test_data 102 chrome/installer/util/logging_installer_unittest.cc EXPECT_EQ(test_data.size(), file_size); test_data 160 chrome_elf/blacklist/test/blacklist_test.cc } test_data[] = { test_data 164 chrome_elf/blacklist/test/blacklist_test.cc for (int i = 0 ; i < arraysize(test_data); ++i) { test_data 168 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_TRUE(TestDll_AddDllToBlacklist(test_data[i].dll_name)); test_data 170 chrome_elf/blacklist/test/blacklist_test.cc current_dir.Append(test_data[i].dll_name)); test_data 172 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_EQ(0u, ::GetEnvironmentVariable(test_data[i].dll_beacon, NULL, 0)); test_data 180 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_EQ(test_data[i].dll_name, base::string16(blocked_dll)); test_data 184 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_TRUE(TestDll_RemoveDllFromBlacklist(test_data[i].dll_name)); test_data 185 chrome_elf/blacklist/test/blacklist_test.cc base::ScopedNativeLibrary dll(current_dir.Append(test_data[i].dll_name)); test_data 187 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_NE(0u, ::GetEnvironmentVariable(test_data[i].dll_beacon, NULL, 0)); test_data 190 chrome_elf/blacklist/test/blacklist_test.cc ::SetEnvironmentVariable(test_data[i].dll_beacon, NULL); test_data 194 chrome_elf/blacklist/test/blacklist_test.cc base::string16 uppercase_name = base::i18n::ToUpper(test_data[i].dll_name); test_data 197 chrome_elf/blacklist/test/blacklist_test.cc current_dir.Append(test_data[i].dll_name)); test_data 199 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_EQ(0u, ::GetEnvironmentVariable(test_data[i].dll_beacon, NULL, 0)); test_data 319 components/storage_monitor/storage_monitor_linux_unittest.cc MtabTestData test_data[] = { test_data 325 components/storage_monitor/storage_monitor_linux_unittest.cc AppendToMtabAndRunLoop(test_data, arraysize(test_data)); test_data 718 content/browser/fileapi/file_system_operation_impl_unittest.cc const char test_data[] = "foo"; test_data 719 content/browser/fileapi/file_system_operation_impl_unittest.cc int data_size = ARRAYSIZE_UNSAFE(test_data); test_data 720 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(src_local_disk_file_path, test_data, data_size); test_data 745 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], buffer[i]); test_data 751 content/browser/fileapi/file_system_operation_impl_unittest.cc const char test_data[] = "foo"; test_data 752 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(src_local_disk_file_path, test_data, test_data 753 content/browser/fileapi/file_system_operation_impl_unittest.cc ARRAYSIZE_UNSAFE(test_data)); test_data 1037 content/browser/fileapi/file_system_operation_impl_unittest.cc char test_data[] = "test data"; test_data 1038 content/browser/fileapi/file_system_operation_impl_unittest.cc int data_size = static_cast<int>(sizeof(test_data)); test_data 1040 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(platform_path, test_data, data_size)); test_data 1064 content/browser/fileapi/file_system_operation_impl_unittest.cc if (i < static_cast<int>(sizeof(test_data))) test_data 1065 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], data[i]); test_data 1083 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(test_data[i], data[i]); test_data 227 content/browser/frame_host/navigation_entry_impl_unittest.cc base::string16 test_data = ASCIIToUTF16("my search terms"); test_data 229 content/browser/frame_host/navigation_entry_impl_unittest.cc entry1_->SetExtraData("search_terms", test_data); test_data 234 content/browser/frame_host/navigation_entry_impl_unittest.cc EXPECT_EQ(test_data, output); test_data 239 content/browser/frame_host/navigation_entry_impl_unittest.cc EXPECT_EQ(test_data, output); test_data 47 content/browser/gamepad/gamepad_provider_unittest.cc GamepadProvider* CreateProvider(const WebGamepads& test_data) { test_data 48 content/browser/gamepad/gamepad_provider_unittest.cc mock_data_fetcher_ = new MockGamepadDataFetcher(test_data); test_data 68 content/browser/gamepad/gamepad_provider_unittest.cc WebGamepads test_data; test_data 69 content/browser/gamepad/gamepad_provider_unittest.cc test_data.length = 1; test_data 70 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].connected = true; test_data 71 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].timestamp = 0; test_data 72 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].buttonsLength = 1; test_data 73 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].axesLength = 2; test_data 74 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].buttons[0].value = 1.f; test_data 75 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].buttons[0].pressed = true; test_data 76 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].axes[0] = -1.f; test_data 77 content/browser/gamepad/gamepad_provider_unittest.cc test_data.items[0].axes[1] = .5f; test_data 79 content/browser/gamepad/gamepad_provider_unittest.cc GamepadProvider* provider = CreateProvider(test_data); test_data 12 content/browser/gamepad/gamepad_test_helpers.cc const blink::WebGamepads& test_data) test_data 13 content/browser/gamepad/gamepad_test_helpers.cc : test_data_(test_data), test_data 45 content/browser/gamepad/gamepad_test_helpers.cc const blink::WebGamepads& test_data) { test_data 46 content/browser/gamepad/gamepad_test_helpers.cc data_fetcher_ = new MockGamepadDataFetcher(test_data); test_data 24 content/browser/gamepad/gamepad_test_helpers.h explicit MockGamepadDataFetcher(const blink::WebGamepads& test_data); test_data 66 content/browser/gamepad/gamepad_test_helpers.h explicit GamepadServiceTestConstructor(const blink::WebGamepads& test_data); test_data 493 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data().size(), static_cast<size_t>( test_data 499 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data(), contents); test_data 642 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data().size(), static_cast<size_t>( test_data 648 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data(), contents); test_data 34 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc void ConstructService(const blink::WebGamepads& test_data) { test_data 35 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc service_.reset(new GamepadServiceTestConstructor(test_data)); test_data 54 content/common/sandbox_mac_unittest_helper.h const char* test_data); test_data 66 content/common/sandbox_mac_unittest_helper.h const char* test_data); test_data 90 content/common/sandbox_mac_unittest_helper.h virtual void SetTestData(const char* test_data); test_data 82 crypto/symmetric_key_unittest.cc PBKDF2TestVector test_data(GetParam()); test_data 86 crypto/symmetric_key_unittest.cc if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) { test_data 87 crypto/symmetric_key_unittest.cc VLOG(1) << "Skipped test vector for " << test_data.expected; test_data 94 crypto/symmetric_key_unittest.cc test_data.algorithm, test_data 95 crypto/symmetric_key_unittest.cc test_data.password, test_data.salt, test_data 96 crypto/symmetric_key_unittest.cc test_data.rounds, test_data.key_size_in_bits)); test_data 101 crypto/symmetric_key_unittest.cc EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()); test_data 102 crypto/symmetric_key_unittest.cc EXPECT_EQ(test_data.expected, test_data 44 gin/converter_unittest.cc } test_data[] = { test_data 58 gin/converter_unittest.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 61 gin/converter_unittest.cc test_data[i].input, &result)); test_data 62 gin/converter_unittest.cc EXPECT_EQ(test_data[i].expected, result); test_data 66 gin/converter_unittest.cc test_data[i].input, &result)); test_data 67 gin/converter_unittest.cc EXPECT_EQ(test_data[i].expected, result); test_data 5182 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc static const S3TCTestData test_data[] = { test_data 5189 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc for (size_t ii = 0; ii < arraysize(test_data); ++ii) { test_data 5190 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc const S3TCTestData& test = test_data[ii]; test_data 62 media/ffmpeg/ffmpeg_common_unittest.cc int64 test_data[][5] = { test_data 68 media/ffmpeg/ffmpeg_common_unittest.cc for (size_t i = 0; i < arraysize(test_data); ++i) { test_data 72 media/ffmpeg/ffmpeg_common_unittest.cc time_base.num = static_cast<int>(test_data[i][0]); test_data 73 media/ffmpeg/ffmpeg_common_unittest.cc time_base.den = static_cast<int>(test_data[i][1]); test_data 75 media/ffmpeg/ffmpeg_common_unittest.cc TimeDelta time_delta = ConvertFromTimeBase(time_base, test_data[i][2]); test_data 77 media/ffmpeg/ffmpeg_common_unittest.cc EXPECT_EQ(time_delta.InMicroseconds(), test_data[i][3]); test_data 78 media/ffmpeg/ffmpeg_common_unittest.cc EXPECT_EQ(ConvertToTimeBase(time_base, time_delta), test_data[i][4]); test_data 1198 mojo/system/local_data_pipe_unittest.cc unsigned char test_data[1000]; test_data 1199 mojo/system/local_data_pipe_unittest.cc for (size_t i = 0; i < arraysize(test_data); i++) test_data 1200 mojo/system/local_data_pipe_unittest.cc test_data[i] = static_cast<unsigned char>(i); test_data 1220 mojo/system/local_data_pipe_unittest.cc dp->ProducerWriteData(&test_data[0], &num_bytes, false)); test_data 1229 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(read_buffer, &test_data[0], 10u)); test_data 1246 mojo/system/local_data_pipe_unittest.cc dp->ProducerWriteData(&test_data[20], &num_bytes, false)); test_data 1268 mojo/system/local_data_pipe_unittest.cc EXPECT_EQ(0, memcmp(read_buffer, &test_data[10], 100u)); test_data 988 net/base/file_stream_unittest.cc const char test_data[] = "0123456789"; test_data 989 net/base/file_stream_unittest.cc write_stream->WriteSync(test_data, arraysize(test_data)); test_data 995 net/base/file_stream_unittest.cc write_stream->WriteSync(test_data, 4); test_data 3525 net/base/net_util_unittest.cc const NonUniqueNameTestData& test_data = GetParam(); test_data 3527 net/base/net_util_unittest.cc EXPECT_EQ(test_data.is_unique, IsUnique(test_data.hostname)); test_data 1095 net/cert/x509_certificate_unittest.cc CertificateNameVerifyTestData test_data = GetParam(); test_data 1097 net/cert/x509_certificate_unittest.cc std::string common_name(test_data.common_name); test_data 1102 net/cert/x509_certificate_unittest.cc if (test_data.dns_names) { test_data 1104 net/cert/x509_certificate_unittest.cc std::string dns_name_line(test_data.dns_names); test_data 1109 net/cert/x509_certificate_unittest.cc if (test_data.ip_addrs) { test_data 1111 net/cert/x509_certificate_unittest.cc std::string ip_addrs_line(test_data.ip_addrs); test_data 1144 net/cert/x509_certificate_unittest.cc EXPECT_EQ(test_data.expected, X509Certificate::VerifyHostname( test_data 1145 net/cert/x509_certificate_unittest.cc test_data.hostname, common_name, dns_names, ip_addressses, &unused)); test_data 98 net/proxy/proxy_resolver_perftest.cc const PacPerfTest& test_data = kPerfTests[i]; test_data 99 net/proxy/proxy_resolver_perftest.cc RunTest(test_data.pac_name, test_data 100 net/proxy/proxy_resolver_perftest.cc test_data.queries, test_data 101 net/proxy/proxy_resolver_perftest.cc test_data.NumQueries()); test_data 18 net/quic/iovector_test.cc const char* const test_data[] = { test_data 26 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 27 net/quic/iovector_test.cc iov1.Append(const_cast<char*>(test_data[i]), strlen(test_data[i])); test_data 40 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 41 net/quic/iovector_test.cc iov1.Append(const_cast<char*>(test_data[i]), strlen(test_data[i])); test_data 63 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 64 net/quic/iovector_test.cc const int str_len = strlen(test_data[i]); test_data 67 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i]), append_len); test_data 70 net/quic/iovector_test.cc ASSERT_TRUE(iov.LastBlockEnd() == test_data[i] + append_len); test_data 72 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i] + append_len), test_data 76 net/quic/iovector_test.cc ASSERT_TRUE(iov.LastBlockEnd() == test_data[i] + str_len); test_data 82 net/quic/iovector_test.cc ASSERT_TRUE(test_data[i] == iov2[i].iov_base); test_data 83 net/quic/iovector_test.cc ASSERT_EQ(strlen(test_data[i]), iov2[i].iov_len); test_data 120 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 121 net/quic/iovector_test.cc const int str_len = strlen(test_data[i]); test_data 122 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i]), str_len); test_data 126 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 128 net/quic/iovector_test.cc const size_t str_len = strlen(test_data[i]); test_data 132 net/quic/iovector_test.cc ASSERT_TRUE(iov2[0].iov_base == test_data[i]); test_data 138 net/quic/iovector_test.cc ASSERT_EQ(ARRAYSIZE_UNSAFE(test_data) - i, static_cast<size_t>(iov.Size())); test_data 141 net/quic/iovector_test.cc ASSERT_TRUE(iov2[0].iov_base == test_data[i] + tmp); test_data 147 net/quic/iovector_test.cc ASSERT_EQ(ARRAYSIZE_UNSAFE(test_data) - i - 1, test_data 164 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 165 net/quic/iovector_test.cc const int str_len = strlen(test_data[i]); test_data 166 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i]), str_len); test_data 169 net/quic/iovector_test.cc const size_t last_len = strlen(test_data[ARRAYSIZE_UNSAFE(test_data) - 1]); test_data 179 net/quic/iovector_test.cc test_data[ARRAYSIZE_UNSAFE(test_data) - 1] + last_len - half_len); test_data 195 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 196 net/quic/iovector_test.cc const int str_len = strlen(test_data[i]); test_data 197 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i]), str_len); test_data 220 net/quic/iovector_test.cc for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { test_data 221 net/quic/iovector_test.cc const int str_len = strlen(test_data[i]); test_data 222 net/quic/iovector_test.cc iov.Append(const_cast<char*>(test_data[i]), str_len); test_data 227 net/quic/iovector_test.cc ASSERT_EQ(ARRAYSIZE_UNSAFE(test_data), static_cast<size_t>(iov.Size())); test_data 860 net/url_request/url_request_unittest.cc std::string test_data("monkey"); test_data 861 net/url_request/url_request_unittest.cc base::WriteFile(test_file, test_data.data(), test_data.size()); test_data 873 net/url_request/url_request_unittest.cc EXPECT_EQ(test_data, d.data_received()); test_data 293 ppapi/tests/test_post_message.cc const pp::Var& test_data, test_data 301 ppapi/tests/test_post_message.cc instance_->PostMessage(test_data); test_data 425 ppapi/tests/test_post_message.cc pp::VarArrayBuffer test_data(sizes[i]); test_data 427 ppapi/tests/test_post_message.cc ASSERT_NE(NULL, test_data.Map()); test_data 431 ppapi/tests/test_post_message.cc test_data.Unmap(); test_data 432 ppapi/tests/test_post_message.cc test_data.Map(); test_data 433 ppapi/tests/test_post_message.cc ASSERT_EQ(sizes[i], test_data.ByteLength()); test_data 434 ppapi/tests/test_post_message.cc unsigned char* buff = static_cast<unsigned char*>(test_data.Map()); test_data 435 ppapi/tests/test_post_message.cc const uint32_t kByteLength = test_data.ByteLength(); test_data 454 ppapi/tests/test_post_message.cc ASSERT_SUBTEST_SUCCESS(CheckMessageProperties(test_data, test_data 461 ppapi/tests/test_post_message.cc instance_->PostMessage(test_data); test_data 468 ppapi/tests/test_post_message.cc ASSERT_EQ(test_data.ByteLength(), received.ByteLength()); test_data 475 ppapi/tests/test_post_message.cc for (size_t i = 0; i < test_data.ByteLength(); ++i) test_data 60 ppapi/tests/test_post_message.h const pp::Var& test_data, test_data 170 ppapi/tests/test_url_request.cc PropertyTestData test_data[] = { test_data 270 ppapi/tests/test_url_request.cc i < sizeof(test_data) / sizeof(test_data[0]); test_data 272 ppapi/tests/test_url_request.cc if (error.empty() && test_data[i].expected_value != test_data 274 ppapi/tests/test_url_request.cc test_data[i].property, test_data 275 ppapi/tests/test_url_request.cc test_data[i].var)) { test_data 276 ppapi/tests/test_url_request.cc pp::Var var(pp::Var::DontManage(), test_data[i].var); test_data 278 ppapi/tests/test_url_request.cc test_data[i].property_name + " to " + var.DebugString() + test_data 279 ppapi/tests/test_url_request.cc " did not return " + (test_data[i].expected_value ? "True" : "False"); test_data 280 ppapi/tests/test_url_request.cc error = test_data[i].property_name; test_data 282 ppapi/tests/test_url_request.cc ppb_var_interface_->Release(test_data[i].var); test_data 51 remoting/protocol/message_decoder_unittest.cc uint8* test_data; test_data 52 remoting/protocol/message_decoder_unittest.cc PrepareData(&test_data, &size); test_data 53 remoting/protocol/message_decoder_unittest.cc scoped_ptr<uint8[]> memory_deleter(test_data); test_data 72 remoting/protocol/message_decoder_unittest.cc memcpy(buffer->data(), test_data + pos, read); test_data 24 ui/base/dragdrop/gtk_dnd_util_unittest.cc scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); test_data 25 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); test_data 26 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); test_data 44 ui/base/dragdrop/gtk_dnd_util_unittest.cc scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); test_data 45 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); test_data 46 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); test_data 73 ui/base/dragdrop/gtk_dnd_util_unittest.cc scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); test_data 74 ui/base/dragdrop/gtk_dnd_util_unittest.cc memcpy(test_data.get(), pickle.data(), pickle.size()); test_data 75 ui/base/dragdrop/gtk_dnd_util_unittest.cc data.data = test_data.get(); test_data 287 url/url_util_unittest.cc const ResolveRelativeCase& test_data = resolve_non_standard_cases[i]; test_data 289 url/url_util_unittest.cc url_parse::ParsePathURL(test_data.base, strlen(test_data.base), false, test_data 296 url/url_util_unittest.cc url_util::ResolveRelative(test_data.base, strlen(test_data.base), test_data 298 url/url_util_unittest.cc test_data.rel, strlen(test_data.rel), test_data 302 url/url_util_unittest.cc EXPECT_EQ(test_data.is_valid, valid) << i; test_data 303 url/url_util_unittest.cc if (test_data.is_valid && valid) test_data 304 url/url_util_unittest.cc EXPECT_EQ(test_data.out, resolved) << i;