Lines Matching refs:chars
936 // Returns true if |c| occurs in |chars|
938 static inline bool CharIsA(const char c, const char* chars) {
939 return strchr(chars, c) != NULL;
941 // Seek the iterator to the first occurrence of a character in |chars|.
945 const char* chars) {
946 for (; *it != end && !CharIsA(**it, chars); ++(*it));
949 // Seek the iterator to the first occurrence of a character not in |chars|.
953 const char* chars) {
954 for (; *it != end && CharIsA(**it, chars); ++(*it));
959 const char* chars) {
960 for (; *it != end && CharIsA(**it, chars); --(*it));