Home
last modified time | relevance | path

Searched refs:tokval (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c65 static char tokval[100]; variable
108 if (token() != ID || strcmp(host, tokval)) in rnetrc()
122 strlen(tokval) + 1); in rnetrc()
128 (void) strcpy(*aname, tokval); in rnetrc()
130 if (strcmp(*aname, tokval)) in rnetrc()
144 *apass = malloc((unsigned)strlen(tokval) + 1); in rnetrc()
149 (void) strcpy(*apass, tokval); in rnetrc()
167 (void) strcpy(*aacct, tokval); in rnetrc()
271 cp = tokval; in token()
300 if (tokval[0] == 0) in token()
[all …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c74 char tokval[100]; member
188 if (token() != ID || strcmp(host, d->tokval)) in rnetrc()
196 *aname = malloc(strlen(d->tokval) + 1); in rnetrc()
197 (void) strcpy(*aname, d->tokval); in rnetrc()
199 if (strcmp(*aname, d->tokval)) in rnetrc()
215 *apass = malloc(strlen(d->tokval) + 1); in rnetrc()
216 (void) strcpy(*apass, d->tokval); in rnetrc()
227 "Unknown .netrc option %s\n"), d->tokval); in rnetrc()
254 cp = d->tokval; in token()
271 if (d->tokval[0] == 0) in token()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c142 char tokval[MAXPATHLEN]; in usba_devdb_get_conf_rec() local
156 token = kobj_lex(file, tokval, sizeof (tokval)); in usba_devdb_get_conf_rec()
171 cfgvar = usba_devdb_get_var_type(tokval); in usba_devdb_get_conf_rec()
176 tokval); in usba_devdb_get_conf_rec()
188 " for field: %s\n", tokval, in usba_devdb_get_conf_rec()
219 " for field: %s\n", tokval, in usba_devdb_get_conf_rec()
229 "Syntax Error: at %s", tokval); in usba_devdb_get_conf_rec()
252 (void) kobj_getvalue(tokval, &value); in usba_devdb_get_conf_rec()
275 "unexpected hex/decimal: %s", tokval); in usba_devdb_get_conf_rec()
280 tokval); in usba_devdb_get_conf_rec()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c472 char tokval[MAXLINESIZE]; in usb_get_conf_rec() local
493 token = lex(buf, tokval, errmsg); in usb_get_conf_rec()
508 cfgvar = usb_get_var_type(tokval); in usb_get_conf_rec()
513 tokval); in usb_get_conf_rec()
533 "for field: %s\n", tokval, in usb_get_conf_rec()
565 "for field: %s\n", tokval, in usb_get_conf_rec()
575 "Syntax Error: at %s", tokval); in usb_get_conf_rec()
598 (void) getvalue(tokval, &value); in usb_get_conf_rec()
621 tokval); in usb_get_conf_rec()
626 "Syntax Error: at: %s", tokval); in usb_get_conf_rec()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dexpand.c612 char *tokval; in expand_method_tokens() local
617 method_type, &tokval); in expand_method_tokens()
620 *retstr = tokval; in expand_method_tokens()
624 len = strlen(tokval); in expand_method_tokens()
630 free(tokval); in expand_method_tokens()
635 (void) strcpy(expanded + ei, tokval); in expand_method_tokens()
639 free(tokval); in expand_method_tokens()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c481 char tokval[MAXLINESIZE]; in ib_get_services() local
488 token = ib_lex(tokval, errmsg); in ib_get_services()
497 cfgvar = ib_get_var_type(tokval); in ib_get_services()
502 tokval); in ib_get_services()
520 if (ib_get_string(&llptr, tokval)) { in ib_get_services()
546 "for type: %s\n", tokval, in ib_get_services()
555 "Syntax Error: at %s", tokval); in ib_get_services()
573 "Syntax Error: at: %s", tokval); in ib_get_services()
576 token = ib_lex(tokval, errmsg); in ib_get_services()
577 if (ib_get_var_type(tokval) != IB_NONE) in ib_get_services()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c644 char tokval[MAX_TOKEN_SIZE]; in parse_conf_file() local
654 while ((token = lex(&file, tokval, MAX_TOKEN_SIZE)) != T_EOF) { in parse_conf_file()
663 if ((confent = parse_conf_entry(&file, tokval, in parse_conf_file()
1876 char tokval[MAX_TOKEN_SIZE]; in devfs_parse_binding_file() local
1900 while ((token = lex(&file, tokval, MAX_TOKEN_SIZE)) != T_EOF) { in devfs_parse_binding_file()
1912 if (strlcpy(devpath, tokval, in devfs_parse_binding_file()
1918 if (strlcpy(bindname, tokval, in devfs_parse_binding_file()
1930 file_err(&file, tok_err, tokval); in devfs_parse_binding_file()
1939 instval = (int)strtol(tokval, NULL, 0); in devfs_parse_binding_file()
1943 file_err(&file, tok_err, tokval); in devfs_parse_binding_file()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c769 char tokval[MAXLINESIZE]; in read_system_file() local
781 while ((token = kobj_lex(file, tokval, in read_system_file()
782 sizeof (tokval))) != EOF) { in read_system_file()
798 extra_err, tokval); in read_system_file()
801 tokval)) != NULL) { in read_system_file()
810 file, tok_err, tokval); in read_system_file()
2096 char *tokval; in hwc_parse_now() local
2113 tokval = kmem_alloc(MAX_HWC_LINESIZE, KM_SLEEP); in hwc_parse_now()
2124 hwcp = get_hwc_spec(file, tokval, MAX_HWC_LINESIZE); in hwc_parse_now()
2163 kobj_file_err(CE_WARN, file, tok_err, tokval); in hwc_parse_now()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c5066 char *tokval, *lastval; in read_mapped_values() local
5083 tokval = (char *)strtok_r(dfltst, ",", &lastval); in read_mapped_values()
5085 if (tokval == NULL) { in read_mapped_values()
5094 tokval = (char *)strtok_r(NULL, ",", &lastval); in read_mapped_values()
5110 tmpname, atoi(tokval)); in read_mapped_values()
5114 (uint8_t)atoi(tokval)); in read_mapped_values()
5125 (uint32_t)atoi(tokval)); in read_mapped_values()