Lines Matching full:escaped
1352 GTEST_API_ bool AtomMatchesChar(bool escaped, char pattern, char ch);
1356 bool escaped, char ch, char repeat, const char* regex, const char* str);
4514 // Returns an XML-escaped copy of the input string str. If
4611 // Returns an XML-escaped copy of the input string str. If is_attribute
8436 // Returns true iff the given atom (specified by escaped and pattern)
8438 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) {
8439 if (escaped) { // "\\p" where p is pattern_char.
8524 // expression. The regex atom is defined as c if escaped is false,
8531 bool escaped, char c, char repeat, const char* regex,
8548 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
8567 const bool escaped = *regex == '\\';
8568 if (escaped)
8575 escaped, regex[0], regex[1], regex + 2, str);
8580 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) &&
9222 // as "'\\0'", other unprintable characters are also properly escaped