Home
last modified time | relevance | path

Searched refs:tok1 (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c539 token = kobj_lex(file, tok1, sizeof (tok1)); in do_sysfile_cmd()
548 cp = tok1 + strlen(tok1); in do_sysfile_cmd()
551 if (cp - tok1 >= sizeof (tok1) - 1) { in do_sysfile_cmd()
574 if (kobj_lex(file, tok1, sizeof (tok1)) != NAME) { in do_sysfile_cmd()
593 op = kobj_lex(file, tok1, sizeof (tok1)); in do_sysfile_cmd()
600 var = tok1; in do_sysfile_cmd()
630 switch ((tok3 = kobj_lex(file, tok1, sizeof (tok1)))) { in do_sysfile_cmd()
693 cp = tok1; in do_sysfile_cmd()
703 if (cp - tok1 >= sizeof (tok1) - 1) { in do_sysfile_cmd()
731 cp = tok1; in do_sysfile_cmd()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c215 char *tok1, *tok2; /* holds a token from the line */ in matchname() local
227 tok1 = tok2 = NULL; in matchname()
228 if (((tok1 = gettoken(NULL, FALSE)) == NULL) || in matchname()
236 secp->sc_nfsnum = atoi(tok1); in matchname()
261 char *tok1, *tok2; /* holds a token from the line */ in matchnum() local
269 tok1 = tok2 = NULL; in matchnum()
270 if ((tok1 = gettoken(NULL, FALSE)) == NULL) { in matchnum()
275 if ((secp->sc_nfsnum = atoi(tok1)) != num) { in matchnum()
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c326 char *tok1, *tok2, *tok3; /* holds a token from the line */ in fgetnetconfig() local
358 tok1 = tok2 = tok3 = NULL; in fgetnetconfig()
360 if (((tok1 = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
362 getvalue(tok1, nc_semantics)) == FAILURE) || in fgetnetconfig()
375 free(tok1); in fgetnetconfig()