Lines Matching refs:tok
159 char *tok, buf[BUFSIZ]; in scansys() local
194 tok = strtok(buf, " \t"); in scansys()
195 if (namematch("service=", tok, service)) { in scansys()
232 char *tok, buf[BUFSIZ]; in scancfg() local
244 tok = strtok(buf, " \t"); in scancfg()
245 if (namematch("service=", tok, service)) { in scancfg()
246 tok = strtok((char *)0, " \t"); in scancfg()
247 if (namematch("device=", tok, device)) { in scancfg()
326 char *tok; in tokenize() local
329 while ((tok = strtok(NULL, " \t")) != NULL) { in tokenize()
330 *tokptr++ = tok; in tokenize()
393 char **tptr, *tok; in setfile() local
402 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setfile()
404 if (*tok != '/') in setfile()
408 (void) strcat(expandpath, tok); in setfile()
427 char **tptr, *tok; in setioctl() local
434 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setioctl()
435 *tptr = strsave(tok); in setioctl()
732 char *tok; in setconfig() local
738 tok = strtok(buf, " \t"); in setconfig()
739 if ((tok != NULL) && (*tok != '#')) { in setconfig()
745 if (strncmp("Protocol=", tok, strlen("Protocol=")) == in setconfig()
747 tok += strlen("Protocol="); in setconfig()
748 if (*tok != '\0') { in setconfig()
752 tok); in setconfig()
756 (void) strcpy(_ProtoCfg, tok); in setconfig()
761 tok); in setconfig()