Home | History | Annotate | Download | only in base

Lines Matching defs:rule

246     const DomainRule* rule = find_domain_function_(domain_str, domain_length);
251 if (rule &&
252 base::strncasecmp(domain_str, rule->name, domain_length) == 0) {
255 if (rule->type == kWildcardRule && (prev_start != std::string::npos)) {
262 if (rule->type == kExceptionRule) {
264 // If we get here, we had an exception rule with no dots (e.g.
266 // wildcard rule, which would have to be "*". But we explicitly
267 // disallow that case, so this kind of rule is invalid.
268 NOTREACHED() << "Invalid exception rule";
288 // No rule found in the registry. curr_start now points to the first