Lines Matching refs:tmpstr1
55 char *cp, *tmpstr, *tmpstr1; in command() local
58 tmpstr = tmpstr1 = strdup(cmd); in command()
59 for (cp = tmpstr1; *cp && !isspace(*cp); cp++) in command()
63 if (*tmpstr1 == '\0') in command()
67 if (strcmp(tmpstr1, "quit") == 0 || strcmp(tmpstr1, "q") == 0) in command()
69 if (strcmp(tmpstr1, "load") == 0) { in command()
73 if (strcmp(tmpstr1, "stop") == 0) { in command()
79 if (strcmp(tmpstr1, "help") == 0) { in command()
94 t = strtod(tmpstr1, NULL) * 1000000.0; in command()
98 (strcmp(tmpstr1, "start") == 0 || in command()
99 strcmp(tmpstr1, "interval") == 0)) { in command()
114 p = lookup(tmpstr1); in command()
116 error("%s: Ambiguous command.", tmpstr1); in command()
146 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command()
147 error("%s: Unknown command.", tmpstr1); in command()