Home
last modified time | relevance | path

Searched refs:pattern_str (Results 1 – 16 of 16) 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()
513 const std::string& pattern_str(i.key()); in CanonicalizeContentSettingsExceptions() local
515 ParsePatternString(pattern_str); in CanonicalizeContentSettingsExceptions()
518 LOG(ERROR) << "Invalid pattern strings: " << pattern_str; in CanonicalizeContentSettingsExceptions()
[all …]
Dcontent_settings_utils.cc71 PatternPair ParsePatternString(const std::string& pattern_str) { in ParsePatternString() argument
73 base::SplitString(pattern_str, kPatternSeparator[0], &pattern_str_list); in ParsePatternString()
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_utils.h40 PatternPair ParsePatternString(const std::string& pattern_str);
Dcontent_settings_policy_provider.cc352 std::string pattern_str; in GetAutoSelectCertificateSettingsFromPreferences() local
353 bool pattern_read = pattern_filter_pair->GetString("pattern", &pattern_str); in GetAutoSelectCertificateSettingsFromPreferences()
364 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.cc211 std::string pattern_str; in UnpickleURLPatternSet() local
212 CHECK(pickle.ReadString(iter, &pattern_str)); in UnpickleURLPatternSet()
215 URLPattern::ParseResult result = pattern.Parse(pattern_str); in UnpickleURLPatternSet()
217 URLPattern::GetParseResultString(result) << " " << pattern_str.c_str(); in UnpickleURLPatternSet()
Durl_pattern.h98 ParseResult Parse(const std::string& pattern_str);
Durl_pattern_unittest.cc546 std::string pattern_str = "http://www.example.com:8080/foo"; in TEST() local
550 EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse(pattern_str)); in TEST()
552 EXPECT_EQ(pattern_str, pattern.GetAsString()); in TEST()
/external/chromium/chrome/common/extensions/
Duser_script.cc186 std::string pattern_str; in Unpickle() local
188 CHECK(pickle.ReadString(iter, &pattern_str)); in Unpickle()
197 pattern.Parse(pattern_str, URLPattern::PARSE_LENIENT)); in Unpickle()
Durl_pattern.h169 ParseResult Parse(const std::string& pattern_str,
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider.cc403 std::string pattern_str(pattern.AsString()); in SetContentSetting() local
423 if (!map_to_modify->count(pattern_str)) in SetContentSetting()
424 (*map_to_modify)[pattern_str].content_settings = ContentSettings(); in SetContentSetting()
425 HostContentSettings::iterator i(map_to_modify->find(pattern_str)); in SetContentSetting()
445 pattern_str, NULL); in SetContentSetting()
457 pattern_str, &host_settings_dictionary); in SetContentSetting()
461 pattern_str, host_settings_dictionary); in SetContentSetting()
Dcontent_settings_base_provider.cc236 std::string pattern_str(requesting_pattern.CanonicalizePattern()); in UpdateContentSettingsMap() local
239 (*content_settings_map)[pattern_str]; in UpdateContentSettingsMap()
/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 )