Lines Matching refs:srcptr
343 char *srcptr, *dstptr, *retval; in strsep_quote() local
349 srcptr = dstptr = retval = *stringp; in strsep_quote()
351 while (*srcptr) { in strsep_quote()
366 if (*srcptr == '\\') { in strsep_quote()
367 srcptr++; in strsep_quote()
373 if (*srcptr) { in strsep_quote()
374 *dstptr++ = *srcptr++; in strsep_quote()
378 if (quot == 0 && (*srcptr == '\'' || *srcptr == '"')) { in strsep_quote()
379 quot = *srcptr++; in strsep_quote()
382 if (quot && *srcptr == quot) { in strsep_quote()
385 srcptr++; in strsep_quote()
388 if (!quot && strchr(delim, *srcptr)) in strsep_quote()
390 *dstptr++ = *srcptr++; in strsep_quote()
393 *stringp = (*srcptr == '\0') ? NULL : srcptr + 1; in strsep_quote()