Lines Matching refs:tk
100 char *tk; in resolve_config() local
102 for (tk = strtok(config, "; \0"); tk; tk = strtok(NULL, "; \0")) { in resolve_config()
103 char *fac = tk, *lvl; in resolve_config()
108 tk = strchr(fac, '.'); in resolve_config()
109 if (!tk) return -1; in resolve_config()
110 *tk = '\0'; in resolve_config()
111 lvl = tk + 1; in resolve_config()
129 for (tk = "!=*"; *tk; tk++, bits <<= 1) { in resolve_config()
130 if (*lvl == *tk) { in resolve_config()
156 char *confline, *tk[2]; in parse_config_file() local
196 tk[0] = confline; in parse_config_file()
197 for (; len && !(*tk[0]==' ' || *tk[0]=='\t'); tk[0]++, len--); in parse_config_file()
198 for (tk[1] = tk[0]; len && (*tk[1]==' ' || *tk[1]=='\t'); tk[1]++, len--); in parse_config_file()
199 if (!len || (len == 1 && *tk[1] == '\n')) { in parse_config_file()
203 else if (*(tk[1] + len - 1) == '\n') *(tk[1] + len - 1) = '\0'; in parse_config_file()
204 *tk[0] = '\0'; in parse_config_file()
205 if (*tk[1] != '*') { in parse_config_file()
207 while (file && strcmp(file->filename, tk[1])) file = file->next; in parse_config_file()
210 file->filename = xstrdup(tk[1]); in parse_config_file()