Lines Matching refs:tok
312 char *tok;
324 tok = fep->entry;
325 while (*tok && isspace(*tok))
326 tok++;
328 if (*tok == '\0') {
334 tail = strpbrk(tok, "\t\n ");
336 tail = tok + strlen(tok);
341 min = strchr(tok, ':');
346 len = strlen(tok);
354 if (strncmp(entry, tok, len) == 0 &&
386 put_minor_range(new, fep, tok, tail,
388 put_minor_range(new, NULL, tok, tail,
391 put_minor_range(new, fep, tok, tail,
396 } else if (strcmp(entry, tok) == 0 ||
397 (strncmp(entry, tok, len) == 0 &&
539 char *tok;
555 while ((tok = strtok(entry, " \t\n")) != NULL) {
559 if (strchr(tok, '=') == NULL) {
560 if (strchr(tok, ':') != NULL) {
568 if (*tok == '(') {
570 if (parse_minor_range(tok, &ds->dps_lomin,
579 char *tmp = strchr(tok, '*');
593 if (add2str(&res, tok, &sz) != 0)
603 if (parse_plcy_token(tok, ds) != 0) {
610 if (add2str(&res, tok, &sz) != 0)
632 char *dup, *tok, *s1;
644 for (tok = strtok_r(dup, "\n", &s1); tok != NULL;
645 tok = strtok_r(NULL, "\n", &s1)) {
647 tok = strtok(tok, " \n\t");
649 if (delete_one_entry(filename, tok) != 0) {