Lines Matching refs:tmpstr1
49 char *cp, *tmpstr, *tmpstr1; in command() local
52 tmpstr = tmpstr1 = strdup(cmd); in command()
53 for (cp = tmpstr1; *cp && !isspace(*cp); cp++) in command()
57 if (*tmpstr1 == '\0') in command()
61 if (strcmp(tmpstr1, "quit") == 0 || strcmp(tmpstr1, "q") == 0) in command()
63 if (strcmp(tmpstr1, "load") == 0) { in command()
67 if (strcmp(tmpstr1, "stop") == 0) { in command()
73 if (strcmp(tmpstr1, "help") == 0) { in command()
88 t = strtod(tmpstr1, NULL) * 1000000.0; in command()
92 (strcmp(tmpstr1, "start") == 0 || in command()
93 strcmp(tmpstr1, "interval") == 0)) { in command()
108 p = lookup(tmpstr1); in command()
110 error("%s: Ambiguous command.", tmpstr1); in command()
140 if (curcmd->c_cmd == NULL || !(*curcmd->c_cmd)(tmpstr1, cp)) in command()
141 error("%s: Unknown command.", tmpstr1); in command()