Home | History | Annotate | Download | only in src

Lines Matching refs:pstr

4996 // If *pstr starts with the given prefix, modifies *pstr to be right
4997 // past the prefix and returns true; otherwise leaves *pstr unchanged
4998 // and returns false. None of pstr, *pstr, and prefix can be NULL.
4999 bool SkipPrefix(const char* prefix, const char** pstr) {
5001 if (strncmp(*pstr, prefix, prefix_len) == 0) {
5002 *pstr += prefix_len;