Home
last modified time | relevance | path

Searched refs:PatternParser (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/common/
Dcontent_settings_pattern_parser_unittest.cc41 content_settings::PatternParser::Parse("*", &builder); in TEST()
50 content_settings::PatternParser::Parse( in TEST()
60 content_settings::PatternParser::Parse("*://www.gmail.com:80", &builder); in TEST()
69 content_settings::PatternParser::Parse("http://www.gmail.com:*", &builder); in TEST()
80 content_settings::PatternParser::Parse("http://[*.]google.com:80", &builder); in TEST()
89 content_settings::PatternParser::Parse("https://[::1]:8080", &builder); in TEST()
98 content_settings::PatternParser::Parse("http://127.0.0.1:8080", &builder); in TEST()
108 content_settings::PatternParser::Parse("www.youtube.com:8080", &builder); in TEST()
117 content_settings::PatternParser::Parse("www.youtube.com", &builder); in TEST()
128 content_settings::PatternParser::Parse("[*.]youtube.com", &builder); in TEST()
[all …]
Dcontent_settings_pattern_parser.cc36 const char* PatternParser::kDomainWildcard = "[*.]";
38 const size_t PatternParser::kDomainWildcardLength = 4;
40 const char* PatternParser::kSchemeWildcard = "*";
42 const char* PatternParser::kHostWildcard = "*";
44 const char* PatternParser::kPortWildcard = "*";
46 const char* PatternParser::kPathWildcard = "*";
49 void PatternParser::Parse(const std::string& pattern_spec, in Parse()
191 std::string PatternParser::ToString( in ToString()
Dcontent_settings_pattern_parser.h17 class PatternParser {
38 DISALLOW_COPY_AND_ASSIGN(PatternParser);
Dcontent_settings_pattern.h22 class PatternParser; variable
202 friend class content_settings::PatternParser;
Dcontent_settings_pattern.cc391 content_settings::PatternParser::Parse(pattern_spec, builder.get()); in FromString()
400 content_settings::PatternParser::Parse(pattern_spec, builder.get()); in LegacyFromString()
502 return content_settings::PatternParser::ToString(parts_); in ToString()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb185 class PatternParser class in ANTLR3.AST.Wizard
284 PatternParser.parse(
338 PatternParser.parse( pattern, @token_scheme, @adaptor )