StartsWithASCII 248 android_webview/native/android_protocol_handler.cc if (!StartsWithASCII(url, asset_prefix_, /*case_sensitive=*/ true) && StartsWithASCII 249 android_webview/native/android_protocol_handler.cc !StartsWithASCII(url, resource_prefix_, /*case_sensitive=*/ true)) { StartsWithASCII 1314 base/files/file_path.cc return StartsWithASCII(path_, "content://", false /*case_sensitive*/); StartsWithASCII 316 base/strings/string_util.h BASE_EXPORT bool StartsWithASCII(const std::string& str, StartsWithASCII 789 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWithASCII("javascript:url", "javascript", true)); StartsWithASCII 790 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWithASCII("JavaScript:url", "javascript", true)); StartsWithASCII 791 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWithASCII("javascript:url", "javascript", false)); StartsWithASCII 792 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWithASCII("JavaScript:url", "javascript", false)); StartsWithASCII 793 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWithASCII("java", "javascript", true)); StartsWithASCII 794 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWithASCII("java", "javascript", false)); StartsWithASCII 795 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWithASCII(std::string(), "javascript", false)); StartsWithASCII 796 base/strings/string_util_unittest.cc EXPECT_FALSE(StartsWithASCII(std::string(), "javascript", true)); StartsWithASCII 797 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWithASCII("java", std::string(), false)); StartsWithASCII 798 base/strings/string_util_unittest.cc EXPECT_TRUE(StartsWithASCII("java", std::string(), true)); StartsWithASCII 28 chrome/browser/android/new_tab_page_url_handler.cc if (StartsWithASCII(ref, kLegacyBookmarksFragment, true)) { StartsWithASCII 484 chrome/browser/apps/web_view_browsertest.cc if (!StartsWithASCII(path, request.relative_url, true)) StartsWithASCII 498 chrome/browser/apps/web_view_browsertest.cc if (StartsWithASCII(path, request.relative_url, true)) { StartsWithASCII 288 chrome/browser/autocomplete/shortcuts_backend.cc StartsWithASCII(it->second->second.match_core.destination_url.spec(), StartsWithASCII 223 chrome/browser/autofill/autofill_browsertest.cc if (StartsWithASCII(lines[i], "#", false)) StartsWithASCII 232 chrome/browser/chromeos/drive/file_system_util.cc if (!StartsWithASCII(components[2], "drive", true)) StartsWithASCII 254 chrome/browser/chromeos/file_manager/file_tasks.cc if (StartsWithASCII(result[0], kDriveTaskExtensionPrefix, true)) { StartsWithASCII 430 chrome/browser/chromeos/input_method/input_method_util.cc return StartsWithASCII(input_method_id, "xkb:", false) || StartsWithASCII 90 chrome/browser/chromeos/login/default_user_images.cc if (!StartsWithASCII(s, prefix, true)) StartsWithASCII 434 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_TRUE(StartsWithASCII(fetcher->GetOriginalURL().spec(), StartsWithASCII 452 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_TRUE(StartsWithASCII(fetcher->GetOriginalURL().spec(), StartsWithASCII 202 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc EXPECT_TRUE(StartsWithASCII(fetcher->GetOriginalURL().spec(), StartsWithASCII 48 chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 51 chrome/browser/chromeos/power/peripheral_battery_observer.cc return StartsWithASCII(path, kHIDBatteryPathPrefix, false) && StartsWithASCII 115 chrome/browser/chromeos/proxy_cros_settings_parser.cc return StartsWithASCII(path, kProxyPrefsPrefix, true); StartsWithASCII 252 chrome/browser/chromeos/proxy_cros_settings_parser.cc StartsWithASCII(val, "socks5://", false) ? StartsWithASCII 264 chrome/browser/chromeos/proxy_cros_settings_parser.cc StartsWithASCII(host, "socks5://", false) ? StartsWithASCII 70 chrome/browser/chromeos/settings/cros_settings.cc return StartsWithASCII(path, kCrosSettingsPrefix, true); StartsWithASCII 85 chrome/browser/chromeos/system/syslogs_provider.cc if (StartsWithASCII(*data, std::string(kMultilineQuote), false)) { StartsWithASCII 93 chrome/browser/chromeos/version_loader.cc if (StartsWithASCII(lines[i], kFirmwarePrefix, false)) { StartsWithASCII 116 chrome/browser/extensions/activity_log/activity_actions.cc set_page_incognito(StartsWithASCII(url, constants::kIncognitoUrl, true)); StartsWithASCII 128 chrome/browser/extensions/activity_log/activity_actions.cc set_arg_incognito(StartsWithASCII(url, constants::kIncognitoUrl, true)); StartsWithASCII 551 chrome/browser/extensions/activity_log/activity_log.cc StartsWithASCII(action->api_name(), kDomXhrPrefix, true) && StartsWithASCII 67 chrome/browser/extensions/api/commands/command_service.cc return StartsWithASCII( StartsWithASCII 424 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc return StartsWithASCII(str, data_, case_sensitive_); StartsWithASCII 429 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc StartsWithASCII(str, data_, case_sensitive_); StartsWithASCII 523 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (StartsWithASCII(name(), "systemIndicator.", false)) { StartsWithASCII 29 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc if (StartsWithASCII(path, kFakePathStr, false)) StartsWithASCII 128 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc StartsWithASCII(url.GetContent(), redirect_path_prefix_, true)) { StartsWithASCII 173 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc if (StartsWithASCII(title, prefix, true)) { StartsWithASCII 467 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 481 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 514 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 532 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 621 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 635 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 761 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_TRUE(StartsWithASCII(error, errors::kAuthFailure, false)); StartsWithASCII 39 chrome/browser/extensions/api/web_request/web_request_permissions.cc if (StartsWithASCII(host, kClient, true)) { StartsWithASCII 56 chrome/browser/extensions/api/web_request/web_request_permissions.cc StartsWithASCII(url.path(), "/webstore", true)); StartsWithASCII 24 chrome/browser/extensions/blob_reader.cc if (StartsWithASCII(blob_uuid, "blob:blobinternal", true)) { StartsWithASCII 41 chrome/browser/extensions/extension_apitest.cc if (!StartsWithASCII(request.relative_url, "/server-redirect?", true)) StartsWithASCII 57 chrome/browser/extensions/extension_apitest.cc if (!StartsWithASCII(request.relative_url, "/echoheader?", true)) StartsWithASCII 79 chrome/browser/extensions/extension_apitest.cc if (!StartsWithASCII(request.relative_url, "/set-cookie?", true)) StartsWithASCII 101 chrome/browser/extensions/extension_apitest.cc if (!StartsWithASCII(request.relative_url, "/set-header?", true)) StartsWithASCII 162 chrome/browser/extensions/extension_install_ui_browsertest.cc EXPECT_TRUE(StartsWithASCII(web_contents->GetURL().spec(), StartsWithASCII 188 chrome/browser/extensions/extension_install_ui_browsertest.cc EXPECT_TRUE(StartsWithASCII(web_contents->GetURL().spec(), StartsWithASCII 164 chrome/browser/extensions/extension_protocols.cc if (StartsWithASCII(*read_mime_type, "text/", false)) { StartsWithASCII 283 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_TRUE(StartsWithASCII(etag, "\"", false)); StartsWithASCII 190 chrome/browser/extensions/extension_warning_set.cc if (StartsWithASCII(message, kTranslate, true)) { StartsWithASCII 290 chrome/browser/extensions/extension_web_ui.cc if (StartsWithASCII(url->spec(), override, true)) { StartsWithASCII 44 chrome/browser/extensions/isolated_app_browsertest.cc if (!StartsWithASCII(request.relative_url, "/expect-and-set-cookie?", true)) StartsWithASCII 201 chrome/browser/google/google_util.cc StartsWithASCII(url.possibly_invalid_spec(), base_url.spec(), true); StartsWithASCII 239 chrome/browser/google/google_util.cc return IsPathHomePageBase(path) || StartsWithASCII(path, "/ig", false); StartsWithASCII 283 chrome/browser/google/google_util.cc return StartsWithASCII(brand, "EUB", true) || StartsWithASCII 284 chrome/browser/google/google_util.cc StartsWithASCII(brand, "EUC", true) || StartsWithASCII 285 chrome/browser/google/google_util.cc StartsWithASCII(brand, "GGR", true); StartsWithASCII 297 chrome/browser/google/google_util.cc return StartsWithASCII(brand, "GG", true) || StartsWithASCII 298 chrome/browser/google/google_util.cc StartsWithASCII(brand, "EU", true); StartsWithASCII 47 chrome/browser/history/most_visited_tiles_experiment.cc if (StartsWithASCII(group_name, kOneEightGroupPrefix, true)) { StartsWithASCII 53 chrome/browser/history/most_visited_tiles_experiment.cc } else if (StartsWithASCII(group_name, kOneFourGroupPrefix, true)) { StartsWithASCII 237 chrome/browser/managed_mode/managed_mode_url_filter.cc if (StartsWithASCII(trimmed_pattern, "*.", true)) { StartsWithASCII 47 chrome/browser/managed_mode/managed_user_settings_service.cc return !StartsWithASCII(name, kManagedUserInternalItemPrefix, false); StartsWithASCII 101 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc EXPECT_TRUE(StartsWithASCII(managed_user_setting.name(), StartsWithASCII 311 chrome/browser/media/webrtc_browsertest_base.cc EXPECT_TRUE(StartsWithASCII(result, "ok-", true)); StartsWithASCII 96 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc StartsWithASCII(mount_point, expected_mount_prefix, true) && StartsWithASCII 199 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc if (!StartsWithASCII(mount_point, kMediaGalleryMountPrefix, true)) StartsWithASCII 40 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (StartsWithASCII(mime_type, "image/", true) || StartsWithASCII 41 chrome/browser/media_galleries/fileapi/native_media_file_util.cc StartsWithASCII(mime_type, "audio/", true) || StartsWithASCII 42 chrome/browser/media_galleries/fileapi/native_media_file_util.cc StartsWithASCII(mime_type, "video/", true) || StartsWithASCII 101 chrome/browser/media_galleries/media_folder_finder.cc if (StartsWithASCII(path.value(), "/media", true) || StartsWithASCII 102 chrome/browser/media_galleries/media_folder_finder.cc StartsWithASCII(path.value(), "/mnt", true)) { StartsWithASCII 78 chrome/browser/metrics/variations/variations_http_header_provider.cc bool trigger_id = StartsWithASCII(*it, "t", true); StartsWithASCII 149 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 154 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 203 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 208 chrome/browser/metrics/variations/variations_service_unittest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 31 chrome/browser/net/async_dns_field_trial.cc return StartsWithASCII(group_name, "AsyncDns", false /* case_sensitive */); StartsWithASCII 117 chrome/browser/net/chrome_network_delegate.cc return StartsWithASCII(first_parameter, parameter_prefix, false); StartsWithASCII 48 chrome/browser/notifications/sync_notifier/synced_notification.cc if (StartsWithASCII(url_spec, std::string("//"), false)) StartsWithASCII 198 chrome/browser/omnibox/omnibox_field_trial.cc if (!StartsWithASCII(group_name, kDisabledProviders, true)) StartsWithASCII 271 chrome/browser/omnibox/omnibox_field_trial.cc if (StartsWithASCII(group_name, group_prefix, true)) StartsWithASCII 2926 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true)); StartsWithASCII 539 chrome/browser/policy/policy_prefs_browsertest.cc if (StartsWithASCII((*pref_mapping)->pref(), kCrosSettingsPrefix, true)) StartsWithASCII 325 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc bool exclude_url = StartsWithASCII(test_url_db[i].url.path(), "/d", true) || StartsWithASCII 16 chrome/browser/prefetch/prefetch_field_trial.cc if (StartsWithASCII(experiment, "ExperimentYes", false)) StartsWithASCII 146 chrome/browser/prerender/prerender_util.cc return StartsWithASCII(url.host(), std::string("www.google."), true); StartsWithASCII 153 chrome/browser/prerender/prerender_util.cc StartsWithASCII(url.path(), std::string("/search"), true) || StartsWithASCII 155 chrome/browser/prerender/prerender_util.cc StartsWithASCII(url.path(), std::string("/webhp"), true)); StartsWithASCII 125 chrome/browser/printing/print_dialog_cloud.cc StartsWithASCII(url.path(), cloud_print_url.path(), false) && StartsWithASCII 88 chrome/browser/profile_resetter/automatic_profile_resetter.cc return StartsWithASCII( StartsWithASCII 95 chrome/browser/profile_resetter/automatic_profile_resetter.cc return StartsWithASCII( StartsWithASCII 139 chrome/browser/profiles/profile_io_data.cc !StartsWithASCII(url.path(), bundled_path_prefix, false)) { StartsWithASCII 744 chrome/browser/safe_browsing/protocol_manager.cc if (!StartsWithASCII(url, "http://", false) && StartsWithASCII 745 chrome/browser/safe_browsing/protocol_manager.cc !StartsWithASCII(url, "https://", false)) { StartsWithASCII 747 chrome/browser/safe_browsing/protocol_manager.cc if (StartsWithASCII(url_prefix_, "https://", false)) StartsWithASCII 175 chrome/browser/search/local_ntp_source.cc DCHECK(StartsWithASCII(request->url().path(), "/", true)); StartsWithASCII 845 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), StartsWithASCII 1261 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc StartsWithASCII(syncer::SyncDataLocal(out[0].sync_data()).GetTag(), StartsWithASCII 1269 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc StartsWithASCII(syncer::SyncDataLocal(out[1].sync_data()).GetTag(), StartsWithASCII 1325 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), StartsWithASCII 1433 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc EXPECT_TRUE(StartsWithASCII(syncer::SyncDataLocal(data).GetTag(), StartsWithASCII 123 chrome/browser/sync/test/integration/extensions_helper.cc if (!StartsWithASCII(name, extension_name_prefix, true) || StartsWithASCII 50 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (StartsWithASCII(str, prefix, true)) StartsWithASCII 228 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (StartsWithASCII(key, kFileMetadataKeyPrefix, true)) { StartsWithASCII 242 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (StartsWithASCII(key, kFileTrackerKeyPrefix, true)) { StartsWithASCII 26 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(str, prefix, true)) StartsWithASCII 56 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc DCHECK(!StartsWithASCII(resource_id, kWapiFileIdPrefix, true)); StartsWithASCII 57 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc DCHECK(!StartsWithASCII(resource_id, kWapiFolderIdPrefix, true)); StartsWithASCII 60 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc StartsWithASCII(resource_id, kWapiFileIdPrefix, true) || StartsWithASCII 61 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc StartsWithASCII(resource_id, kWapiFolderIdPrefix, true)) StartsWithASCII 67 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc DCHECK(!StartsWithASCII(resource_id, kWapiFileIdPrefix, true)); StartsWithASCII 68 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc DCHECK(!StartsWithASCII(resource_id, kWapiFolderIdPrefix, true)); StartsWithASCII 71 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc StartsWithASCII(resource_id, kWapiFileIdPrefix, true) || StartsWithASCII 72 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc StartsWithASCII(resource_id, kWapiFolderIdPrefix, true)) StartsWithASCII 90 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(resource_id, kWapiFileIdPrefix, true)) StartsWithASCII 92 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(resource_id, kWapiFolderIdPrefix, true)) StartsWithASCII 147 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (!StartsWithASCII(key, kDriveMetadataKeyPrefix, true)) StartsWithASCII 208 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(key, kSyncRootDirectoryKey, true)) { StartsWithASCII 214 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(key, kDriveMetadataKeyPrefix, true)) { StartsWithASCII 228 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(key, kDriveBatchSyncOriginKeyPrefix, true)) { StartsWithASCII 234 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(key, kDriveIncrementalSyncOriginKeyPrefix, true)) { StartsWithASCII 240 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc if (StartsWithASCII(key, kDriveDisabledOriginKeyPrefix, true)) { StartsWithASCII 298 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc EXPECT_FALSE(StartsWithASCII(kDriveBatchSyncOriginKeyPrefix, StartsWithASCII 81 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (StartsWithASCII(str, prefix, true)) StartsWithASCII 216 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (StartsWithASCII(key, kDriveMetadataKeyPrefix, true)) { StartsWithASCII 236 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (StartsWithASCII(key, kDriveIncrementalSyncOriginKeyPrefix, true)) { StartsWithASCII 249 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (StartsWithASCII(key, kDriveDisabledOriginKeyPrefix, true)) { StartsWithASCII 1271 chrome/browser/ui/browser_navigator_browsertest.cc EXPECT_TRUE(StartsWithASCII( StartsWithASCII 118 chrome/browser/ui/prefs/prefs_tab_helper.cc DCHECK(StartsWithASCII(map_name, "webkit.webprefs.", true)); StartsWithASCII 311 chrome/browser/ui/prefs/prefs_tab_helper.cc StartsWithASCII(pref_name, "webkit.webprefs.", true)); StartsWithASCII 61 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc ASSERT_TRUE(StartsWithASCII(test_info->name(), "MANUAL_", true) || StartsWithASCII 62 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc StartsWithASCII(test_info->name(), "DISABLED_", true)); StartsWithASCII 388 chrome/browser/ui/sync/one_click_signin_helper.cc StartsWithASCII(hostname, "accounts.", false); StartsWithASCII 129 chrome/browser/ui/webui/devtools_ui.cc if (StartsWithASCII(path, bundled_path_prefix, false)) { StartsWithASCII 138 chrome/browser/ui/webui/devtools_ui.cc if (StartsWithASCII(path, remote_path_prefix, false)) { StartsWithASCII 73 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc !StartsWithASCII( StartsWithASCII 87 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc DCHECK(StartsWithASCII(path, prefix, false)) << "path is " << path; StartsWithASCII 52 chrome/common/chrome_version_info_posix.cc } else if (StartsWithASCII(channel, "beta ", true)) { StartsWithASCII 54 chrome/common/chrome_version_info_posix.cc } else if (StartsWithASCII(channel, "dev ", true)) { StartsWithASCII 56 chrome/common/chrome_version_info_posix.cc } else if (StartsWithASCII(channel, "canary ", true)) { StartsWithASCII 144 chrome/common/content_settings_pattern_parser.cc } else if (StartsWithASCII(host, kDomainWildcard, true)) { StartsWithASCII 235 chrome/common/crash_keys.cc return StartsWithASCII(flag, "--channel=", true) || StartsWithASCII 238 chrome/common/crash_keys.cc StartsWithASCII(flag, "--type=", true) || StartsWithASCII 241 chrome/common/crash_keys.cc StartsWithASCII(flag, "--flash-broker=", true) || StartsWithASCII 244 chrome/common/crash_keys.cc StartsWithASCII(flag, "/prefetch:", true) || StartsWithASCII 248 chrome/common/crash_keys.cc StartsWithASCII(flag, "--plugin-path=", true) || StartsWithASCII 251 chrome/common/crash_keys.cc StartsWithASCII(flag, "--force-fieldtrials=", true) || StartsWithASCII 199 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc if (!StartsWithASCII(filter, StartsWithASCII 84 chrome/common/extensions/extension_constants.cc return StartsWithASCII(url.spec(), kExtensionBlocklistUrlPrefix, true) || StartsWithASCII 85 chrome/common/extensions/extension_constants.cc StartsWithASCII(url.spec(), kExtensionBlocklistHttpsUrlPrefix, true); StartsWithASCII 98 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc if (StartsWithASCII(url, kWwwPrefix, false)) StartsWithASCII 42 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc EXPECT_TRUE(StartsWithASCII( StartsWithASCII 425 chrome/common/net/url_fixer_upper.cc scheme = StartsWithASCII(*text, "ftp.", false) ? StartsWithASCII 518 chrome/common/net/url_fixer_upper.cc if (!StartsWithASCII(text, view_source + view_source, false)) { StartsWithASCII 16 chrome/common/pref_names_util.cc if (!StartsWithASCII(pref_path, kWebKitFontPrefPrefix, true)) StartsWithASCII 1404 chrome/renderer/chrome_content_renderer_client.cc StartsWithASCII(url.path(), "/hangouts/", false)) { StartsWithASCII 538 chrome/renderer/content_settings_observer.cc if (StartsWithASCII(frame_gurl.path(), kGoogleSupportPathPrefix, false)) { StartsWithASCII 540 chrome/renderer/content_settings_observer.cc } else if (StartsWithASCII(frame_gurl.path(), StartsWithASCII 549 chrome/renderer/content_settings_observer.cc if (StartsWithASCII(frame_gurl.path(), kGoogleReaderPathPrefix, false)) StartsWithASCII 595 chrome/renderer/content_settings_observer.cc if (StartsWithASCII(frame_gurl.path(), kGoogleSupportPathPrefix, false)) { StartsWithASCII 597 chrome/renderer/content_settings_observer.cc } else if (StartsWithASCII(frame_gurl.path(), StartsWithASCII 606 chrome/renderer/content_settings_observer.cc if (StartsWithASCII(frame_gurl.path(), kGoogleReaderPathPrefix, false)) StartsWithASCII 42 chrome/renderer/extensions/app_bindings.cc return StartsWithASCII(url_spec, checkout_url_prefix, false); StartsWithASCII 40 chrome/renderer/extensions/extension_localization_peer.cc StartsWithASCII(mime_type, "text/css", false)) ? StartsWithASCII 163 chrome/renderer/extensions/webstore_bindings.cc !StartsWithASCII( StartsWithASCII 234 chrome/renderer/page_load_histograms.cc if (!StartsWithASCII(referrer.host(), "www.google.", true)) StartsWithASCII 236 chrome/renderer/page_load_histograms.cc if (StartsWithASCII(referrer.path(), "/url", true)) StartsWithASCII 241 chrome/renderer/page_load_histograms.cc StartsWithASCII(referrer.path(), "/search", true) || StartsWithASCII 242 chrome/renderer/page_load_histograms.cc StartsWithASCII(referrer.path(), "/webhp", true); StartsWithASCII 244 chrome/renderer/page_load_histograms.cc !StartsWithASCII(url.host(), "www.google", true)) StartsWithASCII 418 chrome/service/cloud_print/cloud_print_connector.cc StartsWithASCII(tag, kCloudPrintServiceTagsHashTagName, false)) { StartsWithASCII 133 chrome/test/base/tracing.cc DCHECK(StartsWithASCII(*json_trace_output, preamble, true)); StartsWithASCII 26 chrome/test/chromedriver/chrome/performance_logger.cc if (StartsWithASCII(method, kDomains[i_domain], true /* case_sensitive */)) StartsWithASCII 150 chrome/test/chromedriver/chrome/web_view_impl.cc if (StartsWithASCII(url, "javascript:", false)) StartsWithASCII 550 chrome/test/chromedriver/server/http_handler.cc if (!StartsWithASCII(path, url_base_, true)) { StartsWithASCII 120 chrome/utility/importer/bookmark_html_reader.cc while (StartsWithASCII(line, kHrTag, false)) { StartsWithASCII 192 chrome/utility/importer/bookmark_html_reader.cc if (StartsWithASCII(line, "<DL>", false)) { StartsWithASCII 203 chrome/utility/importer/bookmark_html_reader.cc } else if (StartsWithASCII(line, "</DL>", false)) { StartsWithASCII 245 chrome/utility/importer/bookmark_html_reader.cc if (StartsWithASCII(line, "<META", false) && StartsWithASCII 269 chrome/utility/importer/bookmark_html_reader.cc if (!StartsWithASCII(line, kFolderOpen, true)) StartsWithASCII 328 chrome/utility/importer/bookmark_html_reader.cc if (!StartsWithASCII(line, kItemOpen, true)) StartsWithASCII 404 chrome/utility/importer/bookmark_html_reader.cc if (!StartsWithASCII(line, kItemOpen, false)) StartsWithASCII 87 chrome/utility/media_galleries/media_metadata_parser.cc if (StartsWithASCII(mime_type_, "audio/", true) || StartsWithASCII 88 chrome/utility/media_galleries/media_metadata_parser.cc StartsWithASCII(mime_type_, "video/", true)) { StartsWithASCII 95 chrome/utility/media_galleries/picasa_album_table_reader.cc !StartsWithASCII(token, kAlbumTokenPrefix, false)) { StartsWithASCII 55 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc DCHECK(StartsWithASCII( StartsWithASCII 53 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc DCHECK(StartsWithASCII( StartsWithASCII 32 chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc DCHECK(StartsWithASCII( StartsWithASCII 32 chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc DCHECK(StartsWithASCII( StartsWithASCII 376 chromeos/dbus/fake_shill_service_client.cc if (StartsWithASCII(property, "Provider.", case_sensitive) || StartsWithASCII 377 chromeos/dbus/fake_shill_service_client.cc StartsWithASCII(property, "OpenVPN.", case_sensitive) || StartsWithASCII 378 chromeos/dbus/fake_shill_service_client.cc StartsWithASCII(property, "L2TPIPsec.", case_sensitive)) { StartsWithASCII 444 chromeos/dbus/session_manager_client.cc const bool success = StartsWithASCII(result_string, "success", false); StartsWithASCII 456 chromeos/dbus/session_manager_client.cc const bool success = StartsWithASCII(result_string, "success", false); StartsWithASCII 265 chromeos/disks/disk_mount_manager.cc if (StartsWithASCII(it->second.source_path, mount_path, StartsWithASCII 570 chromeos/disks/disk_mount_manager.cc bool success = !StartsWithASCII(received_path, "!", true); StartsWithASCII 596 chromeos/disks/disk_mount_manager.cc if (StartsWithASCII(system_path, prefix, true)) StartsWithASCII 77 chromeos/ime/extension_ime_util.cc if (migrate && StartsWithASCII(keyboard_layout_id, "xkb:", true)) StartsWithASCII 83 chromeos/ime/extension_ime_util.cc return StartsWithASCII(input_method_id, StartsWithASCII 89 chromeos/ime/extension_ime_util.cc return StartsWithASCII(input_method_id, StartsWithASCII 96 chromeos/ime/extension_ime_util.cc return StartsWithASCII(input_method_id, StartsWithASCII 102 chromeos/ime/extension_ime_util.cc return StartsWithASCII(input_method_id, kPublicExtensionXkbIdPrefix, true) || StartsWithASCII 103 chromeos/ime/extension_ime_util.cc StartsWithASCII(input_method_id, kInternalExtensionXkbIdPrefix, true); StartsWithASCII 29 chromeos/settings/cros_settings_provider.cc !::StartsWithASCII(path, "cros.session.", true)) { StartsWithASCII 205 cloud_print/service/service_state.cc if (StartsWithASCII(lines[i], kAuthStart, false)) StartsWithASCII 276 components/autofill/core/browser/autofill_download.cc StartsWithASCII(server_header.c_str(), StartsWithASCII 1074 components/autofill/core/browser/form_structure.cc StartsWithASCII(tokens.back(), kSectionPrefix, true)) { StartsWithASCII 179 components/policy/core/common/preg_parser_win.cc if (!StartsWithASCII(value_name, kActionTriggerPrefix, true)) { StartsWithASCII 195 components/policy/core/common/preg_parser_win.cc } else if (StartsWithASCII(action_trigger, kActionTriggerDeleteKeys, true)) { StartsWithASCII 202 components/policy/core/common/preg_parser_win.cc } else if (StartsWithASCII(action_trigger, kActionTriggerDel, true)) { StartsWithASCII 206 components/policy/core/common/preg_parser_win.cc } else if (StartsWithASCII(action_trigger, kActionTriggerDelVals, true)) { StartsWithASCII 209 components/policy/core/common/preg_parser_win.cc } else if (StartsWithASCII(action_trigger, kActionTriggerSecureKey, true) || StartsWithASCII 210 components/policy/core/common/preg_parser_win.cc StartsWithASCII(action_trigger, kActionTriggerSoft, true)) { StartsWithASCII 265 components/translate/core/browser/translate_language_list.cc if (!StartsWithASCII(language_list, StartsWithASCII 455 components/translate/core/browser/translate_prefs.cc StartsWithASCII(ui_lang, "en-", false); StartsWithASCII 191 components/translate/language_detection/language_detection_util.cc return page_language == "zh" && StartsWithASCII(cld_language, "zh-", false); StartsWithASCII 374 components/translate/language_detection/language_detection_util.cc if (!StartsWithASCII(page_language, "en", false)) StartsWithASCII 110 content/browser/accessibility/dump_accessibility_tree_browsertest.cc if (StartsWithASCII(line, allow_empty_str, true)) { StartsWithASCII 114 content/browser/accessibility/dump_accessibility_tree_browsertest.cc } else if (StartsWithASCII(line, allow_str, true)) { StartsWithASCII 118 content/browser/accessibility/dump_accessibility_tree_browsertest.cc } else if (StartsWithASCII(line, deny_str, true)) { StartsWithASCII 469 content/browser/download/download_stats.cc if (StartsWithASCII(mime_type_string, "text/", true)) { StartsWithASCII 471 content/browser/download/download_stats.cc } else if (StartsWithASCII(mime_type_string, "image/", true)) { StartsWithASCII 474 content/browser/download/download_stats.cc } else if (StartsWithASCII(mime_type_string, "audio/", true)) { StartsWithASCII 476 content/browser/download/download_stats.cc } else if (StartsWithASCII(mime_type_string, "video/", true)) { StartsWithASCII 603 content/browser/fileapi/fileapi_message_filter.cc if (!StartsWithASCII( StartsWithASCII 45 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc bool is_gamepad = StartsWithASCII(node_path, kJoystickRoot, true); StartsWithASCII 263 content/browser/loader/resource_dispatcher_host_browsertest.cc if (!StartsWithASCII(path, request.relative_url, true)) StartsWithASCII 440 content/browser/loader/resource_dispatcher_host_browsertest.cc if (!StartsWithASCII(request.relative_url, request_path, true)) StartsWithASCII 34 content/browser/media/capture/web_contents_capture_util.cc return StartsWithASCII(device_id, kVirtualDeviceScheme, true); StartsWithASCII 31 content/browser/session_history_browsertest.cc if (!StartsWithASCII(request.relative_url, echotitle_path, true)) StartsWithASCII 211 content/browser/tracing/tracing_ui.cc if (StartsWithASCII(path, beginRecordingPath, true)) { StartsWithASCII 249 content/browser/tracing/tracing_ui.cc if (StartsWithASCII(path, "json/", true)) { StartsWithASCII 32 content/browser/webui/shared_resources_data_source.cc if (StartsWithASCII(path, kAppImagesPath, false)) { StartsWithASCII 36 content/browser/webui/shared_resources_data_source.cc } else if (StartsWithASCII(path, kAppImagesPath2x, false)) { StartsWithASCII 718 content/child/blink_platform_impl.cc if (StartsWithASCII(name, "IRC_Composite", true) || StartsWithASCII 719 content/child/blink_platform_impl.cc StartsWithASCII(name, "Composite", true)) StartsWithASCII 470 content/child/npapi/plugin_host.cc if (StartsWithASCII(file_path_ascii, kFileUrlPrefix, false)) { StartsWithASCII 180 content/public/test/test_launcher.cc if (StartsWithASCII(test_info->name(), kManualTestPrefix, true) && StartsWithASCII 185 content/public/test/test_launcher.cc if (StartsWithASCII(test_info->name(), kPreTestPrefix, true)) { StartsWithASCII 758 content/renderer/browser_plugin/browser_plugin.cc if (StartsWithASCII(input, browser_plugin::kPersistPrefix, true)) { StartsWithASCII 1664 content/renderer/render_view_impl.cc if (StartsWithASCII(name, "Move", true) || StartsWithASCII 1665 content/renderer/render_view_impl.cc StartsWithASCII(name, "Insert", true) || StartsWithASCII 1666 content/renderer/render_view_impl.cc StartsWithASCII(name, "Delete", true)) StartsWithASCII 181 content/renderer/savable_resources.cc !StartsWithASCII(value.utf8(), "javascript:", false)) StartsWithASCII 17 dbus/string_util.cc if (!StartsWithASCII(value, "/", kCaseSensitive)) StartsWithASCII 68 extensions/common/csp_validator.cc StartsWithASCII(source, "http://127.0.0.1:", false) || StartsWithASCII 69 extensions/common/csp_validator.cc StartsWithASCII(source, "http://localhost:", false) || StartsWithASCII 70 extensions/common/csp_validator.cc StartsWithASCII(source, "https://", true) || StartsWithASCII 71 extensions/common/csp_validator.cc StartsWithASCII(source, "chrome://", true) || StartsWithASCII 72 extensions/common/csp_validator.cc StartsWithASCII(source, "chrome-extension://", true) || StartsWithASCII 73 extensions/common/csp_validator.cc StartsWithASCII(source, "chrome-extension-resource:", true)) { StartsWithASCII 175 extensions/common/extension.cc DCHECK(StartsWithASCII(ret_val.spec(), extension_url.spec(), false)); StartsWithASCII 226 extensions/common/extension.cc if (StartsWithASCII(working, kKeyBeginHeaderMarker, true)) { StartsWithASCII 61 extensions/common/permissions/permissions_info.cc return StartsWithASCII(i->first, name + '.', true); StartsWithASCII 253 google_apis/drive/gdata_wapi_parser.cc if (StartsWithASCII(rel.as_string(), kOpenWithPrefixStr, false)) { StartsWithASCII 276 google_apis/drive/gdata_wapi_parser.cc StartsWithASCII(rel.as_string(), kOpenWithPrefix, false)) { StartsWithASCII 563 google_apis/drive/gdata_wapi_parser.cc if (!StartsWithASCII(term, kTermPrefix, false)) { StartsWithASCII 31 google_apis/drive/test_util.cc if (!StartsWithASCII(input, prefix, true /* case sensitive */)) StartsWithASCII 90 google_apis/gaia/fake_gaia.cc if (StartsWithASCII(auth_header_entry->second, auth_token_prefix, true)) { StartsWithASCII 453 google_apis/gaia/gaia_auth_fetcher.cc if (StartsWithASCII( StartsWithASCII 225 gpu/command_buffer/service/feature_info.cc feature_flags_.is_angle = StartsWithASCII(renderer_str, "ANGLE", true); StartsWithASCII 284 gpu/config/gpu_control_list.cc return StartsWithASCII(my_value, value_, false); StartsWithASCII 56 gpu/config/gpu_info_collector_x11.cc if (StartsWithASCII(line, "ReleaseVersion=", true)) { StartsWithASCII 247 gpu/config/gpu_info_collector_x11.cc if (StartsWithASCII(gl_version_string, "OpenGL ES", true)) StartsWithASCII 132 gpu/config/gpu_test_expectations_parser.cc if (StartsWithASCII(word, "//", false)) StartsWithASCII 134 gpu/config/gpu_test_expectations_parser.cc if (StartsWithASCII(word, "0x", false)) StartsWithASCII 179 media/base/android/media_codec_bridge.cc return StartsWithASCII(codecs_info[i].name, "OMX.google.", true); StartsWithASCII 172 media/base/android/media_player_bridge.cc if (StartsWithASCII(url, data_uri_prefix, true)) { StartsWithASCII 401 media/filters/source_buffer_stream_unittest.cc if (StartsWithASCII(timestamps[i], "S(", true)) { StartsWithASCII 650 net/base/mime_util.cc if (StartsWithASCII(type_string, legal_top_level_types[i], false) && StartsWithASCII 664 net/base/mime_util.cc if (StartsWithASCII(type_string, "x-", false)) StartsWithASCII 879 net/base/mime_util.cc if (StartsWithASCII(mappings[i].mime_type, leading_mime_type, false)) { StartsWithASCII 984 net/base/mime_util.cc if (StartsWithASCII(mime_type, kIanaMediaTypes[i].matcher, true)) { StartsWithASCII 1732 net/base/net_util.cc !StartsWithASCII(url.possibly_invalid_spec(), kViewSourceTwice, false)) { StartsWithASCII 1758 net/base/net_util.cc !StartsWithASCII(url.host(), kFTP, true); StartsWithASCII 253 net/dns/host_resolver_impl.cc return StartsWithASCII(group_name, "AsyncDnsNoFallback", false); StartsWithASCII 269 net/filter/filter.cc if (StartsWithASCII(mime_type, kTextHtml, false)) { StartsWithASCII 40 net/http/http_auth_cache.cc (!container.empty() && StartsWithASCII(path, container, true))); StartsWithASCII 110 net/http/http_response_headers.cc if (StartsWithASCII(std::string(name_begin, name_end), StartsWithASCII 332 net/http/http_util.cc if (StartsWithASCII(lower_name, "proxy-", true) || StartsWithASCII 333 net/http/http_util.cc StartsWithASCII(lower_name, "sec-", true)) StartsWithASCII 330 net/proxy/proxy_bypass_rules.cc if (StartsWithASCII(raw, ".", false)) StartsWithASCII 335 net/proxy/proxy_bypass_rules.cc if (use_hostname_suffix_matching && !StartsWithASCII(raw, "*", false)) StartsWithASCII 57 net/proxy/proxy_config_service_linux.cc StartsWithASCII(host, "socks4://", false)) { StartsWithASCII 179 net/server/http_server_unittest.cc ASSERT_TRUE(StartsWithASCII(requests_[0].peer.ToString(), "127.0.0.1", true)); StartsWithASCII 340 net/ssl/ssl_cipher_suite_names.cc StartsWithASCII(cipher_string, "0x", false /* case insensitive */) && StartsWithASCII 246 net/test/embedded_test_server/embedded_test_server.cc DCHECK(StartsWithASCII(relative_url, "/", true /* case_sensitive */)) StartsWithASCII 217 net/websockets/websocket_handshake_handler_test.cc EXPECT_TRUE(StartsWithASCII(response_info.headers->GetStatusLine(), StartsWithASCII 898 remoting/host/remoting_me2me_host.cc !StartsWithASCII(host_owner_, username + std::string("@"), StartsWithASCII 141 remoting/protocol/me2me_host_authenticator_factory.cc !StartsWithASCII(remote_jid, remote_jid_prefix + '/', false)) { StartsWithASCII 425 rlz/lib/rlz_lib.cc if (!StartsWithASCII(response_string, checksum_param, true)) StartsWithASCII 537 rlz/lib/rlz_lib.cc if (StartsWithASCII(response_line, kRlzCgiVariable, true)) { // An RLZ. StartsWithASCII 563 rlz/lib/rlz_lib.cc } else if (StartsWithASCII(response_line, events_variable, true)) { StartsWithASCII 571 rlz/lib/rlz_lib.cc } else if (StartsWithASCII(response_line, stateful_events_variable, true)) { StartsWithASCII 106 rlz/win/lib/machine_deal.cc if (!StartsWithASCII(response_line, response_key, true)) StartsWithASCII 233 sync/notifier/gcm_network_channel_unittest.cc if (StartsWithASCII(header_line, header_name, false)) { StartsWithASCII 50 third_party/zlib/google/zip_reader.cc if (file_path_.IsAbsolute() || StartsWithASCII(file_name_in_zip, "/", false)) StartsWithASCII 133 tools/gn/input_conversion.cc if (StartsWithASCII(input_conversion, kTrimPrefix, true)) { StartsWithASCII 546 ui/base/l10n/l10n_util.cc if (!StartsWithASCII(locale_code, "zh-Han", true)) { StartsWithASCII 1324 ui/base/x/x11_util.cc if (StartsWithASCII(name, "IceWM", true)) StartsWithASCII 38 ui/gl/gl_version_info.cc is_angle = StartsWithASCII(renderer_str, "ANGLE", true); StartsWithASCII 82 webkit/browser/blob/blob_url_request_job_factory.cc if (!StartsWithASCII(request->url().spec(), kPrefix, true)) StartsWithASCII 201 webkit/browser/fileapi/sandbox_directory_database.cc if (StartsWithASCII(key, kChildLookupPrefix, true)) { StartsWithASCII 476 webkit/browser/fileapi/sandbox_directory_database.cc StartsWithASCII(iter->key().ToString(), child_key_prefix, true)) { StartsWithASCII 293 webkit/browser/fileapi/sandbox_origin_database.cc StartsWithASCII(iter->key().ToString(), origin_key_prefix, true)) { StartsWithASCII 72 webkit/child/multipart_response_delegate.cc if (StartsWithASCII(boundary, "--", true)) { StartsWithASCII 110 webkit/common/appcache/appcache_interfaces.cc return StartsWithASCII(url.spec(), namespace_url.spec(), true);