Lines Matching refs:cleantoken

198 clean_token(cleantoken, token)
199 char *cleantoken, *token;
211 (void) strcpy(cleantoken, ptr);
215 for (ptr = cleantoken + strlen(cleantoken) - 1;
216 isspace(*ptr) && (ptr >= cleantoken); ptr--) {
456 TOKEN token, cleantoken;
718 clean_token(cleantoken, token);
723 if ((strcmp(cleantoken, "") == 0) && (type != FIO_BLNK)) {
782 if ((strcmp(cleantoken, "?") == 0) ||
783 (strcmp(cleantoken, "h") == 0) ||
784 (strcmp(cleantoken, "help") == 0)) {
815 if (geti64(cleantoken, (uint64_t *)&bn64,
819 if (getbn(cleantoken, &bn64))
855 if (geti(cleantoken, (int *)&bn, (int *)NULL))
885 if (geti64(cleantoken, (uint64_t *)&bn64, (uint64_t *)NULL)) {
919 if (geti(cleantoken, (int *)&bn, (int *)NULL))
952 if (strcmp(cleantoken, *str) == 0)
960 err_print("`%s' is not expected.\n", cleantoken);
983 i = strcnt(cleantoken, *str);
987 if ((uint_t)i < strlen(cleantoken))
1011 cleantoken);
1019 err_print("`%s' is ambiguous.\n", cleantoken);
1069 cleantoken, &value);
1082 cleantoken);
1085 cleantoken);
1113 s = cleantoken;
1132 if (strcmp(cleantoken, WILD_STRING) == 0) {
1139 if (strcmp(cleantoken, "0") == 0) {
1146 if ((value == 0) && (strchr(cleantoken, '.') != NULL)) {
1157 if (geti64(cleantoken, &bn64, &bounds->upper))
1190 if (geti(cleantoken, &cyls, &i))
1207 if (sscanf(cleantoken, "%f2", &nmegs) != 1) {
1209 cleantoken);
1233 if (sscanf(cleantoken, "%f2", &ngigs) != 1) {
1235 cleantoken);
1291 s = cleantoken;
1312 if (strcmp(cleantoken, WILD_STRING) == 0) {
1321 if (value != 'e' && strcmp(cleantoken, "0") == 0) {
1330 if ((value == 0) && (strchr(cleantoken, '.') != NULL)) {
1342 if (geti64(cleantoken, &bn64, &bounds->upper))
1379 if (geti(cleantoken, &cylno, (int *)NULL)) {
1422 if (geti(cleantoken, &cyls, &i))
1445 if (sscanf(cleantoken, "%f2", &nmegs) != 1) {
1447 cleantoken);
1476 if (sscanf(cleantoken, "%f2", &ngigs) != 1) {
1478 cleantoken);
1537 s = cleantoken;
1558 if (strcmp(cleantoken, WILD_STRING) == 0) {
1568 if (value != 'e' && strcmp(cleantoken, "0") == 0) {
1577 if ((value == 0) && (strchr(cleantoken, '.') != NULL)) {
1589 if (geti64(cleantoken, &blokno, (uint64_t *)NULL)) {
1605 if (geti64(cleantoken, &blokno, (uint64_t *)NULL)) {
1640 if (sscanf(cleantoken, "%f2", &nmegs) != 1) {
1642 cleantoken);
1657 if (sscanf(cleantoken, "%f2", &nmegs) != 1) {
1659 cleantoken);
1670 if (sscanf(cleantoken, "%f2", &nmegs) != 1) {
1672 cleantoken);