Home | History | Annotate | Download | only in src

Lines Matching refs:pstr

4656 // If *pstr starts with the given prefix, modifies *pstr to be right
4657 // past the prefix and returns true; otherwise leaves *pstr unchanged
4658 // and returns false. None of pstr, *pstr, and prefix can be NULL.
4659 bool SkipPrefix(const char* prefix, const char** pstr) {
4661 if (strncmp(*pstr, prefix, prefix_len) == 0) {
4662 *pstr += prefix_len;