Home | History | Annotate | Download | only in gtest

Lines Matching refs:pstr

6144 // If *pstr starts with the given prefix, modifies *pstr to be right
6145 // past the prefix and returns true; otherwise leaves *pstr unchanged
6146 // and returns false. None of pstr, *pstr, and prefix can be NULL.
6147 bool SkipPrefix(const char* prefix, const char** pstr) {
6149 if (strncmp(*pstr, prefix, prefix_len) == 0) {
6150 *pstr += prefix_len;