Lines Matching refs:tmpstr1
52 char *cp, *tmpstr, *tmpstr1; in command() local
55 tmpstr = tmpstr1 = strdup(cmd); in command()
56 for (cp = tmpstr1; *cp && !isspace(*cp); cp++) in command()
60 if (*tmpstr1 == '\0') in command()
64 if (strcmp(tmpstr1, "quit") == 0 || strcmp(tmpstr1, "q") == 0) in command()
66 if (strcmp(tmpstr1, "load") == 0) { in command()
70 if (strcmp(tmpstr1, "stop") == 0) { in command()
76 if (strcmp(tmpstr1, "help") == 0) { in command()
91 t = strtod(tmpstr1, NULL) * 1000000.0; in command()
95 (strcmp(tmpstr1, "start") == 0 || in command()
96 strcmp(tmpstr1, "interval") == 0)) { in command()
111 p = lookup(tmpstr1); in command()
113 error("%s: Ambiguous command.", tmpstr1); in command()
143 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command()
144 error("%s: Unknown command.", tmpstr1); in command()