Searched refs:pattern_string (Results 1 – 8 of 8) sorted by relevance
110 std::string pattern_string; in Parse() local111 if (!(*it)->GetAsString(&pattern_string)) { in Parse()117 URLPattern::ParseResult result = pattern.Parse(pattern_string); in Parse()119 *error_message = "Failed to parse pattern \"" + pattern_string + in Parse()127 *error_message = "Pattern \"" + pattern_string + "\" is not allowed."; in Parse()
57 NameServerTypeRule(const char* pattern_string, NameServersType type) in NameServerTypeRule()59 bool parsed = pattern.ParsePattern(pattern_string); in NameServerTypeRule()67 void NameServerClassifier::AddRule(const char* pattern_string, in AddRule() argument69 rules_.push_back(new NameServerTypeRule(pattern_string, address_type)); in AddRule()
58 void AddRule(const char* pattern_string, NameServersType type);
614 std::string pattern_string; in LoadExtent() local615 if (!pattern_list->GetString(i, &pattern_string)) { in LoadExtent()623 URLPattern::ParseResult parse_result = pattern.Parse(pattern_string); in LoadExtent()625 pattern_string += "/"; in LoadExtent()626 parse_result = pattern.Parse(pattern_string); in LoadExtent()
27 strsrch [options*] -source source_string -pattern pattern_string
1379 std::string pattern_string; in CheckExceptionPatternValidity() local1380 CHECK(args->GetString(2, &pattern_string)); in CheckExceptionPatternValidity()1383 ContentSettingsPattern::FromString(pattern_string); in CheckExceptionPatternValidity()1389 base::StringValue(pattern_string), in CheckExceptionPatternValidity()
1416 def __init__(self, pattern_string): argument1418 self.pattern = re.compile(pattern_string, re.I|re.U)1420 print('Invalid pattern: %r' % pattern_string)