Lines Matching refs:tok
159 char *tok, buf[BUFSIZ]; local
166 tok = strtok(buf, " \t");
167 if (namematch("service=", tok, service)) {
203 char *tok, buf[BUFSIZ]; local
217 tok = strtok(buf, " \t");
218 if (namematch("service=", tok, service)) {
219 tok = strtok((char *)0, " \t");
220 if ( namematch("device=", tok, device)) {
302 { char *tok; in tokenize() local
305 while ((tok = strtok((char *) NULL, " \t")) != NULL) { in tokenize()
306 *tokptr++ = tok; in tokenize()
367 { char **tptr, *tok; local
376 for (tok = strtok(line, ":"); tok != NULL;
377 tok = strtok((char *) NULL, ":")) {
379 if ( *tok != '/' )
382 strcat(expandpath, tok);
401 { char **tptr, *tok; local
408 for (tok = strtok(line, ":"); tok != NULL;
409 tok = strtok((char *) NULL, ":")) {
410 *tptr = strsave(tok);
747 char *tok; in setconfig() local
753 tok = strtok(buf, " \t"); in setconfig()
754 if ( (tok != NULL) && (*tok != '#') ) { in setconfig()
760 if (strncmp("Protocol=", tok, strlen("Protocol=")) == SAME) { in setconfig()
761 tok += strlen("Protocol="); in setconfig()
762 if ( *tok != '\0' ) { in setconfig()
764 DEBUG(7, "Protocol string %s ", tok); in setconfig()
767 strcpy(_ProtoCfg, tok); in setconfig()
770 DEBUG(7, "Unknown configuration parameter %s\n", tok); in setconfig()