StartsWith 72 base/files/file_path.cc if (!StartsWith(a_letter, b_letter, false)) StartsWith 282 base/files/file_path.cc if (!StartsWith(*parent_comp, *child_comp, false)) StartsWith 57 base/path_service_unittest.cc StartsWith(path.value(), default_profile_path, false)); StartsWith 319 base/strings/string_util.h BASE_EXPORT bool StartsWith(const base::string16& str, StartsWith 788 base/strings/string_util_unittest.cc TEST(StringUtilTest, StartsWith) { StartsWith 800 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWith(ASCIIToUTF16("javascript:url"), StartsWith 802 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWith(ASCIIToUTF16("JavaScript:url"), StartsWith 804 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWith(ASCIIToUTF16("javascript:url"), StartsWith 806 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWith(ASCIIToUTF16("JavaScript:url"), StartsWith 808 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWith(ASCIIToUTF16("java"), StartsWith 810 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWith(ASCIIToUTF16("java"), StartsWith 812 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWith(string16(), ASCIIToUTF16("javascript"), false)); StartsWith 813 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWith(string16(), ASCIIToUTF16("javascript"), true)); StartsWith 814 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWith(ASCIIToUTF16("java"), string16(), false)); StartsWith 815 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWith(ASCIIToUTF16("java"), string16(), true)); StartsWith 260 chrome/browser/autocomplete/base_search_provider.cc if (StartsWith(suggestion_, input_text, true) && StartsWith 312 chrome/browser/autocomplete/base_search_provider.cc return StartsWith(suggestion_, input, false); StartsWith 479 chrome/browser/autocomplete/base_search_provider.cc StartsWith(suggestion.suggestion(), input.text(), false)) { StartsWith 75 chrome/browser/autocomplete/builtin_provider.cc bool starting_chrome = StartsWith(kChrome, text, false); StartsWith 76 chrome/browser/autocomplete/builtin_provider.cc if (starting_chrome || StartsWith(kAbout, text, false)) { StartsWith 107 chrome/browser/autocomplete/builtin_provider.cc if (StartsWith(*i, host_and_path, false)) { StartsWith 124 chrome/browser/autocomplete/shortcuts_backend.cc StartsWith(it->first, text_lowercase, true); ++it) { StartsWith 176 chrome/browser/autocomplete/shortcuts_provider.cc StartsWith(it->first, term_string, true); ++it) { StartsWith 260 chrome/browser/autocomplete/shortcuts_provider.cc if (StartsWith(match.fill_into_edit, term_string, false)) { StartsWith 359 chrome/browser/autocomplete/shortcuts_provider.cc if (StartsWith(text_lowercase, find_text, true)) { StartsWith 423 chrome/browser/autocomplete/shortcuts_provider.cc StartsWith(it->first, keyword, true)) ? it : StartsWith 55 chrome/browser/autocomplete/url_prefix.cc return StartsWith(text, prefix.prefix + prefix_suffix, false); StartsWith 660 chrome/browser/autofill/autofill_browsertest.cc ASSERT_TRUE(StartsWith(phone, ASCIIToUTF16("+49"), true)); StartsWith 665 chrome/browser/enumerate_modules_model_win.cc if (StartsWith(location, prefix, false)) { StartsWith 709 chrome/browser/enumerate_modules_model_win.cc if (StartsWith(module->location, L"%temp%", false) || StartsWith 710 chrome/browser/enumerate_modules_model_win.cc StartsWith(module->location, L"%tmp%", false)) { StartsWith 567 chrome/browser/history/url_index_private_data.cc if (StartsWith(term, cache_iter->first, false) && StartsWith 925 chrome/browser/metrics/metrics_service.cc StartsWith(name, chrome_version, false) && StartsWith 346 chrome/browser/predictors/autocomplete_action_predictor.cc if (!StartsWith(lower_user_text, it->user_text, true)) StartsWith 78 chrome/browser/search_engines/template_url_service_util_unittest.cc StartsWith((*itr)->keyword(), base::ASCIIToUTF16("winner"), true)); StartsWith 1397 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(0)->value, StartsWith 1403 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(1)->value, StartsWith 29 chrome/browser/ui/omnibox/omnibox_view.cc while (StartsWith(out, kJsPrefix, false)) { StartsWith 206 chrome/browser/ui/toolbar/origin_chip_info.cc if (StartsWith(formatted, base::ASCIIToUTF16("http://"), false)) StartsWith 208 chrome/browser/ui/toolbar/origin_chip_info.cc else if (StartsWith(formatted, base::ASCIIToUTF16("https://"), false)) StartsWith 210 chrome/browser/ui/toolbar/origin_chip_info.cc else if (StartsWith(formatted, base::ASCIIToUTF16("ftp://"), false)) StartsWith 212 chrome/browser/ui/toolbar/origin_chip_info.cc if (StartsWith(formatted, base::ASCIIToUTF16("www."), false)) StartsWith 83 chrome/common/metrics/variations/experiment_labels.cc StartsWith(*it, base::ASCIIToUTF16(kVariationPrefix), false)) { StartsWith 100 chrome/common/metrics/variations/experiment_labels.cc DCHECK(!StartsWith(variation_labels, separator, false)); StartsWith 102 chrome/common/metrics/variations/experiment_labels.cc DCHECK(!StartsWith(other_labels, separator, false)); StartsWith 366 chrome/installer/gcapi/gcapi.cc StartsWith(window_class, kChromeWindowClassPrefix, false) && StartsWith 55 chrome/installer/gcapi/gcapi_omaha_experiment.cc if (!it->empty() && !StartsWith(*it, label + L"=", true)) { StartsWith 333 chrome/installer/util/delete_after_reboot_helper.cc if (StartsWith(match_path, prefix, false)) StartsWith 341 chrome/installer/util/delete_after_reboot_helper.cc return StartsWith(short_match_path.value(), short_form_needle.value(), false); StartsWith 350 chrome/installer/util/install_util.cc return !StartsWith(exe_path, program_files_path, false); StartsWith 847 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(StartsWith(suffix, L".", true)); StartsWith 856 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(StartsWith(suffix, L".", true)); StartsWith 116 chrome/tools/profile_reset/jtl_compiler_unittest.cc EXPECT_THAT(error.context, testing::StartsWith("non_existent_instruction")); StartsWith 133 chrome/tools/profile_reset/jtl_compiler_unittest.cc EXPECT_THAT(error.context, testing::StartsWith("store_bool")); StartsWith 165 chrome/tools/profile_reset/jtl_compiler_unittest.cc testing::StartsWith(cases[i].expected_context_prefix)); StartsWith 186 chrome/tools/profile_reset/jtl_compiler_unittest.cc testing::StartsWith(cases[i].expected_context_prefix)); StartsWith 212 chrome/tools/profile_reset/jtl_compiler_unittest.cc EXPECT_THAT(error.context, testing::StartsWith("go")); StartsWith 46 chrome/tools/profile_reset/jtl_parser_unittest.cc testing::StartsWith(expected_context_prefix)); StartsWith 141 chrome/utility/extensions/unpacker_unittest.cc EXPECT_TRUE(StartsWith(unpacker_->error_message(), StartsWith 159 chrome/utility/extensions/unpacker_unittest.cc EXPECT_TRUE(StartsWith(unpacker_->error_message(), StartsWith 171 chrome/utility/extensions/unpacker_unittest.cc EXPECT_TRUE(StartsWith(unpacker_->error_message(), StartsWith 30 cloud_print/service/win/service_utils.cc if (StartsWith(user_name, kLocalDomain, true)) { StartsWith 201 components/autofill/content/browser/wallet/wallet_service_url.cc StartsWith(base::UTF8ToUTF16(url.GetOrigin().host()), StartsWith 92 components/autofill/content/renderer/autofill_agent.cc if (!StartsWith(option.value(), prefix, false) || StartsWith 174 components/autofill/content/renderer/password_autofill_agent.cc return StartsWith(username1, username2, true); StartsWith 650 components/autofill/content/renderer/password_autofill_agent.cc if (StartsWith(fill_data.basic_data.fields[0].value, input, false)) { StartsWith 658 components/autofill/content/renderer/password_autofill_agent.cc if (StartsWith(iter->first, input, false)) { StartsWith 668 components/autofill/content/renderer/password_autofill_agent.cc if (StartsWith(iter->second[i], input, false)) { StartsWith 585 components/autofill/core/browser/personal_data_manager.cc StartsWith(multi_values[i], field_contents, false) && StartsWith 661 components/autofill/core/browser/personal_data_manager.cc StartsWith(creditcard_field_value, field_contents, false)) { StartsWith 145 components/autofill/core/browser/phone_number_i18n.cc !StartsWith(normalized_number, *country_code, StartsWith 298 components/policy/core/common/preg_parser_win.cc if (StartsWith(key_name, root, false)) StartsWith 304 components/storage_monitor/portable_device_watcher_win.cc if (StartsWith(pnp_device_id, L"\\\\?\\wpdbusenumroot#", false)) StartsWith 101 content/browser/loader/resource_dispatcher_host_browsertest.cc EXPECT_TRUE(StartsWith(title, ASCIIToUTF16("My Popup Title"), true)) StartsWith 113 content/browser/loader/resource_dispatcher_host_browsertest.cc EXPECT_TRUE(StartsWith(title, ASCIIToUTF16("My Dynamic Title"), true)) StartsWith 20 extensions/common/extension_urls.cc StartsWith(source, StartsWith 611 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kHlsSignature)) { StartsWith 619 media/base/container_names.cc if (StartsWith(buffer + offset, buffer_size - offset, kHls1) || StartsWith 620 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls2) || StartsWith 621 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls3)) { StartsWith 1168 media/base/container_names.cc int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0; StartsWith 1435 media/base/container_names.cc if (StartsWith(buffer, StartsWith 1444 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAmrSignature)) StartsWith 1551 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAssSignature)) StartsWith 1556 media/base/container_names.cc if (StartsWith(buffer, buffer_size, kAssBomSignature)) StartsWith 1569 media/base/container_names.cc if (StartsWith(buffer, StartsWith 1196 net/base/net_util.cc return StartsWith(text, www, true) ? text.substr(www.length()) : text; StartsWith 1847 net/base/net_util.cc if (omit_http && StartsWith(url_string, base::ASCIIToUTF16(kHTTP), true)) { StartsWith 43 net/ftp/ftp_directory_listing_parser_netware.cc !StartsWith(lines[0], base::ASCIIToUTF16("total "), true)) { StartsWith 213 net/ftp/ftp_directory_listing_parser_vms.cc if (StartsWith(lines[i], base::ASCIIToUTF16("Total of "), true)) { StartsWith 866 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_TRUE(StartsWith(errors[0], StartsWith 888 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_TRUE(StartsWith(errors[0], StartsWith 155 tools/clang/blink_gc_plugin/Config.h static bool StartsWith(const std::string& str, const std::string& prefix) {