Home | History | Annotate | Download | only in src

Lines Matching full:pstr

4513 // If *pstr starts with the given prefix, modifies *pstr to be right
4514 // past the prefix and returns true; otherwise leaves *pstr unchanged
4515 // and returns false. None of pstr, *pstr, and prefix can be NULL.
4516 bool SkipPrefix(const char* prefix, const char** pstr) {
4518 if (strncmp(*pstr, prefix, prefix_len) == 0) {
4519 *pstr += prefix_len;