Searched refs:tok1 (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | modsysfile.c | 517 char tok1[MOD_MAXPATH + 1]; /* used to read the path set by 'moddir' */ in do_sysfile_cmd() local 538 if ((token = kobj_lex(file, tok1, sizeof (tok1))) == COLON) { in do_sysfile_cmd() 539 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() 563 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(tok1) + 1, in do_sysfile_cmd() 565 (void) strcpy(sysp->sys_ptr, tok1); in do_sysfile_cmd() 574 if (kobj_lex(file, tok1, sizeof (tok1)) != NAME) { in do_sysfile_cmd() 591 strlen(tok1) + 1, VM_SLEEP); in do_sysfile_cmd() 592 (void) strcpy(sysp->sys_modnam, tok1); in do_sysfile_cmd() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_sec.c | 215 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 D | netselect.c | 326 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()
|