pattern 54 base/android/java/src/org/chromium/base/SysUtils.java Pattern pattern = Pattern.compile("^MemTotal:\\s+([0-9]+) kB$"); pattern 67 base/android/java/src/org/chromium/base/SysUtils.java Matcher m = pattern.matcher(line); pattern 110 base/files/file_enumerator.h const FilePath::StringType& pattern); pattern 55 base/files/file_enumerator_posix.cc const FilePath::StringType& pattern) pattern 60 base/files/file_enumerator_posix.cc pattern_(root_path.Append(pattern).value()) { pattern 66 base/files/file_enumerator_posix.cc if (pattern.empty()) pattern 59 base/files/file_enumerator_win.cc const FilePath::StringType& pattern) pattern 63 base/files/file_enumerator_win.cc pattern_(pattern), pattern 718 base/strings/string_util.cc static void EatSameChars(const CHAR** pattern, const CHAR* pattern_end, pattern 722 base/strings/string_util.cc while (*pattern != pattern_end && *string != string_end) { pattern 723 base/strings/string_util.cc if (!escape && IsWildcard(**pattern)) { pattern 730 base/strings/string_util.cc if (!escape && **pattern == '\\') { pattern 731 base/strings/string_util.cc escape = *pattern; pattern 732 base/strings/string_util.cc next(pattern, pattern_end); pattern 737 base/strings/string_util.cc const CHAR* pattern_next = *pattern; pattern 742 base/strings/string_util.cc *pattern = pattern_next; pattern 751 base/strings/string_util.cc *pattern = escape; pattern 761 base/strings/string_util.cc static void EatWildcard(const CHAR** pattern, const CHAR* end, NEXT next) { pattern 762 base/strings/string_util.cc while (*pattern != end) { pattern 763 base/strings/string_util.cc if (!IsWildcard(**pattern)) pattern 765 base/strings/string_util.cc next(pattern, end); pattern 771 base/strings/string_util.cc const CHAR* pattern, const CHAR* pattern_end, pattern 779 base/strings/string_util.cc EatSameChars(&pattern, pattern_end, &eval, eval_end, next); pattern 784 base/strings/string_util.cc EatWildcard(&pattern, pattern_end, next); pattern 785 base/strings/string_util.cc return pattern == pattern_end; pattern 789 base/strings/string_util.cc if (pattern == pattern_end) pattern 794 base/strings/string_util.cc const CHAR* next_pattern = pattern; pattern 796 base/strings/string_util.cc if (pattern[0] == '?') { pattern 809 base/strings/string_util.cc if (pattern[0] == '*') { pattern 824 base/strings/string_util.cc EatWildcard(&pattern, pattern_end, next); pattern 825 base/strings/string_util.cc if (pattern != pattern_end) pattern 855 base/strings/string_util.cc const base::StringPiece& pattern) { pattern 857 base/strings/string_util.cc pattern.data(), pattern.data() + pattern.size(), pattern 861 base/strings/string_util.cc bool MatchPattern(const string16& eval, const string16& pattern) { pattern 863 base/strings/string_util.cc pattern.c_str(), pattern.c_str() + pattern.size(), pattern 491 base/strings/string_util.h const base::StringPiece& pattern); pattern 493 base/strings/string_util.h const base::string16& pattern); pattern 237 base/test/trace_event_analyzer.cc Query Query::Pattern(const std::string& pattern) { pattern 238 base/test/trace_event_analyzer.cc Query query(pattern); pattern 196 base/test/trace_event_analyzer.h static Query Pattern(const std::string& pattern); pattern 23 base/vlog.cc explicit VmodulePattern(const std::string& pattern); pattern 27 base/vlog.cc std::string pattern; pattern 32 base/vlog.cc VlogInfo::VmodulePattern::VmodulePattern(const std::string& pattern) pattern 33 base/vlog.cc : pattern(pattern), pattern 38 base/vlog.cc std::string::size_type first_slash = pattern.find_first_of("\\/"); pattern 71 base/vlog.cc VmodulePattern pattern(it->first); pattern 72 base/vlog.cc if (!base::StringToInt(it->second, &pattern.vlog_level)) { pattern 75 base/vlog.cc << "\" as " << pattern.vlog_level; pattern 77 base/vlog.cc vmodule_levels_.push_back(pattern); pattern 112 base/vlog.cc if (MatchVlogPattern(target, it->pattern)) pattern 71 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java public void bypassHostPattern(String pattern) { pattern 72 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java nativeBypassHostPattern(mNativeDataReductionProxySettings, pattern); pattern 81 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java public void bypassURLPattern(String pattern) { pattern 82 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java nativeBypassURLPattern(mNativeDataReductionProxySettings, pattern); pattern 197 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java long nativeDataReductionProxySettingsAndroid, String pattern); pattern 199 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java long nativeDataReductionProxySettingsAndroid, String pattern); pattern 65 chrome/browser/android/banners/app_banner_settings_helper.cc ContentSettingsPattern pattern(ContentSettingsPattern::FromURL(origin_url)); pattern 66 chrome/browser/android/banners/app_banner_settings_helper.cc if (pattern.IsValid()) { pattern 67 chrome/browser/android/banners/app_banner_settings_helper.cc settings->SetWebsiteSetting(pattern, pattern 88 chrome/browser/android/banners/app_banner_settings_helper.cc ContentSettingsPattern pattern(ContentSettingsPattern::FromURL(origin_url)); pattern 89 chrome/browser/android/banners/app_banner_settings_helper.cc if (!settings || !pattern.IsValid()) pattern 107 chrome/browser/android/banners/app_banner_settings_helper.cc settings->SetWebsiteSetting(pattern, pattern 452 chrome/browser/chromeos/attestation/platform_verification_flow.cc ContentSettingsPattern pattern = builder->Build(); pattern 453 chrome/browser/chromeos/attestation/platform_verification_flow.cc if (pattern.IsValid()) { pattern 457 chrome/browser/chromeos/attestation/platform_verification_flow.cc pattern, pattern 458 chrome/browser/chromeos/attestation/platform_verification_flow.cc pattern, pattern 185 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc ContentSettingsPattern pattern = pattern 189 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc map.SetValue(pattern, pattern 209 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc EXPECT_EQ(pattern, rule.primary_pattern); pattern 366 chrome/browser/content_settings/content_settings_policy_provider.cc ContentSettingsPattern pattern = pattern 369 chrome/browser/content_settings/content_settings_policy_provider.cc if (!pattern.IsValid()) { pattern 371 chrome/browser/content_settings/content_settings_policy_provider.cc " Invalid content settings pattern: " << pattern; pattern 375 chrome/browser/content_settings/content_settings_policy_provider.cc value_map->SetValue(pattern, pattern 109 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc ContentSettingsPattern pattern = pattern 113 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc OnContentSettingChanged(pattern, pattern 121 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc pattern, pattern 167 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc ContentSettingsPattern pattern = pattern 170 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc pattern, pattern 171 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc pattern, pattern 359 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc ContentSettingsPattern pattern = pattern 370 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc pattern, pattern 371 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc pattern, pattern 15 chrome/browser/content_settings/content_settings_provider_unittest.cc ContentSettingsPattern pattern = pattern 21 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 22 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 64 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 65 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 79 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 80 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 94 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 95 chrome/browser/content_settings/content_settings_provider_unittest.cc pattern, pattern 80 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 86 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 95 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 109 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 118 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 127 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 188 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 199 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 205 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 358 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 367 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 400 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 411 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 423 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 438 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 446 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 461 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 473 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 492 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 504 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 523 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 535 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 623 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 636 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 650 chrome/browser/content_settings/host_content_settings_map_unittest.cc otr_map->SetContentSetting(pattern, pattern 765 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 768 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 805 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 809 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 900 chrome/browser/content_settings/host_content_settings_map_unittest.cc ContentSettingsPattern pattern = pattern 903 chrome/browser/content_settings/host_content_settings_map_unittest.cc pattern, pattern 206 chrome/browser/download/download_query.cc RE2* pattern, pattern 209 chrome/browser/download/download_query.cc return RE2::PartialMatch(accessor.Run(item), *pattern); pattern 218 chrome/browser/download/download_query.cc scoped_ptr<RE2> pattern(new RE2(regex_str)); pattern 219 chrome/browser/download/download_query.cc if (!pattern->ok()) return DownloadQuery::FilterCallback(); pattern 220 chrome/browser/download/download_query.cc return base::Bind(&FindRegex, base::Owned(pattern.release()), pattern 153 chrome/browser/download/download_request_limiter.cc ContentSettingsPattern pattern( pattern 155 chrome/browser/download/download_request_limiter.cc if (!settings || !pattern.IsValid()) pattern 158 chrome/browser/download/download_request_limiter.cc pattern, pattern 50 chrome/browser/extensions/active_tab_permission_granter.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); pattern 52 chrome/browser/extensions/active_tab_permission_granter.cc if (pattern.Parse(web_contents()->GetURL().spec()) == pattern 54 chrome/browser/extensions/active_tab_permission_granter.cc new_hosts.AddPattern(pattern); pattern 109 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc ContentSettingsPattern pattern = builder->Build(); pattern 110 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc if (!pattern.IsValid()) pattern 112 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc return pattern; pattern 125 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ContentSettingsPattern pattern = pattern 129 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 130 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 150 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 151 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 202 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc ContentSettingsPattern pattern = pattern 205 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 206 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc pattern, pattern 215 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[0], pattern, pattern, CONTENT_SETTING_ALLOW); pattern 235 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc CheckRule(rules[1], pattern, pattern, CONTENT_SETTING_ALLOW); pattern 44 chrome/browser/extensions/api/content_settings/content_settings_unittest.cc ContentSettingsPattern pattern = helpers::ParseExtensionPattern( pattern 46 chrome/browser/extensions/api/content_settings/content_settings_unittest.cc EXPECT_FALSE(pattern.IsValid()); pattern 751 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc return from_pattern_->pattern() == casted_other->from_pattern_->pattern() && pattern 165 chrome/browser/extensions/api/image_writer_private/test_utils.cc const int pattern, pattern 168 chrome/browser/extensions/api/image_writer_private/test_utils.cc memset(buffer.get(), pattern, length); pattern 106 chrome/browser/extensions/api/image_writer_private/test_utils.h const int pattern, pattern 116 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); pattern 117 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc URLPattern::ParseResult result = pattern.Parse(pattern_string); pattern 126 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc if (pattern.match_all_urls() || pattern.match_subdomains()) { pattern 131 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc allowed_origins_.AddPattern(pattern); pattern 22 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 24 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 18 chrome/browser/extensions/api/permissions/permissions_apitest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 20 chrome/browser/extensions/api/permissions/permissions_apitest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 281 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc ContentSettingsPattern pattern = pattern 284 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc pattern, pattern, pattern 218 chrome/browser/extensions/api/web_request/form_data_parser.cc const RE2& pattern); pattern 378 chrome/browser/extensions/api/web_request/form_data_parser.cc bool success = RE2::ConsumeN(&source_, pattern(), args_, args_size_); pattern 438 chrome/browser/extensions/api/web_request/form_data_parser.cc const RE2& pattern) { pattern 439 chrome/browser/extensions/api/web_request/form_data_parser.cc return pattern.Match(input, 0, input.size(), RE2::ANCHOR_START, NULL, 0); pattern 560 chrome/browser/extensions/api/web_request/web_request_api.cc URLPattern pattern( pattern 565 chrome/browser/extensions/api/web_request/web_request_api.cc pattern.Parse(url) != URLPattern::PARSE_SUCCESS) { pattern 570 chrome/browser/extensions/api/web_request/web_request_api.cc urls.AddPattern(pattern); pattern 25 chrome/browser/extensions/convert_user_script_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 27 chrome/browser/extensions/convert_user_script_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 405 chrome/browser/extensions/crx_installer.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); pattern 406 chrome/browser/extensions/crx_installer.cc pattern.SetHost(download_url_.host()); pattern 407 chrome/browser/extensions/crx_installer.cc pattern.SetMatchSubdomains(true); pattern 412 chrome/browser/extensions/crx_installer.cc if (!pattern.MatchesHost(i->host())) { pattern 37 chrome/browser/extensions/extension_prefs_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 39 chrome/browser/extensions/extension_prefs_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 215 chrome/browser/extensions/extension_service_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 217 chrome/browser/extensions/extension_service_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 334 chrome/browser/extensions/extension_special_storage_policy_unittest.cc ContentSettingsPattern pattern = pattern 337 chrome/browser/extensions/extension_special_storage_policy_unittest.cc cookie_settings->SetCookieSetting(pattern, pattern 344 chrome/browser/extensions/extension_special_storage_policy_unittest.cc cookie_settings->ResetCookieSetting(pattern, pattern 109 chrome/browser/extensions/menu_manager.cc std::string pattern; pattern 110 chrome/browser/extensions/menu_manager.cc if (!list->GetString(i, &pattern)) pattern 112 chrome/browser/extensions/menu_manager.cc out->push_back(pattern); pattern 102 chrome/browser/extensions/permissions_updater_unittest.cc void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 104 chrome/browser/extensions/permissions_updater_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 226 chrome/browser/extensions/policy_handlers.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 227 chrome/browser/extensions/policy_handlers.cc if (pattern.Parse(url_pattern_string) != URLPattern::PARSE_SUCCESS) { pattern 124 chrome/browser/extensions/user_script_master.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); pattern 125 chrome/browser/extensions/user_script_master.cc if (URLPattern::PARSE_SUCCESS != pattern.Parse(value)) pattern 127 chrome/browser/extensions/user_script_master.cc script->add_url_pattern(pattern); pattern 27 chrome/browser/extensions/user_script_master_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 29 chrome/browser/extensions/user_script_master_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 81 chrome/browser/managed_mode/managed_mode_site_list.cc std::string pattern; pattern 82 chrome/browser/managed_mode/managed_mode_site_list.cc if (!(*whitelist_it)->GetAsString(&pattern)) { pattern 87 chrome/browser/managed_mode/managed_mode_site_list.cc patterns->push_back(pattern); pattern 60 chrome/browser/managed_mode/managed_mode_url_filter.cc bool AddPattern(const std::string& pattern, int site_id); pattern 86 chrome/browser/managed_mode/managed_mode_url_filter.cc bool FilterBuilder::AddPattern(const std::string& pattern, int site_id) { pattern 96 chrome/browser/managed_mode/managed_mode_url_filter.cc callback, pattern, &scheme, &host, &match_subdomains, &port, &path)) { pattern 97 chrome/browser/managed_mode/managed_mode_url_filter.cc LOG(ERROR) << "Invalid pattern " << pattern; pattern 223 chrome/browser/managed_mode/managed_mode_url_filter.cc const std::string& pattern) { pattern 224 chrome/browser/managed_mode/managed_mode_url_filter.cc std::string trimmed_pattern = pattern; pattern 226 chrome/browser/managed_mode/managed_mode_url_filter.cc if (EndsWith(pattern, ".*", true)) { pattern 75 chrome/browser/managed_mode/managed_mode_url_filter.h const std::string& pattern); pattern 448 chrome/browser/media/media_stream_devices_controller.cc ContentSettingsPattern pattern = pattern 450 chrome/browser/media/media_stream_devices_controller.cc if (pattern == ContentSettingsPattern::Wildcard()) { pattern 454 chrome/browser/media/media_stream_devices_controller.cc DLOG_IF(ERROR, !pattern.IsValid()) << "Invalid URL pattern: " << value; pattern 455 chrome/browser/media/media_stream_devices_controller.cc if (pattern.IsValid() && pattern.Matches(request_.security_origin)) pattern 171 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 172 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc if (pattern.Parse(*iter) == URLPattern::PARSE_SUCCESS) { pattern 176 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc pattern.SetValidSchemes(URLPattern::SCHEME_ALL); pattern 177 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc debug_patterns_.push_back(pattern); pattern 172 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const std::string& pattern) { pattern 173 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc bypass_rules_.push_back(pattern); pattern 177 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const std::string& pattern) { pattern 178 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc size_t pos = pattern.find("/"); pattern 179 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc if (pattern.find("/", pos + 1) == pos + 1) pattern 180 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc pos = pattern.find("/", pos + 2); pattern 184 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc host_pattern = pattern.substr(0, pos); pattern 186 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc host_pattern = pattern; pattern 105 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h void AddHostPatternToBypass(const std::string& pattern); pattern 110 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h virtual void AddURLPatternToBypass(const std::string& pattern); pattern 90 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc JNIEnv* env, jobject obj, jstring pattern) { pattern 92 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc ConvertJavaStringToUTF8(env, pattern)); pattern 95 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc JNIEnv* env, jobject obj, jstring pattern) { pattern 96 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc AddURLPatternToBypass(ConvertJavaStringToUTF8(env, pattern)); pattern 100 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc const std::string& pattern) { pattern 102 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc StringPrintf("shExpMatch(%s, '%s')", "url", pattern.c_str())); pattern 35 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h void BypassHostPattern(JNIEnv* env, jobject obj, jstring pattern); pattern 40 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h void BypassURLPattern(JNIEnv* env, jobject obj, jstring pattern); pattern 42 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h virtual void AddURLPatternToBypass(const std::string& pattern) OVERRIDE; pattern 535 chrome/browser/notifications/desktop_notification_service.cc const ContentSettingsPattern& pattern) { pattern 537 chrome/browser/notifications/desktop_notification_service.cc pattern, pattern 147 chrome/browser/notifications/desktop_notification_service.h void ClearSetting(const ContentSettingsPattern& pattern); pattern 464 chrome/browser/notifications/notification_browsertest.cc ContentSettingsPattern pattern = pattern 468 chrome/browser/notifications/notification_browsertest.cc if (it->primary_pattern == pattern) pattern 282 chrome/browser/plugins/plugin_prefs.cc std::set<base::string16>::const_iterator pattern(pattern_set.begin()); pattern 283 chrome/browser/plugins/plugin_prefs.cc while (pattern != pattern_set.end()) { pattern 284 chrome/browser/plugins/plugin_prefs.cc if (MatchPattern(name, *pattern)) pattern 286 chrome/browser/plugins/plugin_prefs.cc ++pattern; pattern 33 chrome/browser/profile_resetter/jtl_instructions.h #define OP_COMPARE_NODE_SUBSTRING(pattern, pattern_length, pattern_sum) \ pattern 34 chrome/browser/profile_resetter/jtl_instructions.h std::string(1, '\x25') + pattern + pattern_length + pattern_sum pattern 499 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc std::string pattern; pattern 520 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc std::string pattern = cases[i].pattern; pattern 522 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc pattern.begin(), pattern.end(), static_cast<uint32>(0u)); pattern 525 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc OP_COMPARE_NODE_SUBSTRING(GetHash(pattern), pattern 526 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc EncodeUint32(pattern.size()), pattern 488 chrome/browser/profile_resetter/profile_resetter_unittest.cc ContentSettingsPattern pattern = pattern 527 chrome/browser/profile_resetter/profile_resetter_unittest.cc pattern, pattern 100 chrome/browser/profiles/profile_manager.cc const base::FilePath::StringType& pattern) { pattern 103 chrome/browser/profiles/profile_manager.cc pattern); pattern 75 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc static URLPatternSet CreatePatternSet(const std::string& pattern) { pattern 77 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc target.Parse(pattern); pattern 482 chrome/browser/search_engines/template_url.cc GURL pattern(ReplaceSearchTermsUsingTermsData( pattern 485 chrome/browser/search_engines/template_url.cc if (url.port() != pattern.port() || pattern 391 chrome/browser/ui/fullscreen/fullscreen_controller.cc ContentSettingsPattern pattern = ContentSettingsPattern::FromURL(url); pattern 396 chrome/browser/ui/fullscreen/fullscreen_controller.cc if (pattern.IsValid()) { pattern 398 chrome/browser/ui/fullscreen/fullscreen_controller.cc pattern, ContentSettingsPattern::Wildcard(), pattern 415 chrome/browser/ui/fullscreen/fullscreen_controller.cc if (pattern.IsValid()) { pattern 417 chrome/browser/ui/fullscreen/fullscreen_controller.cc pattern, ContentSettingsPattern::Wildcard(), pattern 112 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc ContentSettingsPattern pattern = pattern 115 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc pattern, ContentSettingsPattern::Wildcard(), pattern 134 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc pattern, ContentSettingsPattern::Wildcard(), pattern 148 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc pattern, ContentSettingsPattern::Wildcard(), pattern 1161 chrome/browser/ui/gtk/gtk_theme_service.cc cairo_pattern_t* pattern = pattern 1166 chrome/browser/ui/gtk/gtk_theme_service.cc pattern, 0.0, pattern 1169 chrome/browser/ui/gtk/gtk_theme_service.cc pattern, 0.5, pattern 1172 chrome/browser/ui/gtk/gtk_theme_service.cc pattern, 1.0, pattern 1174 chrome/browser/ui/gtk/gtk_theme_service.cc cairo_set_source(cr, pattern); pattern 1183 chrome/browser/ui/gtk/gtk_theme_service.cc cairo_pattern_destroy(pattern); pattern 295 chrome/browser/ui/gtk/infobars/infobar_gtk.cc cairo_pattern_t* pattern = cairo_pattern_create_linear(0, 0, 0, height); pattern 299 chrome/browser/ui/gtk/infobars/infobar_gtk.cc cairo_pattern_add_color_stop_rgb(pattern, 0.0, top_r, top_g, top_b); pattern 304 chrome/browser/ui/gtk/infobars/infobar_gtk.cc pattern, 1.0, bottom_r, bottom_g, bottom_b); pattern 305 chrome/browser/ui/gtk/infobars/infobar_gtk.cc cairo_set_source(cr, pattern); pattern 307 chrome/browser/ui/gtk/infobars/infobar_gtk.cc cairo_pattern_destroy(pattern); pattern 1687 chrome/browser/ui/gtk/location_bar_view_gtk.cc cairo_pattern_t* pattern = cairo_pattern_create_linear(0, 0, 0, height); pattern 1692 chrome/browser/ui/gtk/location_bar_view_gtk.cc pattern, 0.0, pattern 1697 chrome/browser/ui/gtk/location_bar_view_gtk.cc pattern, 1.0, pattern 1702 chrome/browser/ui/gtk/location_bar_view_gtk.cc cairo_set_source(cr, pattern); pattern 1704 chrome/browser/ui/gtk/location_bar_view_gtk.cc cairo_pattern_destroy(pattern); pattern 230 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc void SetAllowedUsernamePattern(const std::string& pattern); pattern 309 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc const std::string& pattern) { pattern 311 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc local_state->SetString(prefs::kGoogleServicesUsernamePattern, pattern); pattern 166 chrome/browser/ui/webui/options/content_settings_handler.cc const ContentSettingsPattern& pattern, pattern 171 chrome/browser/ui/webui/options/content_settings_handler.cc exception->SetString(kOrigin, pattern.ToString()); pattern 199 chrome/browser/ui/webui/options/content_settings_handler.cc const ContentSettingsPattern& pattern, pattern 204 chrome/browser/ui/webui/options/content_settings_handler.cc exception->SetString(kOrigin, pattern.ToString()); pattern 247 chrome/browser/ui/webui/options/content_settings_handler.cc for (extensions::URLPatternSet::const_iterator pattern = web_extent.begin(); pattern 248 chrome/browser/ui/webui/options/content_settings_handler.cc pattern != web_extent.end(); ++pattern) { pattern 249 chrome/browser/ui/webui/options/content_settings_handler.cc std::string url_pattern = pattern->GetAsString(); pattern 1181 chrome/browser/ui/webui/options/content_settings_handler.cc std::string pattern; pattern 1182 chrome/browser/ui/webui/options/content_settings_handler.cc rv = args->GetString(2, &pattern); pattern 1189 chrome/browser/ui/webui/options/content_settings_handler.cc settings_map->SetWebsiteSetting(ContentSettingsPattern::FromString(pattern), pattern 1194 chrome/browser/ui/webui/options/content_settings_handler.cc settings_map->SetWebsiteSetting(ContentSettingsPattern::FromString(pattern), pattern 1209 chrome/browser/ui/webui/options/content_settings_handler.cc std::string pattern; pattern 1210 chrome/browser/ui/webui/options/content_settings_handler.cc rv = args->GetString(2, &pattern); pattern 1222 chrome/browser/ui/webui/options/content_settings_handler.cc ContentSettingsPattern::FromString(pattern), pattern 1238 chrome/browser/ui/webui/options/content_settings_handler.cc std::string pattern; pattern 1239 chrome/browser/ui/webui/options/content_settings_handler.cc rv = args->GetString(2, &pattern); pattern 1247 chrome/browser/ui/webui/options/content_settings_handler.cc pattern.find(content::kStandardSchemeSeparator); pattern 1249 chrome/browser/ui/webui/options/content_settings_handler.cc host_zoom_map->SetZoomLevelForHost(pattern, default_level); pattern 1251 chrome/browser/ui/webui/options/content_settings_handler.cc std::string scheme = pattern.substr(0, scheme_separator_position); pattern 1252 chrome/browser/ui/webui/options/content_settings_handler.cc std::string host = pattern.substr( pattern 1411 chrome/browser/ui/webui/options/content_settings_handler.cc std::string pattern; pattern 1412 chrome/browser/ui/webui/options/content_settings_handler.cc CHECK(args->GetString(2, &pattern)); pattern 1432 chrome/browser/ui/webui/options/content_settings_handler.cc settings_map->SetContentSetting(ContentSettingsPattern::FromString(pattern), pattern 1449 chrome/browser/ui/webui/options/content_settings_handler.cc ContentSettingsPattern pattern = pattern 1457 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue(pattern.IsValid())); pattern 16 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc return i.pattern.Compare(j.pattern); pattern 36 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc : pattern(in_pattern), pattern 45 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc return pattern == other.pattern && pattern 80 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc ContentSettingsPattern pattern = builder->Build(); pattern 81 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc if (!pattern.IsValid()) pattern 86 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.cc media_exceptions->push_back(MediaException(pattern, setting, setting)); pattern 25 chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.h ContentSettingsPattern pattern; pattern 276 chrome/common/content_settings_pattern.h std::ostream& out, const ContentSettingsPattern& pattern) { pattern 277 chrome/common/content_settings_pattern.h return out << pattern.ToString(); pattern 55 chrome/common/content_settings_pattern_unittest.cc ContentSettingsPattern pattern = ContentSettingsPattern::FromURL( pattern 57 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 58 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("[*.]www.youtube.com", pattern.ToString().c_str()); pattern 61 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("http://www.google.com")); pattern 62 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com"))); pattern 63 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://foo.www.google.com"))); pattern 64 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:80"))); pattern 65 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:81"))); pattern 66 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("https://mail.google.com"))); pattern 67 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("https://www.google.com"))); pattern 69 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("http://www.google.com:80")); pattern 70 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com"))); pattern 71 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:80"))); pattern 72 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com:81"))); pattern 74 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("https://www.google.com:443")); pattern 75 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("https://www.google.com"))); pattern 76 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("https://foo.www.google.com"))); pattern 77 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("https://www.google.com:443"))); pattern 78 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("https://www.google.com:444"))); pattern 79 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("http://www.google.com:443"))); pattern 81 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("https://127.0.0.1")); pattern 82 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 83 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("https://127.0.0.1:443", pattern.ToString().c_str()); pattern 85 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("http://[::1]")); pattern 86 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 88 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("file:///foo/bar.html")); pattern 89 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 90 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("file:///foo/bar.html", pattern.ToString()); pattern 94 chrome/common/content_settings_pattern_unittest.cc ContentSettingsPattern pattern = pattern 96 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 98 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 100 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 102 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 105 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURL(GURL("https://www.google.com")); pattern 106 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 108 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 110 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 112 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches( pattern 119 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); pattern 123 chrome/common/content_settings_pattern_unittest.cc pattern = pattern 126 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("filesystem:file:///temporary/"))); pattern 127 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("filesystem:file:///temporary/test.txt"))); pattern 128 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("file:///temporary"))); pattern 129 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("file://foo/bar"))); pattern 133 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); pattern 145 chrome/common/content_settings_pattern_unittest.cc ContentSettingsPattern pattern = ContentSettingsPattern::FromURLNoWildcard( pattern 147 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 148 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("http://www.example.com:80", pattern.ToString().c_str()); pattern 149 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.example.com"))); pattern 150 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("https://www.example.com"))); pattern 151 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("http://foo.www.example.com"))); pattern 153 chrome/common/content_settings_pattern_unittest.cc pattern = ContentSettingsPattern::FromURLNoWildcard( pattern 155 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 156 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("https://www.example.com:443", pattern.ToString().c_str()); pattern 157 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("http://www.example.com"))); pattern 158 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("https://www.example.com"))); pattern 159 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("http://foo.www.example.com"))); pattern 162 chrome/common/content_settings_pattern_unittest.cc pattern = pattern 165 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.IsValid()); pattern 166 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches(GURL("http://www.google.com"))); pattern 167 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches(GURL("http://foo.www.google.com"))); pattern 168 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(pattern.Matches( pattern 170 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches( pattern 172 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches( pattern 174 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(pattern.Matches( pattern 67 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc void FileBrowserHandler::AddPattern(const URLPattern& pattern) { pattern 68 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc url_set_.AddPattern(pattern); pattern 209 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); pattern 210 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc if (pattern.Parse(filter) != URLPattern::PARSE_SUCCESS) { pattern 215 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc std::string path = pattern.path(); pattern 224 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc result->AddPattern(pattern); pattern 46 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h void AddPattern(const URLPattern& pattern); pattern 120 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc URLPattern pattern(URLPattern::SCHEME_HTTP | pattern 122 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc if (pattern.Parse(str_pattern) != URLPattern::PARSE_SUCCESS) { pattern 127 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc handler.patterns.AddPattern(pattern); pattern 159 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); pattern 160 chrome/common/extensions/manifest_handlers/app_launch_info.cc if (!url.is_valid() || !pattern.SetScheme(url.scheme())) { pattern 181 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); pattern 182 chrome/common/extensions/manifest_handlers/app_launch_info.cc if (!pattern.SetScheme("*")) { pattern 188 chrome/common/extensions/manifest_handlers/app_launch_info.cc pattern.SetHost(launch_web_url_.host()); pattern 189 chrome/common/extensions/manifest_handlers/app_launch_info.cc pattern.SetPath("/*"); pattern 190 chrome/common/extensions/manifest_handlers/app_launch_info.cc extension->AddWebExtentPattern(pattern); pattern 289 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); pattern 290 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern::ParseResult result = pattern.Parse(override_url.spec()); pattern 292 chrome/common/extensions/manifest_handlers/app_launch_info.cc pattern.SetPath(pattern.path() + '*'); pattern 293 chrome/common/extensions/manifest_handlers/app_launch_info.cc extension->AddWebExtentPattern(pattern); pattern 139 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern pattern(UserScript::ValidUserScriptSchemes( pattern 142 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::ParseResult parse_result = pattern.Parse(match_str); pattern 154 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.scheme() != content::kChromeUIScheme) { pattern 159 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.SetValidSchemes( pattern 160 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.valid_schemes() & ~URLPattern::SCHEME_CHROMEUI); pattern 163 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (pattern.MatchesScheme(content::kFileScheme) && pattern 167 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.SetValidSchemes( pattern 168 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); pattern 172 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->add_url_pattern(pattern); pattern 198 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern pattern(valid_schemes); pattern 200 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::ParseResult parse_result = pattern.Parse(match_str); pattern 209 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->add_exclude_url_pattern(pattern); pattern 362 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPatternSet::const_iterator pattern = pattern 364 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc for (; pattern != content_script->url_patterns().end(); ++pattern) pattern 365 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc scriptable_hosts.AddPattern(*pattern); pattern 108 chrome/common/extensions/manifest_handlers/externally_connectable.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 109 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (pattern.Parse(*it) != URLPattern::PARSE_SUCCESS) { pattern 116 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (pattern.host().empty()) { pattern 128 chrome/common/extensions/manifest_handlers/externally_connectable.cc pattern.host(), pattern 146 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (registry_length == 0 && pattern.match_subdomains()) { pattern 151 chrome/common/extensions/manifest_handlers/externally_connectable.cc pattern.host().c_str(), pattern 158 chrome/common/extensions/manifest_handlers/externally_connectable.cc matches.AddPattern(pattern); pattern 218 chrome/common/extensions/manifest_tests/extension_manifest_test.cc const std::string& pattern) { pattern 220 chrome/common/extensions/manifest_tests/extension_manifest_test.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 120 chrome/common/extensions/manifest_tests/extension_manifest_test.h const std::string& pattern); pattern 308 chrome/common/extensions/manifest_url_handler.cc URLPattern pattern(URLPattern::SCHEME_CHROMEUI); pattern 311 chrome/common/extensions/manifest_url_handler.cc if (pattern.Parse(url) != URLPattern::PARSE_SUCCESS) { pattern 316 chrome/common/extensions/manifest_url_handler.cc extension->AddWebExtentPattern(pattern); pattern 31 chrome/common/extensions/permissions/permission_set_unittest.cc static void AddPattern(URLPatternSet* extent, const std::string& pattern) { pattern 33 chrome/common/extensions/permissions/permission_set_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); pattern 10 chrome/common/render_messages.cc Message* m, const ContentSettingsPattern& pattern) { pattern 11 chrome/common/render_messages.cc pattern.WriteToMessage(m); pattern 15 chrome/common/render_messages.cc const Message* m, PickleIterator* iter, ContentSettingsPattern* pattern) { pattern 16 chrome/common/render_messages.cc return pattern->ReadFromMessage(m, iter); pattern 34 chrome/test/mini_installer_test/installer_path_provider.cc const std::string& pattern, pattern 38 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath().AppendASCII(pattern).value()); pattern 60 chrome/test/mini_installer_test/installer_path_provider.cc const std::string& pattern, pattern 64 chrome/test/mini_installer_test/installer_path_provider.cc if (FindMatchingFiles(root, pattern, type, &paths)) { pattern 199 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetInstaller(const std::string& pattern, pattern 214 chrome/test/mini_installer_test/installer_path_provider.cc if (FindNewestMatchingFile(windir, pattern, base::FileEnumerator::FILES, pattern 221 chrome/test/mini_installer_test/installer_path_provider.cc LOG(WARNING) << "Failed to find installer with pattern: " << pattern; pattern 39 chrome/test/mini_installer_test/installer_path_provider.h bool GetInstaller(const std::string& pattern, base::FilePath* path); pattern 37 chrome/utility/image_writer/image_writer_unittest.cc void FillFile(const base::FilePath& path, int pattern) { pattern 39 chrome/utility/image_writer/image_writer_unittest.cc memset(buffer.get(), pattern, kTestFileSize); pattern 96 chromeos/network/client_cert_resolver.cc const CertificatePattern& pattern) pattern 99 chromeos/network/client_cert_resolver.cc client_cert_pattern(pattern) {} pattern 108 chromeos/network/client_cert_resolver.cc explicit MatchCertWithPattern(const NetworkAndCertPattern& pattern) pattern 109 chromeos/network/client_cert_resolver.cc : net_and_pattern(pattern) {} pattern 112 chromeos/network/client_cert_resolver.cc const CertificatePattern& pattern = net_and_pattern.client_cert_pattern; pattern 113 chromeos/network/client_cert_resolver.cc if (!pattern.issuer().Empty() && pattern 114 chromeos/network/client_cert_resolver.cc !client_cert::CertPrincipalMatches(pattern.issuer(), pattern 118 chromeos/network/client_cert_resolver.cc if (!pattern.subject().Empty() && pattern 119 chromeos/network/client_cert_resolver.cc !client_cert::CertPrincipalMatches(pattern.subject(), pattern 124 chromeos/network/client_cert_resolver.cc const std::vector<std::string>& issuer_ca_pems = pattern.issuer_ca_pems(); pattern 109 chromeos/network/client_cert_util.cc bool CertPrincipalMatches(const IssuerSubjectPattern& pattern, pattern 111 chromeos/network/client_cert_util.cc if (!pattern.common_name().empty() && pattern 112 chromeos/network/client_cert_util.cc pattern.common_name() != principal.common_name) { pattern 116 chromeos/network/client_cert_util.cc if (!pattern.locality().empty() && pattern 117 chromeos/network/client_cert_util.cc pattern.locality() != principal.locality_name) { pattern 121 chromeos/network/client_cert_util.cc if (!pattern.organization().empty()) { pattern 124 chromeos/network/client_cert_util.cc pattern.organization()) == pattern 130 chromeos/network/client_cert_util.cc if (!pattern.organizational_unit().empty()) { pattern 133 chromeos/network/client_cert_util.cc pattern.organizational_unit()) == pattern 143 chromeos/network/client_cert_util.cc const CertificatePattern& pattern, pattern 159 chromeos/network/client_cert_util.cc if (!pattern.issuer().Empty()) { pattern 160 chromeos/network/client_cert_util.cc matching_certs.remove_if(IssuerFilter(pattern.issuer())); pattern 165 chromeos/network/client_cert_util.cc if (!pattern.subject().Empty()) { pattern 166 chromeos/network/client_cert_util.cc matching_certs.remove_if(SubjectFilter(pattern.subject())); pattern 171 chromeos/network/client_cert_util.cc if (!pattern.issuer_ca_pems().empty()) { pattern 172 chromeos/network/client_cert_util.cc matching_certs.remove_if(IssuerCaFilter(pattern.issuer_ca_pems())); pattern 42 chromeos/network/client_cert_util.h bool CertPrincipalMatches(const IssuerSubjectPattern& pattern, pattern 48 chromeos/network/client_cert_util.h const CertificatePattern& pattern, pattern 18 chromeos/network/managed_state.cc bool ManagedState::Matches(const NetworkTypePattern& pattern) const { pattern 19 chromeos/network/managed_state.cc return pattern.MatchesType(type()); pattern 78 chromeos/network/managed_state.h bool Matches(const NetworkTypePattern& pattern) const; pattern 164 chromeos/network/network_ui_data.cc CertificatePattern pattern; pattern 165 chromeos/network/network_ui_data.cc bool success = pattern.CopyFromDictionary(onc_object); pattern 167 chromeos/network/network_ui_data.cc ui_data->set_certificate_pattern(pattern); pattern 48 chromeos/network/network_ui_data.h void set_certificate_pattern(const CertificatePattern& pattern) { pattern 49 chromeos/network/network_ui_data.h certificate_pattern_ = pattern; pattern 440 chromeos/network/shill_property_util.cc NetworkTypePattern::NetworkTypePattern(int pattern) : pattern_(pattern) {} pattern 120 chromeos/network/shill_property_util.h explicit NetworkTypePattern(int pattern); pattern 145 components/autofill/core/browser/address_field.cc base::string16 pattern = UTF8ToUTF16(autofill::kAddressLine1Re); pattern 147 components/autofill/core/browser/address_field.cc if (!ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT, &address1_) && pattern 150 components/autofill/core/browser/address_field.cc !ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT | MATCH_TEXT_AREA, pattern 159 components/autofill/core/browser/address_field.cc pattern = UTF8ToUTF16(autofill::kAddressLine2Re); pattern 163 components/autofill/core/browser/address_field.cc !ParseField(scanner, pattern, &address2_)) { pattern 172 components/autofill/core/browser/address_field.cc pattern = UTF8ToUTF16(autofill::kAddressLinesExtraRe); pattern 173 components/autofill/core/browser/address_field.cc while (ParseField(scanner, pattern, NULL)) { pattern 199 components/autofill/core/browser/address_field.cc base::string16 pattern = UTF8ToUTF16(autofill::kZipCodeRe); pattern 200 components/autofill/core/browser/address_field.cc if (!ParseField(scanner, pattern, &zip_)) pattern 25 components/autofill/core/browser/autofill_regexes.cc icu::RegexMatcher* GetMatcher(const base::string16& pattern); pattern 51 components/autofill/core/browser/autofill_regexes.cc icu::RegexMatcher* AutofillRegexes::GetMatcher(const base::string16& pattern) { pattern 52 components/autofill/core/browser/autofill_regexes.cc if (!matchers_.count(pattern)) { pattern 53 components/autofill/core/browser/autofill_regexes.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); pattern 61 components/autofill/core/browser/autofill_regexes.cc matchers_.insert(std::make_pair(pattern, matcher)); pattern 64 components/autofill/core/browser/autofill_regexes.cc return matchers_[pattern]; pattern 72 components/autofill/core/browser/autofill_regexes.cc const base::string16& pattern) { pattern 74 components/autofill/core/browser/autofill_regexes.cc AutofillRegexes::GetInstance()->GetMatcher(pattern); pattern 16 components/autofill/core/browser/autofill_regexes.h const base::string16& pattern); pattern 19 components/autofill/core/browser/autofill_regexes_unittest.cc const char* const pattern; pattern 40 components/autofill/core/browser/autofill_regexes_unittest.cc SCOPED_TRACE(test_case.pattern); pattern 42 components/autofill/core/browser/autofill_regexes_unittest.cc ASCIIToUTF16(test_case.pattern))); pattern 60 components/autofill/core/browser/autofill_regexes_unittest.cc SCOPED_TRACE(test_case.pattern); pattern 62 components/autofill/core/browser/autofill_regexes_unittest.cc ASCIIToUTF16(test_case.pattern))); pattern 85 components/autofill/core/browser/credit_card_field.cc base::string16 pattern = base::UTF8ToUTF16(autofill::kCardCvcRe); pattern 87 components/autofill/core/browser/credit_card_field.cc ParseField(scanner, pattern, &credit_card_field->verification_)) { pattern 91 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kCardNumberRe); pattern 93 components/autofill/core/browser/credit_card_field.cc ParseField(scanner, pattern, &credit_card_field->number_)) { pattern 103 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationMonthRe); pattern 105 components/autofill/core/browser/credit_card_field.cc ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT | MATCH_SELECT, pattern 107 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationYearRe); pattern 108 components/autofill/core/browser/credit_card_field.cc if (ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT | MATCH_SELECT, pattern 118 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationDate2DigitYearRe); pattern 120 components/autofill/core/browser/credit_card_field.cc if (ParseFieldSpecifics(scanner, pattern, pattern 128 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationDateRe); pattern 129 components/autofill/core/browser/credit_card_field.cc if (ParseFieldSpecifics(scanner, pattern, pattern 69 components/autofill/core/browser/form_field.cc const base::string16& pattern, pattern 71 components/autofill/core/browser/form_field.cc return ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT, match); pattern 76 components/autofill/core/browser/form_field.cc const base::string16& pattern, pattern 87 components/autofill/core/browser/form_field.cc return MatchAndAdvance(scanner, pattern, match_type, match); pattern 112 components/autofill/core/browser/form_field.cc const base::string16& pattern, pattern 116 components/autofill/core/browser/form_field.cc if (FormField::Match(field, pattern, match_type)) { pattern 128 components/autofill/core/browser/form_field.cc const base::string16& pattern, pattern 131 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->label, pattern)) { pattern 136 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->name, pattern)) { pattern 141 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->value, pattern)) { pattern 61 components/autofill/core/browser/form_field.h const base::string16& pattern, pattern 70 components/autofill/core/browser/form_field.h const base::string16& pattern, pattern 102 components/autofill/core/browser/form_field.h const base::string16& pattern, pattern 109 components/autofill/core/browser/form_field.h const base::string16& pattern, pattern 772 components/json_schema/json_schema_validator.cc std::string pattern; pattern 773 components/json_schema/json_schema_validator.cc if (schema->GetString(schema::kPattern, &pattern)) { pattern 774 components/json_schema/json_schema_validator.cc re2::RE2 compiled_regex(pattern); pattern 776 components/json_schema/json_schema_validator.cc LOG(WARNING) << "Regular expression /" << pattern pattern 780 components/json_schema/json_schema_validator.cc FormatErrorMessage(kInvalidRegex, pattern, compiled_regex.error()))); pattern 783 components/json_schema/json_schema_validator.cc Error(path, FormatErrorMessage(kStringPattern, pattern))); pattern 43 components/policy/core/browser/browser_policy_connector.cc bool MatchDomain(const base::string16& domain, const base::string16& pattern) { pattern 45 components/policy/core/browser/browser_policy_connector.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); pattern 47 components/policy/core/browser/browser_policy_connector.cc DCHECK(U_SUCCESS(status)) << "Invalid domain pattern: " << pattern; pattern 203 components/policy/core/browser/browser_policy_connector.cc base::string16 pattern = base::WideToUTF16(kNonManagedDomainPatterns[i]); pattern 204 components/policy/core/browser/browser_policy_connector.cc if (MatchDomain(domain, pattern)) pattern 74 components/policy/core/browser/url_blacklist_manager.cc std::string pattern; pattern 75 components/policy/core/browser/url_blacklist_manager.cc bool success = list->GetString(i, &pattern); pattern 79 components/policy/core/browser/url_blacklist_manager.cc if (!FilterToComponents(segment_url_, pattern, &components.scheme, pattern 82 components/policy/core/browser/url_blacklist_manager.cc LOG(ERROR) << "Invalid pattern " << pattern; pattern 283 components/signin/core/browser/signin_manager.cc base::string16 pattern = base::UTF8ToUTF16(policy); pattern 284 components/signin/core/browser/signin_manager.cc if (pattern[0] == L'*') pattern 285 components/signin/core/browser/signin_manager.cc pattern.insert(pattern.begin(), L'.'); pattern 289 components/signin/core/browser/signin_manager.cc const icu::UnicodeString icu_pattern(pattern.data(), pattern.length()); pattern 292 components/signin/core/browser/signin_manager.cc LOG(ERROR) << "Invalid login regex: " << pattern << ", status: " << status; pattern 311 components/signin/core/browser/signin_manager.cc std::string pattern = pattern 313 components/signin/core/browser/signin_manager.cc return IsUsernameAllowedByPolicy(username, pattern); pattern 83 components/url_matcher/regex_set_matcher.cc it->second->pattern(), RE2::DefaultOptions, &re2_id); pattern 91 components/url_matcher/regex_set_matcher.cc << it->second->pattern() << ")"; pattern 9 components/url_matcher/string_pattern.cc StringPattern::StringPattern(const std::string& pattern, pattern 11 components/url_matcher/string_pattern.cc : pattern_(pattern), id_(id) {} pattern 27 components/url_matcher/string_pattern.h StringPattern(const std::string& pattern, ID id); pattern 29 components/url_matcher/string_pattern.h const std::string& pattern() const { return pattern_; } pattern 15 components/url_matcher/string_pattern_unittest.cc EXPECT_EQ("Test", r1.pattern()); pattern 19 components/url_matcher/substring_set_matcher.cc return a->pattern() < b->pattern(); pattern 32 components/url_matcher/substring_set_matcher.cc result += (*last)->pattern().size(); pattern 38 components/url_matcher/substring_set_matcher.cc const std::string& last_pattern = (*last)->pattern(); pattern 39 components/url_matcher/substring_set_matcher.cc const std::string& current_pattern = (*current)->pattern(); pattern 161 components/url_matcher/substring_set_matcher.cc const StringPattern* pattern) { pattern 162 components/url_matcher/substring_set_matcher.cc const std::string& text = pattern->pattern(); pattern 187 components/url_matcher/substring_set_matcher.cc tree_[current_node].AddMatch(pattern->id()); pattern 126 components/url_matcher/substring_set_matcher.h void InsertPatternIntoAhoCorasickTree(const StringPattern* pattern); pattern 18 components/url_matcher/substring_set_matcher_unittest.cc const std::string& pattern, pattern 21 components/url_matcher/substring_set_matcher_unittest.cc "TestOnePattern(" + test_string + ", " + pattern + ", " + pattern 24 components/url_matcher/substring_set_matcher_unittest.cc StringPattern substring_pattern(pattern, 1); pattern 230 components/url_matcher/url_matcher.cc return url.host().find(string_pattern_->pattern()) != pattern 233 components/url_matcher/url_matcher.cc return url.path().find(string_pattern_->pattern()) != pattern 236 components/url_matcher/url_matcher.cc return url.query().find(string_pattern_->pattern()) != pattern 318 components/url_matcher/url_matcher.cc std::string pattern; pattern 320 components/url_matcher/url_matcher.cc pattern = kEndOfPath + prefix; pattern 322 components/url_matcher/url_matcher.cc pattern = kEndOfPath + ('?' + prefix); pattern 324 components/url_matcher/url_matcher.cc return CreateCondition(URLMatcherCondition::QUERY_PREFIX, pattern); pattern 347 components/url_matcher/url_matcher.cc std::string pattern; pattern 349 components/url_matcher/url_matcher.cc pattern = kEndOfPath + str + kEndOfURL; pattern 351 components/url_matcher/url_matcher.cc pattern = kEndOfPath + ('?' + str) + kEndOfURL; pattern 353 components/url_matcher/url_matcher.cc return CreateCondition(URLMatcherCondition::QUERY_EQUALS, pattern); pattern 494 components/url_matcher/url_matcher.cc const std::string& pattern) { pattern 495 components/url_matcher/url_matcher.cc StringPattern search_pattern(pattern, 0); pattern 511 components/url_matcher/url_matcher.cc new StringPattern(pattern, id_counter_++); pattern 530 components/url_matcher/url_matcher.cc return lhs->pattern() < rhs->pattern(); pattern 817 components/url_matcher/url_matcher.cc const StringPattern* pattern = condition_iter->string_pattern(); pattern 818 components/url_matcher/url_matcher.cc substring_pattern_frequencies[pattern->id()]++; pattern 191 components/url_matcher/url_matcher.h const std::string& pattern); pattern 18 components/url_matcher/url_matcher_unittest.cc StringPattern pattern("example.com", 1); pattern 19 components/url_matcher/url_matcher_unittest.cc URLMatcherCondition m1(URLMatcherCondition::HOST_SUFFIX, &pattern); pattern 21 components/url_matcher/url_matcher_unittest.cc EXPECT_EQ(&pattern, m1.string_pattern()); pattern 26 components/url_matcher/url_matcher_unittest.cc EXPECT_EQ(&pattern, m2.string_pattern()); pattern 30 components/url_matcher/url_matcher_unittest.cc EXPECT_EQ(&pattern, m3.string_pattern()); pattern 64 components/url_matcher/url_matcher_unittest.cc StringPattern pattern("example.com", 1); pattern 66 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 69 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 71 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 73 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 76 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 78 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 80 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 82 components/url_matcher/url_matcher_unittest.cc &pattern).IsFullURLCondition()); pattern 89 components/url_matcher/url_matcher_unittest.cc StringPattern pattern("example.com", 1); pattern 90 components/url_matcher/url_matcher_unittest.cc URLMatcherCondition m1(URLMatcherCondition::HOST_SUFFIX, &pattern); pattern 105 components/url_matcher/url_matcher_unittest.cc URLMatcherCondition m2(URLMatcherCondition::HOST_CONTAINS, &pattern); pattern 151 components/url_matcher/url_matcher_unittest.cc return text.find(condition.string_pattern()->pattern()) != pattern 222 components/url_matcher/url_matcher_unittest.cc EXPECT_NE(c2.string_pattern()->pattern(), pattern 223 components/url_matcher/url_matcher_unittest.cc c3.string_pattern()->pattern()); pattern 227 components/url_matcher/url_matcher_unittest.cc EXPECT_EQ(c5.string_pattern()->pattern(), c4.string_pattern()->pattern()); pattern 213 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc icu::UnicodeString pattern("^<script>addRow\\(\"" STR "\",\"" STR pattern 219 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc icu::RegexMatcher match(pattern, input, 0, status); pattern 447 content/browser/gamepad/xbox_data_fetcher_mac.cc void XboxController::SetLEDPattern(LEDPattern pattern) { pattern 448 content/browser/gamepad/xbox_data_fetcher_mac.cc led_pattern_ = pattern; pattern 456 content/browser/gamepad/xbox_data_fetcher_mac.cc buffer[2] = static_cast<UInt8>(pattern); pattern 81 content/browser/gamepad/xbox_data_fetcher_mac.h void SetLEDPattern(LEDPattern pattern); pattern 679 content/browser/renderer_host/backing_store_gtk.cc cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface); pattern 680 content/browser/renderer_host/backing_store_gtk.cc cairo_pattern_set_filter(pattern, CAIRO_FILTER_BEST); pattern 681 content/browser/renderer_host/backing_store_gtk.cc cairo_set_source(cr, pattern); pattern 682 content/browser/renderer_host/backing_store_gtk.cc cairo_pattern_destroy(pattern); pattern 412 content/browser/renderer_host/render_sandbox_host_linux.cc FcPattern* pattern = FcPatternCreate(); pattern 413 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddString(pattern, FC_FAMILY, pattern 435 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddString(pattern, FC_FAMILY, fc_generic_font_name); pattern 439 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD); pattern 441 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC); pattern 442 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddLangSet(pattern, FC_LANG, langset); pattern 443 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternAddBool(pattern, FC_SCALABLE, FcTrue); pattern 444 content/browser/renderer_host/render_sandbox_host_linux.cc FcConfigSubstitute(NULL, pattern, FcMatchPattern); pattern 445 content/browser/renderer_host/render_sandbox_host_linux.cc FcDefaultSubstitute(pattern); pattern 448 content/browser/renderer_host/render_sandbox_host_linux.cc FcFontSet* font_set = FcFontSort(0, pattern, 0, 0, &result); pattern 540 content/browser/renderer_host/render_sandbox_host_linux.cc FcPatternDestroy(pattern); pattern 69 content/browser/service_worker/service_worker_context_core.cc const GURL& pattern, pattern 76 content/browser/service_worker/service_worker_context_core.cc pattern, pattern 85 content/browser/service_worker/service_worker_context_core.cc const GURL& pattern, pattern 90 content/browser/service_worker/service_worker_context_core.cc job_coordinator_->Unregister(pattern, source_process_id, callback); pattern 76 content/browser/service_worker/service_worker_context_core.h void RegisterServiceWorker(const GURL& pattern, pattern 82 content/browser/service_worker/service_worker_context_core.h void UnregisterServiceWorker(const GURL& pattern, pattern 206 content/browser/service_worker/service_worker_context_unittest.cc GURL pattern("http://www.example.com/*"); pattern 211 content/browser/service_worker/service_worker_context_unittest.cc pattern, pattern 222 content/browser/service_worker/service_worker_context_unittest.cc pattern, render_process_id_, MakeUnregisteredCallback(&called)); pattern 232 content/browser/service_worker/service_worker_context_unittest.cc GURL pattern("http://www.example.com/*"); pattern 237 content/browser/service_worker/service_worker_context_unittest.cc pattern, pattern 249 content/browser/service_worker/service_worker_context_unittest.cc pattern, pattern 264 content/browser/service_worker/service_worker_context_unittest.cc GURL pattern("http://www.example.com/*"); pattern 270 content/browser/service_worker/service_worker_context_unittest.cc pattern, pattern 282 content/browser/service_worker/service_worker_context_unittest.cc pattern, pattern 64 content/browser/service_worker/service_worker_context_wrapper.cc const GURL& pattern, pattern 74 content/browser/service_worker/service_worker_context_wrapper.cc pattern, pattern 82 content/browser/service_worker/service_worker_context_wrapper.cc pattern, pattern 99 content/browser/service_worker/service_worker_context_wrapper.cc const GURL& pattern, pattern 108 content/browser/service_worker/service_worker_context_wrapper.cc pattern, pattern 115 content/browser/service_worker/service_worker_context_wrapper.cc pattern, pattern 47 content/browser/service_worker/service_worker_context_wrapper.h virtual void RegisterServiceWorker(const GURL& pattern, pattern 53 content/browser/service_worker/service_worker_context_wrapper.h virtual void UnregisterServiceWorker(const GURL& pattern, pattern 109 content/browser/service_worker/service_worker_dispatcher_host.cc const GURL& pattern, pattern 123 content/browser/service_worker/service_worker_dispatcher_host.cc if (pattern.GetOrigin() != script_url.GetOrigin()) { pattern 133 content/browser/service_worker/service_worker_dispatcher_host.cc pattern, pattern 145 content/browser/service_worker/service_worker_dispatcher_host.cc const GURL& pattern) { pattern 159 content/browser/service_worker/service_worker_dispatcher_host.cc pattern, pattern 46 content/browser/service_worker/service_worker_dispatcher_host.h const GURL& pattern, pattern 50 content/browser/service_worker/service_worker_dispatcher_host.h const GURL& pattern); pattern 30 content/browser/service_worker/service_worker_info.cc const GURL& pattern, pattern 34 content/browser/service_worker/service_worker_info.cc pattern(pattern), pattern 35 content/browser/service_worker/service_worker_info.h const GURL& pattern, pattern 41 content/browser/service_worker/service_worker_info.h GURL pattern; pattern 394 content/browser/service_worker/service_worker_internals_ui.cc registration_info->SetString("scope", registration.pattern.spec()); pattern 55 content/browser/service_worker/service_worker_job_coordinator.cc const GURL& pattern, pattern 60 content/browser/service_worker/service_worker_job_coordinator.cc new ServiceWorkerRegisterJob(context_, pattern, script_url)); pattern 62 content/browser/service_worker/service_worker_job_coordinator.cc static_cast<ServiceWorkerRegisterJob*>(jobs_[pattern].Push(job.Pass())); pattern 67 content/browser/service_worker/service_worker_job_coordinator.cc const GURL& pattern, pattern 71 content/browser/service_worker/service_worker_job_coordinator.cc new ServiceWorkerUnregisterJob(context_, pattern)); pattern 73 content/browser/service_worker/service_worker_job_coordinator.cc static_cast<ServiceWorkerUnregisterJob*>(jobs_[pattern].Push(job.Pass())); pattern 77 content/browser/service_worker/service_worker_job_coordinator.cc void ServiceWorkerJobCoordinator::FinishJob(const GURL& pattern, pattern 79 content/browser/service_worker/service_worker_job_coordinator.cc RegistrationJobMap::iterator pending_jobs = jobs_.find(pattern); pattern 29 content/browser/service_worker/service_worker_job_coordinator.h void Register(const GURL& pattern, pattern 35 content/browser/service_worker/service_worker_job_coordinator.h const GURL& pattern, pattern 40 content/browser/service_worker/service_worker_job_coordinator.h void FinishJob(const GURL& pattern, ServiceWorkerRegisterJobBase* job); pattern 244 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 249 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 258 content/browser/service_worker/service_worker_job_unittest.cc job_coordinator()->Unregister(pattern, pattern 269 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 283 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 288 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 299 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 312 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 327 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 341 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 347 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 358 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 369 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 384 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 433 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 439 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 446 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 460 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 473 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 479 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 489 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 504 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 519 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 525 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 534 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 551 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 561 content/browser/service_worker/service_worker_job_unittest.cc GURL pattern("http://www.example.com/*"); pattern 566 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 572 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 588 content/browser/service_worker/service_worker_job_unittest.cc pattern, pattern 20 content/browser/service_worker/service_worker_register_job.cc const GURL& pattern, pattern 23 content/browser/service_worker/service_worker_register_job.cc pattern_(pattern), pattern 41 content/browser/service_worker/service_worker_register_job.h const GURL& pattern, pattern 14 content/browser/service_worker/service_worker_registration.cc const GURL& pattern, pattern 18 content/browser/service_worker/service_worker_registration.cc : pattern_(pattern), pattern 50 content/browser/service_worker/service_worker_registration.cc pattern(), pattern 38 content/browser/service_worker/service_worker_registration.h ServiceWorkerRegistration(const GURL& pattern, pattern 48 content/browser/service_worker/service_worker_registration.h const GURL& pattern() const { return pattern_; } pattern 51 content/browser/service_worker/service_worker_storage.cc const GURL& pattern, pattern 56 content/browser/service_worker/service_worker_storage.cc registration_by_pattern_.find(pattern); pattern 126 content/browser/service_worker/service_worker_storage.cc registration_by_pattern_.find(registration->pattern())); pattern 134 content/browser/service_worker/service_worker_storage.cc registration_by_pattern_[registration->pattern()] = registration; pattern 140 content/browser/service_worker/service_worker_storage.cc const GURL& pattern, pattern 143 content/browser/service_worker/service_worker_storage.cc registration_by_pattern_.find(pattern); pattern 160 content/browser/service_worker/service_worker_storage.cc bool ServiceWorkerStorage::PatternMatches(const GURL& pattern, pattern 167 content/browser/service_worker/service_worker_storage.cc std::string pattern_spec(pattern.spec()); pattern 168 content/browser/service_worker/service_worker_storage.cc if (pattern.has_query()) pattern 47 content/browser/service_worker/service_worker_storage.h void FindRegistrationForPattern(const GURL& pattern, pattern 65 content/browser/service_worker/service_worker_storage.h void DeleteRegistration(const GURL& pattern, pattern 78 content/browser/service_worker/service_worker_storage.h static bool PatternMatches(const GURL& pattern, const GURL& script_url); pattern 18 content/browser/service_worker/service_worker_unregister_job.cc const GURL& pattern) pattern 20 content/browser/service_worker/service_worker_unregister_job.cc pattern_(pattern), pattern 34 content/browser/service_worker/service_worker_unregister_job.h const GURL& pattern); pattern 62 content/child/service_worker/service_worker_dispatcher.cc const GURL& pattern, pattern 68 content/child/service_worker/service_worker_dispatcher.cc CurrentWorkerId(), request_id, pattern, script_url)); pattern 72 content/child/service_worker/service_worker_dispatcher.cc const GURL& pattern, pattern 77 content/child/service_worker/service_worker_dispatcher.cc CurrentWorkerId(), request_id, pattern)); pattern 45 content/child/service_worker/service_worker_dispatcher.h const GURL& pattern, pattern 50 content/child/service_worker/service_worker_dispatcher.h const GURL& pattern, pattern 39 content/child/service_worker/web_service_worker_provider_impl.cc const WebURL& pattern, pattern 42 content/child/service_worker/web_service_worker_provider_impl.cc GetDispatcher()->RegisterServiceWorker(pattern, script_url, callbacks); pattern 46 content/child/service_worker/web_service_worker_provider_impl.cc const WebURL& pattern, pattern 48 content/child/service_worker/web_service_worker_provider_impl.cc GetDispatcher()->UnregisterServiceWorker(pattern, callbacks); pattern 32 content/child/service_worker/web_service_worker_provider_impl.h virtual void registerServiceWorker(const blink::WebURL& pattern, pattern 36 content/child/service_worker/web_service_worker_provider_impl.h virtual void unregisterServiceWorker(const blink::WebURL& pattern, pattern 1541 content/common/gpu/client/gl_helper_unittest.cc for (int pattern = 0; pattern < 3; pattern++) { pattern 1548 content/common/gpu/client/gl_helper_unittest.cc pattern, pattern 1576 content/common/gpu/client/gl_helper_unittest.cc for (int pattern = 0; pattern < 3; pattern++) { pattern 1581 content/common/gpu/client/gl_helper_unittest.cc pattern, pattern 371 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java public void vibrate(long[] pattern, int repeat) { pattern 372 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java for (int i = 0; i < pattern.length; ++i) { pattern 373 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java pattern[i] = Math.min(pattern[i], MAX_VIBRATE_DURATION_MS); pattern 378 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java mVibrator.vibrate(pattern, repeat); pattern 36 content/public/browser/service_worker_context.h virtual void RegisterServiceWorker(const Scope& pattern, pattern 49 content/public/browser/service_worker_context.h virtual void UnregisterServiceWorker(const Scope& pattern, pattern 51 content/renderer/android/email_detector.cc icu::UnicodeString pattern(kEmailRegex); pattern 55 content/renderer/android/email_detector.cc new icu::RegexMatcher(pattern, pattern 123 content/test/image_decoder_test.cc std::string pattern = "*." + format_; pattern 135 content/test/image_decoder_test.cc if (MatchPattern(base_name_ascii, pattern)) pattern 398 courgette/adjustment_method_2.cc void set_pattern(ShinglePattern* pattern) { pattern_ = pattern; } pattern 584 courgette/adjustment_method_2.cc std::string ToString(const ShinglePattern* pattern, size_t snippet_max = 3) { pattern 586 courgette/adjustment_method_2.cc if (pattern == NULL) { pattern 590 courgette/adjustment_method_2.cc s += ToString(pattern->index_); pattern 592 courgette/adjustment_method_2.cc static_cast<int>(pattern->model_histogram_.size()), pattern 593 courgette/adjustment_method_2.cc pattern->model_coverage_); pattern 595 courgette/adjustment_method_2.cc s += HistogramToString(pattern->model_histogram_, snippet_max); pattern 597 courgette/adjustment_method_2.cc static_cast<int>(pattern->program_histogram_.size()), pattern 598 courgette/adjustment_method_2.cc pattern->program_coverage_); pattern 599 courgette/adjustment_method_2.cc s += HistogramToString(pattern->program_histogram_, snippet_max); pattern 605 courgette/adjustment_method_2.cc std::string ShinglePatternToStringFull(const ShinglePattern* pattern, pattern 608 courgette/adjustment_method_2.cc s += ToString(pattern->index_); pattern 610 courgette/adjustment_method_2.cc size_t model_size = pattern->model_histogram_.size(); pattern 611 courgette/adjustment_method_2.cc size_t program_size = pattern->program_histogram_.size(); pattern 613 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->model_histogram_, " ", max); pattern 615 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->program_histogram_, " ", max); pattern 710 courgette/adjustment_method_2.cc int SingleUseScore(const ShinglePattern* pattern) { pattern 711 courgette/adjustment_method_2.cc if (pattern->index_->variables_ != 1) pattern 714 courgette/adjustment_method_2.cc if (pattern->model_histogram_.size() != 1 || pattern 715 courgette/adjustment_method_2.cc pattern->program_histogram_.size() != 1) pattern 720 courgette/adjustment_method_2.cc *pattern->program_histogram_.begin(); pattern 722 courgette/adjustment_method_2.cc *pattern->model_histogram_.begin(); pattern 728 courgette/adjustment_method_2.cc size_t variable_index = pattern->index_->first_variable_index_; pattern 861 courgette/adjustment_method_2.cc const ShinglePattern* pattern = *p; pattern 862 courgette/adjustment_method_2.cc VLOG(2) << ToString(pattern, 10); pattern 876 courgette/adjustment_method_2.cc const ShinglePattern& pattern = p->second; pattern 877 courgette/adjustment_method_2.cc VLOG(2) << ToString(&pattern, 10); pattern 886 courgette/adjustment_method_2.cc VLOG(2) << ToString(&instance) << " " << ToString(instance.pattern()); pattern 898 courgette/adjustment_method_2.cc ShinglePattern* pattern = shingle->pattern(); pattern 900 courgette/adjustment_method_2.cc pattern->model_histogram_.erase(ShinglePattern::FreqView(shingle)); pattern 901 courgette/adjustment_method_2.cc pattern->model_coverage_ -= shingle->position_count(); pattern 903 courgette/adjustment_method_2.cc pattern->program_histogram_.erase(ShinglePattern::FreqView(shingle)); pattern 904 courgette/adjustment_method_2.cc pattern->program_coverage_ -= shingle->position_count(); pattern 910 courgette/adjustment_method_2.cc ShinglePattern* pattern = shingle->pattern(); pattern 911 courgette/adjustment_method_2.cc LOG_ASSERT(pattern == NULL); pattern 920 courgette/adjustment_method_2.cc pattern = &inserted.first->second; pattern 921 courgette/adjustment_method_2.cc pattern->index_ = &inserted.first->first; pattern 922 courgette/adjustment_method_2.cc shingle->set_pattern(pattern); pattern 923 courgette/adjustment_method_2.cc patterns_needing_updates_.insert(pattern); pattern 926 courgette/adjustment_method_2.cc pattern->model_histogram_.insert(ShinglePattern::FreqView(shingle)); pattern 927 courgette/adjustment_method_2.cc pattern->model_coverage_ += shingle->position_count(); pattern 929 courgette/adjustment_method_2.cc pattern->program_histogram_.insert(ShinglePattern::FreqView(shingle)); pattern 930 courgette/adjustment_method_2.cc pattern->program_coverage_ += shingle->position_count(); pattern 984 courgette/adjustment_method_2.cc void RemovePatternFromQueues(const ShinglePattern* pattern) { pattern 985 courgette/adjustment_method_2.cc int single_use_score = SingleUseScore(pattern); pattern 987 courgette/adjustment_method_2.cc size_t n = single_use_pattern_queue_.erase(pattern); pattern 989 courgette/adjustment_method_2.cc } else if (pattern->program_histogram_.empty() && pattern 990 courgette/adjustment_method_2.cc pattern->model_histogram_.empty()) { pattern 992 courgette/adjustment_method_2.cc } else if (pattern->program_histogram_.empty()) { pattern 995 courgette/adjustment_method_2.cc active_non_single_use_patterns_.erase(pattern); pattern 996 courgette/adjustment_method_2.cc AddPatternToLabelQueue(pattern, -1); pattern 1000 courgette/adjustment_method_2.cc void AddPatternToQueues(const ShinglePattern* pattern) { pattern 1001 courgette/adjustment_method_2.cc int single_use_score = SingleUseScore(pattern); pattern 1003 courgette/adjustment_method_2.cc single_use_pattern_queue_.insert(pattern); pattern 1004 courgette/adjustment_method_2.cc } else if (pattern->program_histogram_.empty() && pattern 1005 courgette/adjustment_method_2.cc pattern->model_histogram_.empty()) { pattern 1006 courgette/adjustment_method_2.cc } else if (pattern->program_histogram_.empty()) { pattern 1009 courgette/adjustment_method_2.cc active_non_single_use_patterns_.insert(pattern); pattern 1010 courgette/adjustment_method_2.cc AddPatternToLabelQueue(pattern, +1); pattern 1014 courgette/adjustment_method_2.cc void AddPatternToLabelQueue(const ShinglePattern* pattern, int sign) { pattern 1041 courgette/adjustment_method_2.cc pattern->model_histogram_.begin(); pattern 1042 courgette/adjustment_method_2.cc model_iter != pattern->model_histogram_.end(); pattern 1052 courgette/adjustment_method_2.cc pattern->program_histogram_.begin(); pattern 1053 courgette/adjustment_method_2.cc program_iter != pattern->program_histogram_.end(); pattern 1069 courgette/adjustment_method_2.cc << "\n\t" << ToString(pattern, 10) pattern 1124 courgette/adjustment_method_2.cc patterns_needing_updates_.insert((*p)->pattern()); pattern 1149 courgette/adjustment_method_2.cc bool AssignFirstVariableOfHistogramHead(const ShinglePattern& pattern) { pattern 1151 courgette/adjustment_method_2.cc *pattern.program_histogram_.begin(); pattern 1152 courgette/adjustment_method_2.cc const ShinglePattern::FreqView& model_1 = *pattern.model_histogram_.begin(); pattern 1155 courgette/adjustment_method_2.cc size_t variable_index = pattern.index_->first_variable_index_; pattern 1166 courgette/adjustment_method_2.cc const ShinglePattern& pattern = **single_use_pattern_queue_.begin(); pattern 1167 courgette/adjustment_method_2.cc return AssignFirstVariableOfHistogramHead(pattern); pattern 84 extensions/common/api/sockets/sockets_manifest_permission.cc if (it->pattern().type == operation_type) { pattern 322 extensions/common/api/sockets/sockets_manifest_permission.cc domains.insert(base::UTF8ToUTF16(it->pattern().host)); pattern 345 extensions/common/api/sockets/sockets_manifest_permission.cc hostnames.insert(base::UTF8ToUTF16(it->pattern().host)); pattern 366 extensions/common/api/sockets/sockets_manifest_permission.cc if (it->pattern().type == SocketPermissionRequest::NETWORK_STATE) { pattern 106 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc CheckFormatEntry(it->pattern().type, it->GetHostPatternAsString())); pattern 453 extensions/common/extension.cc void Extension::AddWebExtentPattern(const URLPattern& pattern) { pattern 458 extensions/common/extension.cc extent_.AddPattern(pattern); pattern 647 extensions/common/extension.cc URLPattern pattern(kValidWebExtentSchemes); pattern 648 extensions/common/extension.cc URLPattern::ParseResult parse_result = pattern.Parse(pattern_string); pattern 651 extensions/common/extension.cc parse_result = pattern.Parse(pattern_string); pattern 663 extensions/common/extension.cc if (pattern.match_all_urls()) { pattern 672 extensions/common/extension.cc if (pattern.host().empty()) { pattern 682 extensions/common/extension.cc if (pattern.path().find('*') != std::string::npos) { pattern 689 extensions/common/extension.cc pattern.SetPath(pattern.path() + '*'); pattern 691 extensions/common/extension.cc extent->AddPattern(pattern); pattern 344 extensions/common/extension.h void AddWebExtentPattern(const URLPattern& pattern); pattern 130 extensions/common/features/simple_feature.cc std::string pattern; pattern 131 extensions/common/features/simple_feature.cc CHECK(matches->GetString(i, &pattern)); pattern 132 extensions/common/features/simple_feature.cc set->AddPattern(URLPattern(URLPattern::SCHEME_ALL, pattern)); pattern 80 extensions/common/manifest_handlers/sandboxed_page_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); pattern 81 extensions/common/manifest_handlers/sandboxed_page_info.cc if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { pattern 88 extensions/common/manifest_handlers/sandboxed_page_info.cc pattern.SetPath(pattern.path() + relative_path); pattern 89 extensions/common/manifest_handlers/sandboxed_page_info.cc sandboxed_info->pages.AddPattern(pattern); pattern 80 extensions/common/manifest_handlers/web_accessible_resources_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); pattern 81 extensions/common/manifest_handlers/web_accessible_resources_info.cc if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { pattern 88 extensions/common/manifest_handlers/web_accessible_resources_info.cc pattern.SetPath(pattern.path() + relative_path); pattern 89 extensions/common/manifest_handlers/web_accessible_resources_info.cc info->web_accessible_resources_.AddPattern(pattern); pattern 48 extensions/common/manifest_handlers/webview_info.cc bool AddPattern(const URLPattern& pattern) { pattern 49 extensions/common/manifest_handlers/webview_info.cc return accessible_resources_.AddPattern(pattern); pattern 166 extensions/common/manifest_handlers/webview_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION, pattern 169 extensions/common/manifest_handlers/webview_info.cc partition_item->AddPattern(pattern); pattern 65 extensions/common/permissions/permissions_data.cc const URLPattern& pattern, pattern 67 extensions/common/permissions/permissions_data.cc if (!pattern.match_all_urls() && pattern 68 extensions/common/permissions/permissions_data.cc pattern.MatchesScheme(content::kChromeUIScheme)) { pattern 71 extensions/common/permissions/permissions_data.cc if (chrome_scheme_hosts.ContainsPattern(pattern)) pattern 179 extensions/common/permissions/permissions_data.cc URLPattern pattern = URLPattern(kAllowedSchemes); pattern 180 extensions/common/permissions/permissions_data.cc URLPattern::ParseResult parse_result = pattern.Parse(permission_str); pattern 184 extensions/common/permissions/permissions_data.cc pattern.SetPath("/*"); pattern 185 extensions/common/permissions/permissions_data.cc int valid_schemes = pattern.valid_schemes(); pattern 186 extensions/common/permissions/permissions_data.cc if (pattern.MatchesScheme(content::kFileScheme) && pattern 193 extensions/common/permissions/permissions_data.cc if (pattern.scheme() != content::kChromeUIScheme && pattern 201 extensions/common/permissions/permissions_data.cc pattern.SetValidSchemes(valid_schemes); pattern 203 extensions/common/permissions/permissions_data.cc if (!CanSpecifyHostPermission(extension, pattern, *api_permissions)) { pattern 214 extensions/common/permissions/permissions_data.cc host_permissions->AddPattern(pattern); pattern 217 extensions/common/permissions/permissions_data.cc if (pattern.match_all_urls()) { pattern 56 extensions/common/permissions/socket_permission.cc domains.insert(base::UTF8ToUTF16(i->entry().pattern().host)); pattern 78 extensions/common/permissions/socket_permission.cc hostnames.insert(base::UTF8ToUTF16(i->entry().pattern().host)); pattern 98 extensions/common/permissions/socket_permission.cc if (i->entry().pattern().type == pattern 145 extensions/common/permissions/socket_permission_data.cc spec_.append(TypeToString(entry_.pattern().type)); pattern 146 extensions/common/permissions/socket_permission_data.cc std::string pattern = entry_.GetHostPatternAsString(); pattern 147 extensions/common/permissions/socket_permission_data.cc if (!pattern.empty()) { pattern 148 extensions/common/permissions/socket_permission_data.cc spec_.append(1, kColon).append(pattern); pattern 132 extensions/common/permissions/socket_permission_entry.cc const std::string& pattern, pattern 135 extensions/common/permissions/socket_permission_entry.cc base::SplitStringDontTrim(pattern, kColon, &tokens); pattern 52 extensions/common/permissions/socket_permission_entry.h const std::string& pattern, pattern 66 extensions/common/permissions/socket_permission_entry.h const content::SocketPermissionRequest& pattern() const { return pattern_; } pattern 124 extensions/common/url_pattern.cc URLPattern::URLPattern(int valid_schemes, const std::string& pattern) pattern 131 extensions/common/url_pattern.cc ParseResult result = Parse(pattern); pattern 133 extensions/common/url_pattern.cc NOTREACHED() << "URLPattern invalid: " << pattern << " result " << result; pattern 151 extensions/common/url_pattern.cc URLPattern::ParseResult URLPattern::Parse(const std::string& pattern) { pattern 158 extensions/common/url_pattern.cc if (pattern == kAllUrlsPattern) { pattern 164 extensions/common/url_pattern.cc size_t scheme_end_pos = pattern.find(content::kStandardSchemeSeparator); pattern 169 extensions/common/url_pattern.cc scheme_end_pos = pattern.find(':'); pattern 176 extensions/common/url_pattern.cc if (!SetScheme(pattern.substr(0, scheme_end_pos))) pattern 186 extensions/common/url_pattern.cc if (scheme_end_pos >= pattern.size()) pattern 196 extensions/common/url_pattern.cc size_t host_end_pos = pattern.find(kPathSeparator, host_start_pos); pattern 208 extensions/common/url_pattern.cc size_t host_end_pos = pattern.find(kPathSeparator, host_start_pos); pattern 217 extensions/common/url_pattern.cc host_ = pattern.substr(host_start_pos, host_end_pos - host_start_pos); pattern 232 extensions/common/url_pattern.cc SetPath(pattern.substr(path_start_pos)); pattern 85 extensions/common/url_pattern.h URLPattern(int valid_schemes, const std::string& pattern); pattern 118 extensions/common/url_pattern_set.cc bool URLPatternSet::AddPattern(const URLPattern& pattern) { pattern 119 extensions/common/url_pattern_set.cc return patterns_.insert(pattern).second; pattern 141 extensions/common/url_pattern_set.cc bool URLPatternSet::ContainsPattern(const URLPattern& pattern) const { pattern 144 extensions/common/url_pattern_set.cc if (it->Contains(pattern)) pattern 151 extensions/common/url_pattern_set.cc for (URLPatternSet::const_iterator pattern = patterns_.begin(); pattern 152 extensions/common/url_pattern_set.cc pattern != patterns_.end(); ++pattern) { pattern 153 extensions/common/url_pattern_set.cc if (pattern->MatchesURL(url)) pattern 161 extensions/common/url_pattern_set.cc for (URLPatternSet::const_iterator pattern = patterns_.begin(); pattern 162 extensions/common/url_pattern_set.cc pattern != patterns_.end(); ++pattern) { pattern 163 extensions/common/url_pattern_set.cc if (pattern->MatchesSecurityOrigin(origin)) pattern 199 extensions/common/url_pattern_set.cc URLPattern pattern(valid_schemes); pattern 200 extensions/common/url_pattern_set.cc if (pattern.Parse(patterns[i]) != URLPattern::PARSE_SUCCESS) { pattern 209 extensions/common/url_pattern_set.cc if (!allow_file_access && pattern.MatchesScheme(content::kFileScheme)) { pattern 210 extensions/common/url_pattern_set.cc pattern.SetValidSchemes( pattern 211 extensions/common/url_pattern_set.cc pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); pattern 213 extensions/common/url_pattern_set.cc AddPattern(pattern); pattern 64 extensions/common/url_pattern_set.h bool AddPattern(const URLPattern& pattern); pattern 76 extensions/common/url_pattern_set.h bool ContainsPattern(const URLPattern& pattern) const; pattern 15 extensions/common/url_pattern_set_unittest.cc void AddPattern(URLPatternSet* set, const std::string& pattern) { pattern 17 extensions/common/url_pattern_set_unittest.cc set->AddPattern(URLPattern(schemes, pattern)); pattern 20 extensions/common/url_pattern_set_unittest.cc URLPatternSet Patterns(const std::string& pattern) { pattern 22 extensions/common/url_pattern_set_unittest.cc AddPattern(&set, pattern); pattern 25 extensions/common/url_pattern_unittest.cc const char* pattern; pattern 42 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 44 extensions/common/url_pattern_unittest.cc pattern.Parse(kInvalidPatterns[i].pattern)) pattern 45 extensions/common/url_pattern_unittest.cc << kInvalidPatterns[i].pattern; pattern 51 extensions/common/url_pattern_unittest.cc const char* pattern; pattern 76 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 78 extensions/common/url_pattern_unittest.cc pattern.Parse(kTestPatterns[i].pattern)) pattern 80 extensions/common/url_pattern_unittest.cc << kTestPatterns[i].pattern; pattern 81 extensions/common/url_pattern_unittest.cc EXPECT_EQ(kTestPatterns[i].expected_port, pattern.port()) pattern 82 extensions/common/url_pattern_unittest.cc << "Got unexpected port for URL pattern: " << kTestPatterns[i].pattern; pattern 88 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 89 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*/*")); pattern 90 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 91 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 92 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 93 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 94 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 95 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com"))); pattern 96 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://yahoo.com"))); pattern 97 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foo"))); pattern 98 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("https://google.com"))); pattern 99 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://74.125.127.100/search"))); pattern 104 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 105 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("https://*/foo*")); pattern 106 extensions/common/url_pattern_unittest.cc EXPECT_EQ("https", pattern.scheme()); pattern 107 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 108 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 109 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 110 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo*", pattern.path()); pattern 111 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foo"))); pattern 112 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foobar"))); pattern 113 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.google.com/foo"))); pattern 114 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("https://www.google.com/"))); pattern 115 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 121 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 123 extensions/common/url_pattern_unittest.cc pattern.Parse("http://*.google.com/foo*bar")); pattern 124 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 125 extensions/common/url_pattern_unittest.cc EXPECT_EQ("google.com", pattern.host()); pattern 126 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 127 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 128 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo*bar", pattern.path()); pattern 129 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foobar"))); pattern 130 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.google.com/foo?bar"))); pattern 131 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 133 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://yahoo.com/foobar"))); pattern 134 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 136 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( pattern 142 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 143 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file:///foo?bar\\*baz")); pattern 144 extensions/common/url_pattern_unittest.cc EXPECT_EQ("file", pattern.scheme()); pattern 145 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 146 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 147 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 148 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo?bar\\*baz", pattern.path()); pattern 149 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo?bar\\hellobaz"))); pattern 150 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file:///fooXbar\\hellobaz"))); pattern 155 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 156 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://127.0.0.1/*")); pattern 157 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 158 extensions/common/url_pattern_unittest.cc EXPECT_EQ("127.0.0.1", pattern.host()); pattern 159 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 160 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 161 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 162 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); pattern 167 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 169 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.0.0.1/*")); pattern 170 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 171 extensions/common/url_pattern_unittest.cc EXPECT_EQ("0.0.1", pattern.host()); pattern 172 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 173 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 174 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 176 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://127.0.0.1"))); pattern 181 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 185 extensions/common/url_pattern_unittest.cc pattern.Parse("http://*.xn--gkd/a%C2%81%E1*")); pattern 186 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 187 extensions/common/url_pattern_unittest.cc EXPECT_EQ("xn--gkd", pattern.host()); pattern 188 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 189 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 190 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/a%C2%81%E1*", pattern.path()); pattern 191 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 193 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 199 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 200 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("chrome://favicon/*")); pattern 201 extensions/common/url_pattern_unittest.cc EXPECT_EQ("chrome", pattern.scheme()); pattern 202 extensions/common/url_pattern_unittest.cc EXPECT_EQ("favicon", pattern.host()); pattern 203 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 204 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 205 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 206 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); pattern 207 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/https://google.com"))); pattern 208 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome://history"))); pattern 213 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 214 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("*://*/*")); pattern 215 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("http")); pattern 216 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("https")); pattern 217 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesScheme("chrome")); pattern 218 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesScheme("file")); pattern 219 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesScheme("ftp")); pattern 220 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 221 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 222 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 223 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); pattern 224 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); pattern 225 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file:///foo/bar"))); pattern 226 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); pattern 231 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 232 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("<all_urls>")); pattern 233 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("chrome")); pattern 234 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("http")); pattern 235 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("https")); pattern 236 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("file")); pattern 237 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("filesystem")); pattern 238 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("chrome-extension")); pattern 239 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 240 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_all_urls()); pattern 241 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 242 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); pattern 243 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); pattern 244 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo/bar"))); pattern 245 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); pattern 252 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.valid_schemes(), pattern2.valid_schemes()); pattern 253 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.match_subdomains(), pattern2.match_subdomains()); pattern 254 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.path(), pattern2.path()); pattern 255 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.match_all_urls(), pattern2.match_all_urls()); pattern 256 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.scheme(), pattern2.scheme()); pattern 257 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.port(), pattern2.port()); pattern 258 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.GetAsString(), pattern2.GetAsString()); pattern 263 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 264 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("<all_urls>")); pattern 265 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("chrome")); pattern 266 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("http")); pattern 267 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("https")); pattern 268 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("file")); pattern 269 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("filesystem")); pattern 270 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("javascript")); pattern 271 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("data")); pattern 272 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("about")); pattern 273 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesScheme("chrome-extension")); pattern 274 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_subdomains()); pattern 275 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.match_all_urls()); pattern 276 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 277 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); pattern 278 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); pattern 279 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo/bar"))); pattern 280 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); pattern 281 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://newtab"))); pattern 282 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("about:blank"))); pattern 283 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("about:version"))); pattern 284 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 289 extensions/common/url_pattern_unittest.cc const char* pattern; pattern 303 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 305 extensions/common/url_pattern_unittest.cc pattern.Parse(kMatch13UrlPatternTestCases[i].pattern)) pattern 306 extensions/common/url_pattern_unittest.cc << " while parsing " << kMatch13UrlPatternTestCases[i].pattern; pattern 307 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 313 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 314 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("data:*")); pattern 315 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("about:blank"))); pattern 320 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 321 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file:///foo*")); pattern 322 extensions/common/url_pattern_unittest.cc EXPECT_EQ("file", pattern.scheme()); pattern 323 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 324 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 325 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 326 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo*", pattern.path()); pattern 327 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); pattern 328 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); pattern 329 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); pattern 330 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); pattern 331 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); pattern 336 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 337 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file://foo*")); pattern 338 extensions/common/url_pattern_unittest.cc EXPECT_EQ("file", pattern.scheme()); pattern 339 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 340 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 341 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 342 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo*", pattern.path()); pattern 343 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); pattern 344 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); pattern 345 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); pattern 346 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); pattern 347 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); pattern 352 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 353 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file://localhost/foo*")); pattern 354 extensions/common/url_pattern_unittest.cc EXPECT_EQ("file", pattern.scheme()); pattern 356 extensions/common/url_pattern_unittest.cc EXPECT_EQ("", pattern.host()); pattern 357 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 358 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 359 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo*", pattern.path()); pattern 360 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); pattern 361 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); pattern 362 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); pattern 363 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); pattern 364 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); pattern 369 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 371 extensions/common/url_pattern_unittest.cc pattern.Parse("http://www.example.com:80/foo")); pattern 372 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 373 extensions/common/url_pattern_unittest.cc EXPECT_EQ("www.example.com", pattern.host()); pattern 374 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 375 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 376 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo", pattern.path()); pattern 377 extensions/common/url_pattern_unittest.cc EXPECT_EQ("80", pattern.port()); pattern 378 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:80/foo"))); pattern 379 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com/foo"))); pattern 380 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.example.com:8080/foo"))); pattern 381 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( pattern 383 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("filesystem:http://www.example.com/f/foo"))); pattern 388 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 390 extensions/common/url_pattern_unittest.cc pattern.Parse("http://www.example.com:*/foo")); pattern 391 extensions/common/url_pattern_unittest.cc EXPECT_EQ("http", pattern.scheme()); pattern 392 extensions/common/url_pattern_unittest.cc EXPECT_EQ("www.example.com", pattern.host()); pattern 393 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 394 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 395 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/foo", pattern.path()); pattern 396 extensions/common/url_pattern_unittest.cc EXPECT_EQ("*", pattern.port()); pattern 397 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:80/foo"))); pattern 398 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com/foo"))); pattern 399 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:8080/foo"))); pattern 400 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( pattern 406 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); pattern 408 extensions/common/url_pattern_unittest.cc pattern.Parse("chrome-extension://ftw/*")); pattern 409 extensions/common/url_pattern_unittest.cc EXPECT_EQ("chrome-extension", pattern.scheme()); pattern 410 extensions/common/url_pattern_unittest.cc EXPECT_EQ("ftw", pattern.host()); pattern 411 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_subdomains()); pattern 412 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.match_all_urls()); pattern 413 extensions/common/url_pattern_unittest.cc EXPECT_EQ("/*", pattern.path()); pattern 414 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome-extension://ftw"))); pattern 415 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 417 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 419 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome-extension://foobar"))); pattern 420 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( pattern 425 extensions/common/url_pattern_unittest.cc const char* pattern; pattern 444 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); pattern 446 extensions/common/url_pattern_unittest.cc pattern.Parse(kGetAsStringTestCases[i].pattern)) pattern 447 extensions/common/url_pattern_unittest.cc << "Error parsing " << kGetAsStringTestCases[i].pattern; pattern 448 extensions/common/url_pattern_unittest.cc EXPECT_EQ(kGetAsStringTestCases[i].pattern, pattern 449 extensions/common/url_pattern_unittest.cc pattern.GetAsString()); pattern 549 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); pattern 550 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse(pattern_str)); pattern 552 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern_str, pattern.GetAsString()); pattern 553 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(url)); pattern 79 extensions/common/user_script.cc void UserScript::add_url_pattern(const URLPattern& pattern) { pattern 80 extensions/common/user_script.cc url_set_.AddPattern(pattern); pattern 83 extensions/common/user_script.cc void UserScript::add_exclude_url_pattern(const URLPattern& pattern) { pattern 84 extensions/common/user_script.cc exclude_url_set_.AddPattern(pattern); pattern 152 extensions/common/user_script.cc for (URLPatternSet::const_iterator pattern = pattern_list.begin(); pattern 153 extensions/common/user_script.cc pattern != pattern_list.end(); ++pattern) { pattern 154 extensions/common/user_script.cc pickle->WriteInt(pattern->valid_schemes()); pattern 155 extensions/common/user_script.cc pickle->WriteString(pattern->GetAsString()); pattern 214 extensions/common/user_script.cc URLPattern pattern(kValidUserScriptSchemes); pattern 215 extensions/common/user_script.cc URLPattern::ParseResult result = pattern.Parse(pattern_str); pattern 219 extensions/common/user_script.cc pattern.SetValidSchemes(valid_schemes); pattern 220 extensions/common/user_script.cc pattern_list->AddPattern(pattern); pattern 156 extensions/common/user_script.h void add_url_pattern(const URLPattern& pattern); pattern 160 extensions/common/user_script.h void add_exclude_url_pattern(const URLPattern& pattern); pattern 76 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); pattern 77 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*/foo*")); pattern 80 extensions/common/user_script_unittest.cc script.add_url_pattern(pattern); pattern 90 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); pattern 91 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); pattern 92 extensions/common/user_script_unittest.cc script.add_url_pattern(pattern); pattern 106 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); pattern 107 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); pattern 108 extensions/common/user_script_unittest.cc script.add_url_pattern(pattern); pattern 120 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); pattern 121 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); pattern 122 extensions/common/user_script_unittest.cc script.add_url_pattern(pattern); pattern 135 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); pattern 136 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS,pattern.Parse("http://www.google.com/*")); pattern 137 extensions/common/user_script_unittest.cc script.add_url_pattern(pattern); pattern 56 media/filters/stream_parser_factory.cc const char* pattern; pattern 166 media/filters/stream_parser_factory.cc if (MatchPattern(codec_id, kMPEG2AACLCCodecInfo.pattern)) { pattern 168 media/filters/stream_parser_factory.cc } else if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern)) { pattern 223 media/filters/stream_parser_factory.cc if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern) && pattern 330 media/filters/stream_parser_factory.cc if (codec_info && !codec_info->pattern && pattern 350 media/filters/stream_parser_factory.cc if (MatchPattern(codec_id, type_info.codecs[k]->pattern) && pattern 142 net/base/ip_pattern.cc ComponentPattern* pattern) const { pattern 164 net/base/ip_pattern.cc pattern->AppendRange(min, max); pattern 42 net/base/ip_pattern.h ComponentPattern* pattern) const; pattern 14 net/base/ip_pattern_unittest.cc IPPattern pattern; pattern 15 net/base/ip_pattern_unittest.cc return pattern.ParsePattern(pattern_text); pattern 18 net/base/ip_pattern_unittest.cc bool CheckForMatch(const IPPattern& pattern, std::string address_text) { pattern 21 net/base/ip_pattern_unittest.cc return pattern.Match(address); pattern 25 net/base/ip_pattern_unittest.cc IPPattern pattern; pattern 31 net/base/ip_pattern_unittest.cc EXPECT_FALSE(pattern.Match(ipv4_address1)); pattern 32 net/base/ip_pattern_unittest.cc EXPECT_FALSE(pattern.Match(ipv6_address1)); pattern 59 net/dns/dns_config_service.cc bool parsed = pattern.ParsePattern(pattern_string); pattern 63 net/dns/dns_config_service.cc IPPattern pattern; pattern 77 net/dns/dns_config_service.cc if ((*it)->pattern.Match(address)) pattern 100 net/ftp/ftp_directory_listing_parser_vms.cc std::string pattern("RWED"); pattern 102 net/ftp/ftp_directory_listing_parser_vms.cc while (!match.empty() && !pattern.empty()) { pattern 103 net/ftp/ftp_directory_listing_parser_vms.cc if (match[0] == pattern[0]) pattern 105 net/ftp/ftp_directory_listing_parser_vms.cc pattern = pattern.substr(1); pattern 108 net/proxy/proxy_config_service_android.cc std::string pattern; pattern 109 net/proxy/proxy_config_service_android.cc base::TrimWhitespaceASCII(token, base::TRIM_ALL, &pattern); pattern 110 net/proxy/proxy_config_service_android.cc if (pattern.empty()) pattern 113 net/proxy/proxy_config_service_android.cc DCHECK_EQ(std::string::npos, pattern.find('?')); pattern 114 net/proxy/proxy_config_service_android.cc bypass_rules->AddRuleForHostname(scheme, pattern, -1); pattern 280 net/tools/dump_cache/url_to_filename_encoder_unittest.cc string pattern = "1234567" + escape_ + "3F"; // 10 characters pattern 283 net/tools/dump_cache/url_to_filename_encoder_unittest.cc pattern + pattern + pattern + pattern + pattern + pattern + "1234" pattern 284 net/tools/dump_cache/url_to_filename_encoder_unittest.cc "567" + escape_ + "3F" + pattern + pattern + pattern + pattern + pattern + pattern 286 net/tools/dump_cache/url_to_filename_encoder_unittest.cc "7" + escape_ + "3F" + pattern + pattern + pattern + pattern + pattern + pattern 287 net/tools/dump_cache/url_to_filename_encoder_unittest.cc pattern + pattern + pattern + pattern + pattern + pattern + pattern + pattern 290 net/tools/dump_cache/url_to_filename_encoder_unittest.cc "34567" + escape_ + "3F" + pattern + pattern + pattern + pattern + pattern pattern 291 net/tools/dump_cache/url_to_filename_encoder_unittest.cc + "1234567" + escape_ + "3F" + pattern + pattern + pattern + pattern pattern 292 net/tools/dump_cache/url_to_filename_encoder_unittest.cc + pattern + "1234567" + pattern 294 net/tools/dump_cache/url_to_filename_encoder_unittest.cc escape_ + "3F" + pattern + pattern + escape_; pattern 211 sandbox/win/src/sandbox_policy.h const wchar_t* pattern) = 0; pattern 342 sandbox/win/src/sandbox_policy_base.cc const wchar_t* pattern) { pattern 357 sandbox/win/src/sandbox_policy_base.cc if (!FileSystemPolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 364 sandbox/win/src/sandbox_policy_base.cc if (!SyncPolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 377 sandbox/win/src/sandbox_policy_base.cc if (!ProcessPolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 384 sandbox/win/src/sandbox_policy_base.cc if (!NamedPipePolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 391 sandbox/win/src/sandbox_policy_base.cc if (!RegistryPolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 398 sandbox/win/src/sandbox_policy_base.cc if (!HandlePolicy::GenerateRules(pattern, semantics, policy_maker_)) { pattern 64 sandbox/win/src/sandbox_policy_base.h const wchar_t* pattern) OVERRIDE; pattern 141 sandbox/win/tests/common/controller.cc const wchar_t* pattern) { pattern 145 sandbox/win/tests/common/controller.cc return (SBOX_ALL_OK == policy_->AddRule(subsystem, semantics, pattern)); pattern 149 sandbox/win/tests/common/controller.cc const wchar_t* pattern) { pattern 153 sandbox/win/tests/common/controller.cc base::string16 win32_path = MakePathToSys32(pattern, false); pattern 164 sandbox/win/tests/common/controller.cc win32_path = MakePathToSysWow64(pattern, false); pattern 172 sandbox/win/tests/common/controller.cc const wchar_t* pattern) { pattern 176 sandbox/win/tests/common/controller.cc return AddRule(TargetPolicy::SUBSYS_FILES, semantics, pattern); pattern 84 sandbox/win/tests/common/controller.h const wchar_t* pattern); pattern 89 sandbox/win/tests/common/controller.h bool AddRuleSys32(TargetPolicy::Semantics semantics, const wchar_t* pattern); pattern 93 sandbox/win/tests/common/controller.h bool AddFsRule(TargetPolicy::Semantics semantics, const wchar_t* pattern); pattern 363 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::match( Location pattern, pattern 370 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( current_[index] != pattern[index] ) pattern 3636 third_party/liblouis/overrides/liblouis/compileTranslationTable.c char pattern[MAXSTRING]; pattern 3674 third_party/liblouis/overrides/liblouis/compileTranslationTable.c pattern[j] = '0'; pattern 3678 third_party/liblouis/overrides/liblouis/compileTranslationTable.c pattern[j] = (char) hyph.chars[i]; pattern 3682 third_party/liblouis/overrides/liblouis/compileTranslationTable.c pattern[++j] = '0'; pattern 3687 third_party/liblouis/overrides/liblouis/compileTranslationTable.c pattern[j + 1] = 0; pattern 3688 third_party/liblouis/overrides/liblouis/compileTranslationTable.c for (i = 0; pattern[i] == '0'; i++); pattern 3700 third_party/liblouis/overrides/liblouis/compileTranslationTable.c &pattern[i], k); pattern 336 third_party/libwebp/enc/cost.c int pattern = VP8LevelCodes[level - 1][0]; pattern 340 third_party/libwebp/enc/cost.c for (i = 2; pattern; ++i) { pattern 341 third_party/libwebp/enc/cost.c if (pattern & 1) { pattern 345 third_party/libwebp/enc/cost.c pattern >>= 1; pattern 207 third_party/libwebp/enc/frame.c int pattern = VP8LevelCodes[v - 1][0]; pattern 209 third_party/libwebp/enc/frame.c for (i = 0; (pattern >>= 1) != 0; ++i) { pattern 211 third_party/libwebp/enc/frame.c if (pattern & 1) Record(!!(bits & mask), s + 3 + i); pattern 53 third_party/libxml/src/include/libxml/pattern.h xmlPatterncompile (const xmlChar *pattern, pattern 270 third_party/libxml/src/include/libxml/xmlreader.h const xmlChar *pattern, pattern 165 third_party/libxml/src/pattern.c const xmlChar *pattern; /* the pattern */ pattern 238 third_party/libxml/src/pattern.c if (comp->pattern != NULL) pattern 239 third_party/libxml/src/pattern.c xmlFree((xmlChar *)comp->pattern); pattern 289 third_party/libxml/src/pattern.c xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict, pattern 293 third_party/libxml/src/pattern.c if (pattern == NULL) pattern 304 third_party/libxml/src/pattern.c cur->cur = pattern; pattern 305 third_party/libxml/src/pattern.c cur->base = pattern; pattern 2354 third_party/libxml/src/pattern.c xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags, pattern 2363 third_party/libxml/src/pattern.c if (pattern == NULL) pattern 2366 third_party/libxml/src/pattern.c start = pattern; pattern 121 third_party/libxml/src/runtest.c static int glob(const char *pattern, int flags, pattern 131 third_party/libxml/src/runtest.c if ((pattern == NULL) || (pglob == NULL)) return(-1); pattern 133 third_party/libxml/src/runtest.c strncpy(directory, pattern, 499); pattern 148 third_party/libxml/src/runtest.c hFind = FindFirstFileA(pattern, &FindFileData); pattern 2411 third_party/libxml/src/runtest.c char pattern[500]; pattern 2424 third_party/libxml/src/runtest.c snprintf(pattern, 499, "./test/XPath/tests/%s*", baseFilename(filename)); pattern 2425 third_party/libxml/src/runtest.c pattern[499] = 0; pattern 2427 third_party/libxml/src/runtest.c glob(pattern, GLOB_DOOFFS, NULL, &globbuf); pattern 2459 third_party/libxml/src/runtest.c char pattern[500]; pattern 2472 third_party/libxml/src/runtest.c snprintf(pattern, 499, "./test/XPath/xptr/%s*", baseFilename(filename)); pattern 2473 third_party/libxml/src/runtest.c pattern[499] = 0; pattern 2475 third_party/libxml/src/runtest.c glob(pattern, GLOB_DOOFFS, NULL, &globbuf); pattern 2992 third_party/libxml/src/runtest.c char pattern[500]; pattern 3027 third_party/libxml/src/runtest.c snprintf(pattern, 499, "./test/schemas/%s_?.xml", prefix); pattern 3028 third_party/libxml/src/runtest.c pattern[499] = 0; pattern 3037 third_party/libxml/src/runtest.c glob(pattern, GLOB_DOOFFS, NULL, &globbuf); pattern 3169 third_party/libxml/src/runtest.c char pattern[500]; pattern 3198 third_party/libxml/src/runtest.c snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix); pattern 3199 third_party/libxml/src/runtest.c pattern[499] = 0; pattern 3202 third_party/libxml/src/runtest.c glob(pattern, GLOB_DOOFFS, NULL, &globbuf); pattern 3256 third_party/libxml/src/runtest.c char pattern[500]; pattern 3287 third_party/libxml/src/runtest.c snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix); pattern 3288 third_party/libxml/src/runtest.c pattern[499] = 0; pattern 3291 third_party/libxml/src/runtest.c glob(pattern, GLOB_DOOFFS, NULL, &globbuf); pattern 3340 third_party/libxml/src/runtest.c const char *pattern, xmlPatternPtr patternc, pattern 3355 third_party/libxml/src/runtest.c fprintf(out, "Node %s matches pattern %s\n", path, pattern); pattern 3378 third_party/libxml/src/runtest.c pattern, path); pattern 107 third_party/libxml/src/schematron.c xmlPatternPtr pattern; /* the compiled pattern associated */ pattern 394 third_party/libxml/src/schematron.c xmlPatternPtr pattern; pattern 403 third_party/libxml/src/schematron.c pattern = xmlPatterncompile(context, ctxt->dict, XML_PATTERN_XPATH, pattern 405 third_party/libxml/src/schematron.c if (pattern == NULL) { pattern 420 third_party/libxml/src/schematron.c ret->pattern = pattern; pattern 461 third_party/libxml/src/schematron.c if (rules->pattern) pattern 462 third_party/libxml/src/schematron.c xmlFreePattern(rules->pattern); pattern 848 third_party/libxml/src/schematron.c xmlSchematronPatternPtr pattern, pattern 876 third_party/libxml/src/schematron.c ruleptr = xmlSchematronAddRule(ctxt, ctxt->schema, pattern, pattern 960 third_party/libxml/src/schematron.c xmlSchematronPatternPtr pattern; pattern 970 third_party/libxml/src/schematron.c pattern = xmlSchematronAddPattern(ctxt, ctxt->schema, pat, id); pattern 971 third_party/libxml/src/schematron.c if (pattern == NULL) { pattern 980 third_party/libxml/src/schematron.c xmlSchematronParseRule(ctxt, pattern, cur); pattern 1369 third_party/libxml/src/schematron.c xmlSchematronTestPtr test, xmlNodePtr cur, xmlSchematronPatternPtr pattern, int success) { pattern 1425 third_party/libxml/src/schematron.c (pattern == NULL)?NULL:((const char *) pattern->name), pattern 1449 third_party/libxml/src/schematron.c xmlSchematronPatternPtr pattern) { pattern 1450 third_party/libxml/src/schematron.c if ((ctxt == NULL) || (pattern == NULL)) pattern 1459 third_party/libxml/src/schematron.c if (pattern->name == NULL) pattern 1461 third_party/libxml/src/schematron.c snprintf(msg, 999, "Pattern: %s\n", (const char *) pattern->name); pattern 1601 third_party/libxml/src/schematron.c xmlSchematronTestPtr test, xmlDocPtr instance, xmlNodePtr cur, xmlSchematronPatternPtr pattern) pattern 1648 third_party/libxml/src/schematron.c xmlSchematronReportSuccess(ctxt, test, cur, pattern, !failed); pattern 1667 third_party/libxml/src/schematron.c xmlSchematronPatternPtr pattern; pattern 1691 third_party/libxml/src/schematron.c if (xmlPatternMatch(rule->pattern, cur) == 1) { pattern 1694 third_party/libxml/src/schematron.c xmlSchematronRunTest(ctxt, test, instance, cur, (xmlSchematronPatternPtr)rule->pattern); pattern 1707 third_party/libxml/src/schematron.c pattern = ctxt->schema->patterns; pattern 1709 third_party/libxml/src/schematron.c while (pattern != NULL) { pattern 1710 third_party/libxml/src/schematron.c xmlSchematronReportPattern(ctxt, pattern); pattern 1720 third_party/libxml/src/schematron.c rule = pattern->rules; pattern 1722 third_party/libxml/src/schematron.c if (xmlPatternMatch(rule->pattern, cur) == 1) { pattern 1725 third_party/libxml/src/schematron.c xmlSchematronRunTest(ctxt, test, instance, cur, pattern); pattern 1734 third_party/libxml/src/schematron.c pattern = pattern->next; pattern 60 third_party/libxml/src/testRegexp.c char *pattern = &expression[2]; pattern 66 third_party/libxml/src/testRegexp.c printf("Regexp: %s\n", pattern) ; pattern 67 third_party/libxml/src/testRegexp.c comp = xmlRegexpCompile((const xmlChar *) pattern); pattern 277 third_party/libxml/src/testRegexp.c const char *pattern = NULL; pattern 337 third_party/libxml/src/testRegexp.c if (pattern == NULL) { pattern 338 third_party/libxml/src/testRegexp.c pattern = argv[i]; pattern 339 third_party/libxml/src/testRegexp.c printf("Testing expr %s:\n", pattern); pattern 340 third_party/libxml/src/testRegexp.c expr = xmlExpParse(ctxt, pattern); pattern 365 third_party/libxml/src/testRegexp.c if (pattern == NULL) { pattern 366 third_party/libxml/src/testRegexp.c pattern = argv[i]; pattern 367 third_party/libxml/src/testRegexp.c printf("Testing %s:\n", pattern); pattern 368 third_party/libxml/src/testRegexp.c comp = xmlRegexpCompile((const xmlChar *) pattern); pattern 32074 third_party/libxml/src/testapi.c xmlChar * pattern; /* an XPath subset pattern */ pattern 32084 third_party/libxml/src/testapi.c pattern = gen_const_xmlChar_ptr(n_pattern, 1); pattern 32087 third_party/libxml/src/testapi.c ret_val = xmlTextReaderPreservePattern(reader, (const xmlChar *)pattern, (const xmlChar **)namespaces); pattern 32091 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_pattern, (const xmlChar *)pattern, 1); pattern 729 third_party/libxml/src/triostr.c TRIO_ARGS2((string, pattern), pattern 731 third_party/libxml/src/triostr.c TRIO_CONST char *pattern) pattern 734 third_party/libxml/src/triostr.c assert(pattern); pattern 736 third_party/libxml/src/triostr.c for (; ('*' != *pattern); ++pattern, ++string) pattern 740 third_party/libxml/src/triostr.c return (NIL == *pattern); pattern 742 third_party/libxml/src/triostr.c if ((trio_to_upper((int)*string) != trio_to_upper((int)*pattern)) pattern 743 third_party/libxml/src/triostr.c && ('?' != *pattern)) pattern 749 third_party/libxml/src/triostr.c while ('*' == pattern[1]) pattern 750 third_party/libxml/src/triostr.c pattern++; pattern 754 third_party/libxml/src/triostr.c if ( trio_match(string, &pattern[1]) ) pattern 782 third_party/libxml/src/triostr.c TRIO_ARGS2((string, pattern), pattern 784 third_party/libxml/src/triostr.c TRIO_CONST char *pattern) pattern 787 third_party/libxml/src/triostr.c assert(pattern); pattern 789 third_party/libxml/src/triostr.c for (; ('*' != *pattern); ++pattern, ++string) pattern 793 third_party/libxml/src/triostr.c return (NIL == *pattern); pattern 795 third_party/libxml/src/triostr.c if ((*string != *pattern) pattern 796 third_party/libxml/src/triostr.c && ('?' != *pattern)) pattern 802 third_party/libxml/src/triostr.c while ('*' == pattern[1]) pattern 803 third_party/libxml/src/triostr.c pattern++; pattern 807 third_party/libxml/src/triostr.c if ( trio_match_case(string, &pattern[1]) ) pattern 75 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_match TRIO_PROTO((const char *string, const char *pattern)); pattern 76 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC int trio_match_case TRIO_PROTO((const char *string, const char *pattern)); pattern 201 third_party/libxml/src/xmllint.c static const char *pattern = NULL; pattern 1766 third_party/libxml/src/xmllint.c printf("Node %s matches pattern %s\n", path, pattern); pattern 1769 third_party/libxml/src/xmllint.c xmlTextReaderConstName(reader), pattern); pattern 1795 third_party/libxml/src/xmllint.c pattern, path); pattern 1798 third_party/libxml/src/xmllint.c pattern, xmlTextReaderConstName(reader)); pattern 1842 third_party/libxml/src/xmllint.c if (pattern != NULL) { pattern 1843 third_party/libxml/src/xmllint.c patternc = xmlPatterncompile((const xmlChar *) pattern, NULL, 0, NULL); pattern 1846 third_party/libxml/src/xmllint.c "Pattern %s failed to compile\n", pattern); pattern 1848 third_party/libxml/src/xmllint.c pattern = NULL; pattern 1999 third_party/libxml/src/xmllint.c if (pattern != NULL) { pattern 2000 third_party/libxml/src/xmllint.c patternc = xmlPatterncompile((const xmlChar *) pattern, doc->dict, pattern 2004 third_party/libxml/src/xmllint.c "Pattern %s failed to compile\n", pattern); pattern 2006 third_party/libxml/src/xmllint.c pattern = NULL; pattern 3396 third_party/libxml/src/xmllint.c pattern = argv[i]; pattern 3567 third_party/libxml/src/xmllint.c if ((pattern != NULL) pattern 3572 third_party/libxml/src/xmllint.c patternc = xmlPatterncompile((const xmlChar *) pattern, NULL, 0, NULL); pattern 3575 third_party/libxml/src/xmllint.c "Pattern %s failed to compile\n", pattern); pattern 3577 third_party/libxml/src/xmllint.c pattern = NULL; pattern 3935 third_party/libxml/src/xmlreader.c xmlTextReaderPreservePattern(xmlTextReaderPtr reader, const xmlChar *pattern, pattern 3940 third_party/libxml/src/xmlreader.c if ((reader == NULL) || (pattern == NULL)) pattern 3943 third_party/libxml/src/xmlreader.c comp = xmlPatterncompile(pattern, reader->dict, 0, namespaces); pattern 278 third_party/libxslt/libxslt/keys.c xmlChar *pattern = NULL; pattern 329 third_party/libxslt/libxslt/keys.c pattern = xmlStrcat(pattern, (xmlChar *)"//"); pattern 330 third_party/libxslt/libxslt/keys.c if (pattern == NULL) { pattern 335 third_party/libxslt/libxslt/keys.c pattern = xmlStrncat(pattern, &match[start], end - start); pattern 336 third_party/libxslt/libxslt/keys.c if (pattern == NULL) { pattern 342 third_party/libxslt/libxslt/keys.c pattern = xmlStrcat(pattern, (xmlChar *)"|"); pattern 349 third_party/libxslt/libxslt/keys.c " resulting pattern %s\n", pattern); pattern 359 third_party/libxslt/libxslt/keys.c key->comp = xsltXPathCompile(style, pattern); pattern 363 third_party/libxslt/libxslt/keys.c pattern); pattern 392 third_party/libxslt/libxslt/keys.c if (pattern != NULL) pattern 393 third_party/libxslt/libxslt/keys.c xmlFree(pattern); pattern 705 third_party/libxslt/libxslt/numbers.c xmlBufferPtr pattern; pattern 708 third_party/libxslt/libxslt/numbers.c pattern = xmlBufferCreate(); pattern 709 third_party/libxslt/libxslt/numbers.c if (pattern != NULL) { pattern 710 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(pattern, "number("); pattern 711 third_party/libxslt/libxslt/numbers.c xmlBufferCat(pattern, value); pattern 712 third_party/libxslt/libxslt/numbers.c xmlBufferCCat(pattern, ")"); pattern 714 third_party/libxslt/libxslt/numbers.c obj = xmlXPathEvalExpression(xmlBufferContent(pattern), pattern 721 third_party/libxslt/libxslt/numbers.c xmlBufferFree(pattern); pattern 102 third_party/libxslt/libxslt/pattern.c const xmlChar *pattern; /* the pattern */ pattern 182 third_party/libxslt/libxslt/pattern.c if (comp->pattern != NULL) pattern 183 third_party/libxslt/libxslt/pattern.c xmlFree((xmlChar *)comp->pattern); pattern 457 third_party/libxslt/libxslt/pattern.c if (comp->pattern[0] != '/') { pattern 461 third_party/libxslt/libxslt/pattern.c query = xmlStrcat(query, comp->pattern); pattern 463 third_party/libxslt/libxslt/pattern.c xmlFree((xmlChar *) comp->pattern); pattern 464 third_party/libxslt/libxslt/pattern.c comp->pattern = query; pattern 560 third_party/libxslt/libxslt/pattern.c newlist = xmlXPathEval(comp->pattern, ctxt->xpathCtxt); pattern 1830 third_party/libxslt/libxslt/pattern.c xsltCompilePatternInternal(const xmlChar *pattern, xmlDocPtr doc, pattern 1837 third_party/libxslt/libxslt/pattern.c if (pattern == NULL) { pattern 1849 third_party/libxslt/libxslt/pattern.c while (pattern[current] != 0) { pattern 1851 third_party/libxslt/libxslt/pattern.c while (IS_BLANK_CH(pattern[current])) pattern 1855 third_party/libxslt/libxslt/pattern.c while ((pattern[end] != 0) && ((pattern[end] != '|') || (level != 0))) { pattern 1856 third_party/libxslt/libxslt/pattern.c if (pattern[end] == '[') pattern 1858 third_party/libxslt/libxslt/pattern.c else if (pattern[end] == ']') pattern 1860 third_party/libxslt/libxslt/pattern.c else if (pattern[end] == '\'') { pattern 1862 third_party/libxslt/libxslt/pattern.c while ((pattern[end] != 0) && (pattern[end] != '\'')) pattern 1864 third_party/libxslt/libxslt/pattern.c } else if (pattern[end] == '"') { pattern 1866 third_party/libxslt/libxslt/pattern.c while ((pattern[end] != 0) && (pattern[end] != '"')) pattern 1869 third_party/libxslt/libxslt/pattern.c if (pattern[end] == 0) pattern 1889 third_party/libxslt/libxslt/pattern.c ctxt->base = xmlStrndup(&pattern[start], end - start); pattern 1893 third_party/libxslt/libxslt/pattern.c element->pattern = ctxt->base; pattern 1906 third_party/libxslt/libxslt/pattern.c element->pattern); pattern 1917 third_party/libxslt/libxslt/pattern.c element->pattern); pattern 1964 third_party/libxslt/libxslt/pattern.c element->pattern, element->priority); pattern 1966 third_party/libxslt/libxslt/pattern.c if (pattern[end] == '|') pattern 2005 third_party/libxslt/libxslt/pattern.c xsltCompilePattern(const xmlChar *pattern, xmlDocPtr doc, pattern 2008 third_party/libxslt/libxslt/pattern.c return (xsltCompilePatternInternal(pattern, doc, node, style, runtime, 0)); pattern 2179 third_party/libxslt/libxslt/pattern.c pat->pattern, pat->mode, pat->priority); pattern 2183 third_party/libxslt/libxslt/pattern.c pat->pattern, pat->priority); pattern 36 third_party/libxslt/libxslt/pattern.h xsltCompilePattern (const xmlChar *pattern, pattern 72 third_party/libxslt/libxslt/pattern.h const xmlChar *pattern, pattern 24 third_party/re2/re2/filtered_re2.cc RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, pattern 26 third_party/re2/re2/filtered_re2.cc RE2* re = new RE2(pattern, options); pattern 40 third_party/re2/re2/filtered_re2.h RE2::ErrorCode Add(const StringPiece& pattern, pattern 126 third_party/re2/re2/re2.cc static string trunc(const StringPiece& pattern) { pattern 127 third_party/re2/re2/re2.cc if (pattern.size() < 100) pattern 128 third_party/re2/re2/re2.cc return pattern.as_string(); pattern 129 third_party/re2/re2/re2.cc return pattern.substr(0, 100).as_string() + "..."; pattern 133 third_party/re2/re2/re2.cc RE2::RE2(const char* pattern) { pattern 134 third_party/re2/re2/re2.cc Init(pattern, DefaultOptions); pattern 137 third_party/re2/re2/re2.cc RE2::RE2(const string& pattern) { pattern 138 third_party/re2/re2/re2.cc Init(pattern, DefaultOptions); pattern 141 third_party/re2/re2/re2.cc RE2::RE2(const StringPiece& pattern) { pattern 142 third_party/re2/re2/re2.cc Init(pattern, DefaultOptions); pattern 145 third_party/re2/re2/re2.cc RE2::RE2(const StringPiece& pattern, const Options& options) { pattern 146 third_party/re2/re2/re2.cc Init(pattern, options); pattern 190 third_party/re2/re2/re2.cc void RE2::Init(const StringPiece& pattern, const Options& options) { pattern 192 third_party/re2/re2/re2.cc pattern_ = pattern.as_string(); pattern 262 third_party/re2/re2/re2.h RE2(const char* pattern); pattern 263 third_party/re2/re2/re2.h RE2(const string& pattern); pattern 265 third_party/re2/re2/re2.h RE2(const StringPiece& pattern); pattern 266 third_party/re2/re2/re2.h RE2(const StringPiece& pattern, const Options& option); pattern 275 third_party/re2/re2/re2.h const string& pattern() const { return pattern_; } pattern 343 third_party/re2/re2/re2.h static bool ConsumeN(StringPiece* input, const RE2& pattern, // 3..16 args pattern 352 third_party/re2/re2/re2.h static bool FindAndConsumeN(StringPiece* input, const RE2& pattern, pattern 371 third_party/re2/re2/re2.h const RE2& pattern, pattern 388 third_party/re2/re2/re2.h const RE2& pattern, pattern 398 third_party/re2/re2/re2.h const RE2& pattern, pattern 682 third_party/re2/re2/re2.h void Init(const StringPiece& pattern, const Options& options); pattern 28 third_party/re2/re2/set.cc int RE2::Set::Add(const StringPiece& pattern, string* error) { pattern 38 third_party/re2/re2/set.cc re2::Regexp* re = Regexp::Parse(pattern, pf, &status); pattern 43 third_party/re2/re2/set.cc LOG(ERROR) << "Error parsing '" << pattern << "': " << status.Text(); pattern 30 third_party/re2/re2/set.h int Add(const StringPiece& pattern, string* error); pattern 376 third_party/re2/re2/testing/re2_test.cc static void TestRecursion(int size, const char *pattern) { pattern 380 third_party/re2/re2/testing/re2_test.cc int patlen = strlen(pattern); pattern 382 third_party/re2/re2/testing/re2_test.cc domain[i] = pattern[i % patlen]; pattern 984 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(kPattern, re.pattern()); pattern 1046 third_party/re2/re2/testing/re2_test.cc const char* pattern = "\\w+X"; pattern 1048 third_party/re2/re2/testing/re2_test.cc RE2 match_sentence(pattern, RE2::Latin1); pattern 1049 third_party/re2/re2/testing/re2_test.cc RE2 match_sentence_re(pattern); pattern 1055 third_party/re2/re2/testing/re2_test.cc const char* pattern = "(?U)\\w+X"; pattern 1057 third_party/re2/re2/testing/re2_test.cc RE2 match_sentence(pattern, RE2::Latin1); pattern 1059 third_party/re2/re2/testing/re2_test.cc RE2 match_sentence_re(pattern); pattern 56 third_party/re2/util/pcre.cc void PCRE::Init(const char* pattern, Option options, int match_limit, pattern 58 third_party/re2/util/pcre.cc pattern_ = pattern; pattern 71 third_party/re2/util/pcre.cc << "Error compiling '" << pattern << "': illegal regexp option"; pattern 80 third_party/re2/util/pcre.cc PCRE::PCRE(const char* pattern) { pattern 81 third_party/re2/util/pcre.cc Init(pattern, None, 0, 0, true); pattern 83 third_party/re2/util/pcre.cc PCRE::PCRE(const char* pattern, Option option) { pattern 84 third_party/re2/util/pcre.cc Init(pattern, option, 0, 0, true); pattern 86 third_party/re2/util/pcre.cc PCRE::PCRE(const string& pattern) { pattern 87 third_party/re2/util/pcre.cc Init(pattern.c_str(), None, 0, 0, true); pattern 89 third_party/re2/util/pcre.cc PCRE::PCRE(const string& pattern, Option option) { pattern 90 third_party/re2/util/pcre.cc Init(pattern.c_str(), option, 0, 0, true); pattern 92 third_party/re2/util/pcre.cc PCRE::PCRE(const string& pattern, const PCRE_Options& re_option) { pattern 93 third_party/re2/util/pcre.cc Init(pattern.c_str(), re_option.option(), re_option.match_limit(), pattern 97 third_party/re2/util/pcre.cc PCRE::PCRE(const char *pattern, const PCRE_Options& re_option) { pattern 98 third_party/re2/util/pcre.cc Init(pattern, re_option.option(), re_option.match_limit(), pattern 234 third_party/re2/util/pcre.cc const PCRE& pattern, pattern 273 third_party/re2/util/pcre.cc if (pattern.DoMatchImpl(*input, ANCHOR_START, &consumed, pattern 283 third_party/re2/util/pcre.cc const PCRE& pattern, pattern 322 third_party/re2/util/pcre.cc if (pattern.DoMatchImpl(*input, UNANCHORED, &consumed, pattern 332 third_party/re2/util/pcre.cc const PCRE& pattern, pattern 335 third_party/re2/util/pcre.cc int matches = pattern.TryMatch(*str, 0, UNANCHORED, true, vec, kVecSize); pattern 340 third_party/re2/util/pcre.cc if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) pattern 350 third_party/re2/util/pcre.cc const PCRE& pattern, pattern 371 third_party/re2/util/pcre.cc matches = pattern.TryMatch(*str, start, ANCHOR_START, false, pattern 381 third_party/re2/util/pcre.cc matches = pattern.TryMatch(*str, start, UNANCHORED, true, vec, kVecSize); pattern 390 third_party/re2/util/pcre.cc pattern.Rewrite(&out, rewrite, *str, vec, matches); pattern 406 third_party/re2/util/pcre.cc const PCRE& pattern, pattern 410 third_party/re2/util/pcre.cc int matches = pattern.TryMatch(text, 0, UNANCHORED, true, vec, kVecSize); pattern 414 third_party/re2/util/pcre.cc return pattern.Rewrite(out, rewrite, text, vec, matches); pattern 229 third_party/re2/util/pcre.h PCRE(const char* pattern); pattern 230 third_party/re2/util/pcre.h PCRE(const char* pattern, Option option); pattern 231 third_party/re2/util/pcre.h PCRE(const string& pattern); pattern 232 third_party/re2/util/pcre.h PCRE(const string& pattern, Option option); pattern 233 third_party/re2/util/pcre.h PCRE(const char *pattern, const PCRE_Options& re_option); pattern 234 third_party/re2/util/pcre.h PCRE(const string& pattern, const PCRE_Options& re_option); pattern 241 third_party/re2/util/pcre.h const string& pattern() const { return pattern_; } pattern 335 third_party/re2/util/pcre.h bool operator ()(StringPiece* input, const PCRE& pattern, // 3..16 args pattern 361 third_party/re2/util/pcre.h bool operator ()(StringPiece* input, const PCRE& pattern, pattern 396 third_party/re2/util/pcre.h const PCRE& pattern, pattern 410 third_party/re2/util/pcre.h const PCRE& pattern, pattern 420 third_party/re2/util/pcre.h const PCRE& pattern, pattern 469 third_party/re2/util/pcre.h void Init(const char* pattern, Option option, int match_limit, pattern 4050 third_party/sqlite/src/tool/lemon.c char pattern[LINESIZE]; pattern 4058 third_party/sqlite/src/tool/lemon.c sprintf(pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i); pattern 4059 third_party/sqlite/src/tool/lemon.c if( strcmp(line,pattern) ) break; pattern 237 third_party/tcmalloc/chromium/src/gperftools/heap-checker.h static void DisableChecksIn(const char* pattern); pattern 1508 third_party/tcmalloc/chromium/src/heap-checker.cc void HeapLeakChecker::DisableChecksIn(const char* pattern) { pattern 1509 third_party/tcmalloc/chromium/src/heap-checker.cc RAW_LOG(WARNING, "DisableChecksIn(%s) is ignored", pattern); pattern 586 third_party/tcmalloc/chromium/src/heap-profile-table.cc string pattern = string(buf) + ".*" + kFileExt; pattern 590 third_party/tcmalloc/chromium/src/heap-profile-table.cc const int r = glob(pattern.c_str(), GLOB_ERR, NULL, &g); pattern 237 third_party/tcmalloc/vendor/src/gperftools/heap-checker.h static void DisableChecksIn(const char* pattern); pattern 1508 third_party/tcmalloc/vendor/src/heap-checker.cc void HeapLeakChecker::DisableChecksIn(const char* pattern) { pattern 1509 third_party/tcmalloc/vendor/src/heap-checker.cc RAW_LOG(WARNING, "DisableChecksIn(%s) is ignored", pattern); pattern 529 third_party/tcmalloc/vendor/src/heap-profile-table.cc string pattern = string(prefix) + ".*" + kFileExt; pattern 532 third_party/tcmalloc/vendor/src/heap-profile-table.cc const int r = glob(pattern.c_str(), GLOB_ERR, NULL, &g); pattern 84 tools/gn/command_refs.cc Pattern pattern(args[0]); pattern 106 tools/gn/command_refs.cc if (pattern.MatchesString(label)) { pattern 191 tools/gn/pattern.cc void PatternList::Append(const Pattern& pattern) { pattern 192 tools/gn/pattern.cc patterns_.push_back(pattern); pattern 77 tools/gn/pattern.h void Append(const Pattern& pattern); pattern 11 tools/gn/pattern_unittest.cc const char* pattern; pattern 56 tools/gn/pattern_unittest.cc Pattern pattern(c.pattern); pattern 57 tools/gn/pattern_unittest.cc bool result = pattern.MatchesString(c.candidate); pattern 58 tools/gn/pattern_unittest.cc EXPECT_EQ(c.expected_match, result) << i << ": \"" << c.pattern pattern 69 tools/ipc_fuzzer/mutate/message_util.cc bool MessageMatches(const IPC::Message* msg, const RE2& pattern) { pattern 70 tools/ipc_fuzzer/mutate/message_util.cc return RE2::FullMatch(MessageName(msg), pattern); pattern 242 ui/base/l10n/formatter.cc icu::UnicodeString pattern; pattern 244 ui/base/l10n/formatter.cc pattern += icu::UnicodeString(pluralities.fallback_one); pattern 245 ui/base/l10n/formatter.cc pattern += icu::UnicodeString(pluralities.fallback_other); pattern 249 ui/base/l10n/formatter.cc new icu::PluralFormat(rules, pattern, error)); pattern 257 ui/base/l10n/formatter.cc icu::UnicodeString pattern; pattern 39 ui/base/l10n/l10n_util_plurals.cc icu::UnicodeString pattern; pattern 50 ui/base/l10n/l10n_util_plurals.cc pattern += kKeywords[i]; pattern 51 ui/base/l10n/l10n_util_plurals.cc pattern += UNICODE_STRING_SIMPLE("{"); pattern 52 ui/base/l10n/l10n_util_plurals.cc pattern += icu::UnicodeString(sub_pattern.c_str(), "UTF-8"); pattern 53 ui/base/l10n/l10n_util_plurals.cc pattern += UNICODE_STRING_SIMPLE("}"); pattern 57 ui/base/l10n/l10n_util_plurals.cc new icu::PluralFormat(*rules, pattern, err)); pattern 94 ui/gfx/font_render_params_linux.cc FcPattern* pattern = FcPatternCreate(); pattern 95 ui/gfx/font_render_params_linux.cc FcConfigSubstitute(NULL, pattern, FcMatchPattern); pattern 96 ui/gfx/font_render_params_linux.cc FcDefaultSubstitute(pattern); pattern 98 ui/gfx/font_render_params_linux.cc FcPattern* match = FcFontMatch(0, pattern, &result); pattern 102 ui/gfx/font_render_params_linux.cc FcPatternDestroy(pattern); pattern 43 ui/gfx/platform_font_pango.cc FcPattern* pattern = FcPatternCreate(); pattern 49 ui/gfx/platform_font_pango.cc FcPatternAdd(pattern, FC_FAMILY, fcvalue, FcTrue /* append */); pattern 52 ui/gfx/platform_font_pango.cc FcConfigSubstitute(0, pattern, FcMatchPattern); pattern 53 ui/gfx/platform_font_pango.cc FcDefaultSubstitute(pattern); pattern 55 ui/gfx/platform_font_pango.cc FcPattern* match = FcFontMatch(0, pattern, &result); pattern 60 ui/gfx/platform_font_pango.cc FcPatternDestroy(pattern); pattern 105 webkit/common/appcache/appcache_interfaces.cc std::string pattern = namespace_url.spec(); pattern 107 webkit/common/appcache/appcache_interfaces.cc ReplaceSubstringsAfterOffset(&pattern, 0, "?", "\\?"); pattern 108 webkit/common/appcache/appcache_interfaces.cc return MatchPattern(url.spec(), pattern);