Home | History | Annotate | Download | only in src

Lines Matching refs:pattern

409 // Returns true iff the wildcard pattern matches the string.  The
410 // first ':' or '\0' character in pattern marks the end of it.
414 bool UnitTestOptions::PatternMatchesString(const char *pattern,
416 switch (*pattern) {
418 case ':': // Either ':' or '\0' marks the end of the pattern.
421 return *str != '\0' && PatternMatchesString(pattern + 1, str + 1);
423 return (*str != '\0' && PatternMatchesString(pattern, str + 1)) ||
424 PatternMatchesString(pattern + 1, str);
426 return *pattern == *str &&
427 PatternMatchesString(pattern + 1, str + 1);
438 // Finds the next pattern in the filter.
441 // Returns if no more pattern can be found.
446 // Skips the pattern separater (the ':' character).
480 // test if any pattern in it matches the test.
1403 // Chops off the n lowest bits from a bit pattern. Returns the n
1404 // lowest bits. As a side effect, the original bit pattern will be