Home
last modified time | relevance | path

Searched refs:cleantoken (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dio.c171 clean_token(char *cleantoken, char *token) in clean_token() argument
183 (void) strcpy(cleantoken, ptr); in clean_token()
187 for (ptr = cleantoken + strlen(cleantoken) - 1; in clean_token()
188 isspace(*ptr) && (ptr >= cleantoken); ptr--) { in clean_token()
418 TOKEN token, cleantoken; in input() local
680 clean_token(cleantoken, token); in input()
685 if ((strcmp(cleantoken, "") == 0) && (type != FIO_BLNK)) { in input()
744 if ((strcmp(cleantoken, "?") == 0) || in input()
745 (strcmp(cleantoken, "h") == 0) || in input()
746 (strcmp(cleantoken, "help") == 0)) { in input()
[all …]
H A Dio.h104 void clean_token(char *cleantoken, char *token);
H A Dmenu_command.c144 TOKEN token, cleantoken; in c_disk() local
157 clean_token(cleantoken, token); in c_disk()
162 if (geti(cleantoken, &index, NULL)) in c_disk()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c133 static void clean_token(char *cleantoken, char *token);
134 static void clean_token(char *cleantoken, char *token);
404 clean_token(char *cleantoken, char *token) in clean_token() argument
418 (void) strcpy(cleantoken, ptr); in clean_token()
422 for (ptr = cleantoken + strlen(cleantoken) - 1; in clean_token()
423 isspace(*ptr) && (ptr >= cleantoken); ptr--) { in clean_token()