Lines Matching refs:cp
205 char *cp = line; in make_args() local
208 while (*cp) { in make_args()
210 cp += strspn(cp, ws); in make_args()
212 if (*cp == '\0') in make_args()
221 if (*cp == '\'' || *cp == '"') { in make_args()
222 char quote = *cp++; in make_args()
224 n_argv[n_argc++] = cp; in make_args()
226 cp = strchr(cp, quote); in make_args()
227 if (!cp) { in make_args()
233 n_argv[n_argc++] = cp; in make_args()
236 cp += strcspn(cp, ws); in make_args()
237 if (*cp == '\0') in make_args()
242 *cp++ = 0; in make_args()
276 char *cp; in do_batch() local
304 cp = strchr(buf, '#'); in do_batch()
305 if (cp) in do_batch()
306 *cp = '\0'; in do_batch()
316 while ((cp = strstr(buf, "\\\n")) != NULL) { in do_batch()
325 cp = strchr(contline, '#'); in do_batch()
326 if (cp) in do_batch()
327 *cp = '\0'; in do_batch()