Lines Matching refs:srcptr
338 char *srcptr, *dstptr, *retval; in strsep_quote() local
344 srcptr = dstptr = retval = *stringp; in strsep_quote()
346 while (*srcptr) { in strsep_quote()
361 if (*srcptr == '\\') { in strsep_quote()
362 srcptr++; in strsep_quote()
368 if (*srcptr) { in strsep_quote()
369 *dstptr++ = *srcptr++; in strsep_quote()
373 if (quot == 0 && (*srcptr == '\'' || *srcptr == '"')) { in strsep_quote()
374 quot = *srcptr++; in strsep_quote()
377 if (quot && *srcptr == quot) { in strsep_quote()
380 srcptr++; in strsep_quote()
383 if (!quot && strchr(delim, *srcptr)) in strsep_quote()
385 *dstptr++ = *srcptr++; in strsep_quote()
388 *stringp = (*srcptr == '\0') ? NULL : srcptr + 1; in strsep_quote()