Lines Matching full:cs
293 char *acs, *cs, *comcs, *devpath; in run_command() local
353 cs = val; in run_command()
355 while ((p = strchr(cs, ' ')) != NULL && strlen(p) > 1) { in run_command()
360 cs = p + 1; in run_command()
366 if ((cs = strchr(val, '|'))) { in run_command()
367 argv[1] = acs = alloca(cs - val + 1); in run_command()
368 strlcpy(acs, val, cs - val + 1); in run_command()
369 addr = cs + 1; in run_command()
375 if (!(cs = strchr(addr, '/'))) { in run_command()
380 } else if (strchr(cs + 1, '.')) { in run_command()
381 argv[3] = acs = alloca(cs - addr + 1); in run_command()
382 strlcpy(acs, addr, cs - addr + 1); in run_command()
384 argv[5] = cs + 1; in run_command()
392 for (cs = strtok(extrap, " "); cs; in run_command()
393 cs = strtok(NULL, " ")) { in run_command()
394 size_t len = strlen(cs) + 1; in run_command()
396 strlcpy(acs, cs, len); in run_command()
410 cs = val; in run_command()
412 while ((p = strchr(cs, ' ')) != NULL && strlen(p) > 1) { in run_command()
417 cs = p + 1; in run_command()
423 if ((cs = strchr(val, '|'))) { in run_command()
424 argv[1] = acs = alloca(cs - val + 1); in run_command()
425 strlcpy(acs, val, cs - val + 1); in run_command()
426 addr = cs + 1; in run_command()
433 if (!(cs = strchr(addr, '/'))) { in run_command()
441 for (cs = strtok(extrap, " "); cs; in run_command()
442 cs = strtok(NULL, " ")) { in run_command()
443 size_t len = strlen(cs) + 1; in run_command()
445 strlcpy(acs, cs, len); in run_command()
470 for (cs = strtok(comcs, " \t\f\v\r\n"); cs && argc < 4; in run_command()
471 cs = strtok(NULL, " \t\f\v\r\n")) { in run_command()
472 if (argc <= 1 && strunvis(cs, cs) < 0) { in run_command()
477 argv[argc++] = cs; in run_command()
634 if ((cs = strpbrk(comstring->s, "!\"$&'()*;<>?[\\]`{|}~")) && in run_command()
635 !(cs[0] == '&' && cs[1] == '\0')) { in run_command()
642 if (cs) { in run_command()
643 *cs = 0; in run_command()
649 for (cs = strtok(comcs, " \t\f\v\r\n"); cs; in run_command()
650 cs = strtok(NULL, " \t\f\v\r\n")) in run_command()
655 for (cs = strtok(comcs, " \t\f\v\r\n"); cs; in run_command()
656 cs = strtok(NULL, " \t\f\v\r\n")) in run_command()
657 argv[argc++] = cs; in run_command()
698 j->comline = cs = emalloc(comlen); in run_command()
700 strcpy(cs, argv[i]); in run_command()
702 cs += strlen(argv[i]) + 1; in run_command()
703 cs[-1] = ' '; in run_command()