D | gtest-port.cc | 228 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) { in AtomMatchesChar() argument 229 if (escaped) { // "\\p" where p is pattern_char. in AtomMatchesChar() 321 bool escaped, char c, char repeat, const char* regex, in MatchRepetitionAndRegexAtHead() argument 338 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i])) in MatchRepetitionAndRegexAtHead() 357 const bool escaped = *regex == '\\'; in MatchRegexAtHead() local 358 if (escaped) in MatchRegexAtHead() 365 escaped, regex[0], regex[1], regex + 2, str); in MatchRegexAtHead() 370 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) && in MatchRegexAtHead()
|