Home
last modified time | relevance | path

Searched refs:pattern_str (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_pref_provider.cc250 std::string pattern_str(CreatePatternString(primary_pattern, in UpdatePref() local
254 pattern_str, &settings_dictionary); in UpdatePref()
259 pattern_str, settings_dictionary); in UpdatePref()
301 pattern_str, NULL); in UpdatePref()
396 const std::string& pattern_str(i.key()); in ReadContentSettingsFromPref() local
398 ParsePatternString(pattern_str); in ReadContentSettingsFromPref()
402 LOG(ERROR) << "Invalid pattern strings: " << pattern_str; in ReadContentSettingsFromPref()
515 const std::string& pattern_str(i.key()); in CanonicalizeContentSettingsExceptions() local
517 ParsePatternString(pattern_str); in CanonicalizeContentSettingsExceptions()
520 LOG(ERROR) << "Invalid pattern strings: " << pattern_str; in CanonicalizeContentSettingsExceptions()
[all …]
Dcontent_settings_utils.cc74 PatternPair ParsePatternString(const std::string& pattern_str) { in ParsePatternString() argument
76 base::SplitString(pattern_str, kPatternSeparator[0], &pattern_str_list); in ParsePatternString()
Dcontent_settings_utils.h40 PatternPair ParsePatternString(const std::string& pattern_str);
Dcontent_settings_policy_provider_unittest.cc263 std::string pattern_str("\"pattern\":\"[*.]google.com\""); in TEST_F() local
267 "{" + pattern_str + "," + filter_str + "}")); in TEST_F()
Dcontent_settings_policy_provider.cc355 std::string pattern_str; in GetAutoSelectCertificateSettingsFromPreferences() local
357 "pattern", &pattern_str); in GetAutoSelectCertificateSettingsFromPreferences()
368 ContentSettingsPattern::FromString(pattern_str); in GetAutoSelectCertificateSettingsFromPreferences()
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_unittest.cc27 std::string pattern_str = helpers::ParseExtensionPattern( in TEST() local
29 EXPECT_EQ(kTestPatterns[i].content_settings_pattern, pattern_str) in TEST()
Dcontent_settings_helpers.cc59 ContentSettingsPattern ParseExtensionPattern(const std::string& pattern_str, in ParseExtensionPattern() argument
65 URLPattern::ParseResult result = url_pattern.Parse(pattern_str); in ParseExtensionPattern()
Dcontent_settings_helpers.h21 ContentSettingsPattern ParseExtensionPattern(const std::string& pattern_str,
/external/chromium_org/extensions/common/
Duser_script.cc218 std::string pattern_str; in UnpickleURLPatternSet() local
219 CHECK(pickle.ReadString(iter, &pattern_str)); in UnpickleURLPatternSet()
222 URLPattern::ParseResult result = pattern.Parse(pattern_str); in UnpickleURLPatternSet()
224 URLPattern::GetParseResultString(result) << " " << pattern_str.c_str(); in UnpickleURLPatternSet()
Durl_pattern.h102 ParseResult Parse(const std::string& pattern_str);
Durl_pattern_unittest.cc556 std::string pattern_str = "http://www.example.com:8080/foo"; in TEST() local
560 EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse(pattern_str)); in TEST()
562 EXPECT_EQ(pattern_str, pattern.GetAsString()); in TEST()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb283 def self.parse( pattern_str, scheme ) argument
285 pattern_str, scheme, PatternAdaptor.new( scheme.token_class )