Home | History | Annotate | Download | only in src

Lines Matching refs:pstr

6174 // If *pstr starts with the given prefix, modifies *pstr to be right
6175 // past the prefix and returns true; otherwise leaves *pstr unchanged
6176 // and returns false. None of pstr, *pstr, and prefix can be NULL.
6177 bool SkipPrefix(const char* prefix, const char** pstr) {
6179 if (strncmp(*pstr, prefix, prefix_len) == 0) {
6180 *pstr += prefix_len;