Searched defs:tokval (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c75 char tokval[100]; member in struct:ruserdata
179 if (token() != ID || strcmp(host, d->tokval))
187 *aname = malloc(strlen(d->tokval) + 1);
188 (void) strcpy(*aname, d->tokval);
190 if (strcmp(*aname, d->tokval))
206 *apass = malloc(strlen(d->tokval) + 1);
207 (void) strcpy(*apass, d->tokval);
218 "Unknown .netrc option %s\n"), d->tokval);
245 cp = d->tokval;
262 if (d->tokval[
[all...]
/illumos-gate/usr/src/lib/libbc/libc/net/
H A Druserpass.c60 char tokval[100]; member in struct:ruserdata
155 if (token() != ID || strcmp(host, d->tokval))
162 *aname = malloc(strlen(d->tokval) + 1);
163 strcpy(*aname, d->tokval);
165 if (strcmp(*aname, d->tokval))
177 *apass = malloc(strlen(d->tokval) + 1);
178 strcpy(*apass, d->tokval);
188 fprintf(stderr, "Unknown .netrc option %s\n", d->tokval);
215 cp = d->tokval;
232 if (d->tokval[
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c67 static char tokval[100]; variable
110 if (token() != ID || strcmp(host, tokval))
124 strlen(tokval) + 1);
130 (void) strcpy(*aname, tokval);
132 if (strcmp(*aname, tokval))
146 *apass = malloc((unsigned)strlen(tokval) + 1);
151 (void) strcpy(*apass, tokval);
164 *aacct = malloc((unsigned)strlen(tokval) + 1);
169 (void) strcpy(*aacct, tokval);
248 fprintf(stderr, "Unknown .netrc keyword %s\n", tokval);
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dexpand.c614 char *tokval; local
619 method_type, &tokval);
622 *retstr = tokval;
626 len = strlen(tokval);
632 free(tokval);
637 (void) strcpy(expanded + ei, tokval);
641 free(tokval);
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c141 char tokval[MAXPATHLEN]; local
155 token = kobj_lex(file, tokval, sizeof (tokval));
170 cfgvar = usba_devdb_get_var_type(tokval);
175 tokval);
187 " for field: %s\n", tokval,
189 } else if (kobj_get_string(&llptr, tokval)) {
218 " for field: %s\n", tokval,
228 "Syntax Error: at %s", tokval);
251 (void) kobj_getvalue(tokval,
[all...]
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dmaster_ops.c263 char tokval[MAXPATHLEN]; local
267 token = mf_lex(file, tokval, sizeof (tokval));
277 d->id = strdup(tokval);
286 m->name = strdup(tokval);
319 m->description = strdup(tokval);
327 p->name = strdup(tokval);
342 p->value = strdup(tokval);
379 token = mf_lex(file, tokval, sizeof (tokval));
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c481 char tokval[MAXLINESIZE]; local
488 token = ib_lex(tokval, errmsg);
497 cfgvar = ib_get_var_type(tokval);
502 tokval);
520 if (ib_get_string(&llptr, tokval)) {
546 "for type: %s\n", tokval,
555 "Syntax Error: at %s", tokval);
573 "Syntax Error: at: %s", tokval);
576 token = ib_lex(tokval, errmsg);
577 if (ib_get_var_type(tokval) !
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c474 char tokval[MAXLINESIZE]; local
495 token = lex(buf, tokval, errmsg);
510 cfgvar = usb_get_var_type(tokval);
515 tokval);
535 "for field: %s\n", tokval,
537 } else if (get_string(&llptr, tokval)) {
567 "for field: %s\n", tokval,
577 "Syntax Error: at %s", tokval);
600 (void) getvalue(tokval, &value);
623 tokval);
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c644 char tokval[MAX_TOKEN_SIZE]; local
654 while ((token = lex(&file, tokval, MAX_TOKEN_SIZE)) != T_EOF) {
663 if ((confent = parse_conf_entry(&file, tokval,
1876 char tokval[MAX_TOKEN_SIZE]; local
1900 while ((token = lex(&file, tokval, MAX_TOKEN_SIZE)) != T_EOF) {
1912 if (strlcpy(devpath, tokval,
1918 if (strlcpy(bindname, tokval,
1930 file_err(&file, tok_err, tokval);
1939 instval = (int)strtol(tokval, NULL, 0);
1943 file_err(&file, tok_err, tokval);
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c759 char tokval[MAXLINESIZE]; local
777 while ((token = kobj_lex(file, tokval,
778 sizeof (tokval))) != EOF) {
794 extra_err, tokval);
797 tokval)) != NULL) {
806 file, tok_err, tokval);
2063 char *tokval; local
2080 tokval = kmem_alloc(MAX_HWC_LINESIZE, KM_SLEEP);
2082 while ((token = kobj_lex(file, tokval, MAX_HWC_LINESIZE)) != EOF) {
2091 hwcp = get_hwc_spec(file, tokval, MAX_HWC_LINESIZ
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c5066 char *tokval, *lastval; local
5083 tokval = (char *)strtok_r(dfltst, ",", &lastval);
5085 if (tokval == NULL) {
5094 tokval = (char *)strtok_r(NULL, ",", &lastval);
5110 tmpname, atoi(tokval));
5114 (uint8_t)atoi(tokval));
5125 (uint32_t)atoi(tokval));

Completed in 96 milliseconds