Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c67 static char tokval[100]; variable
110 if (token() != ID || strcmp(host, tokval)) in rnetrc()
124 strlen(tokval) + 1); in rnetrc()
130 (void) strcpy(*aname, tokval); in rnetrc()
132 if (strcmp(*aname, tokval)) in rnetrc()
146 *apass = malloc((unsigned)strlen(tokval) + 1); in rnetrc()
151 (void) strcpy(*apass, tokval); in rnetrc()
164 *aacct = malloc((unsigned)strlen(tokval) + 1); in rnetrc()
169 (void) strcpy(*aacct, tokval); in rnetrc()
248 fprintf(stderr, "Unknown .netrc keyword %s\n", tokval); in rnetrc()
[all …]
/titanic_44/usr/src/lib/libbc/libc/net/
H A Druserpass.c60 char tokval[100]; member
155 if (token() != ID || strcmp(host, d->tokval)) in rnetrc()
162 *aname = malloc(strlen(d->tokval) + 1); in rnetrc()
163 strcpy(*aname, d->tokval); in rnetrc()
165 if (strcmp(*aname, d->tokval)) in rnetrc()
177 *apass = malloc(strlen(d->tokval) + 1); in rnetrc()
178 strcpy(*apass, d->tokval); in rnetrc()
188 fprintf(stderr, "Unknown .netrc option %s\n", d->tokval); in rnetrc()
215 cp = d->tokval; in token()
232 if (d->tokval[0] == 0) in token()
[all …]
/titanic_44/usr/src/lib/libsocket/inet/
H A Druserpass.c75 char tokval[100]; member
179 if (token() != ID || strcmp(host, d->tokval)) in rnetrc()
187 *aname = malloc(strlen(d->tokval) + 1); in rnetrc()
188 (void) strcpy(*aname, d->tokval); in rnetrc()
190 if (strcmp(*aname, d->tokval)) in rnetrc()
206 *apass = malloc(strlen(d->tokval) + 1); in rnetrc()
207 (void) strcpy(*apass, d->tokval); in rnetrc()
218 "Unknown .netrc option %s\n"), d->tokval); in rnetrc()
245 cp = d->tokval; in token()
262 if (d->tokval[0] == 0) in token()
[all …]
/titanic_44/usr/src/uts/intel/io/acpica/
H A Dmaster_ops.c263 char tokval[MAXPATHLEN]; in get_line() local
267 token = mf_lex(file, tokval, sizeof (tokval)); in get_line()
277 d->id = strdup(tokval); in get_line()
286 m->name = strdup(tokval); in get_line()
319 m->description = strdup(tokval); in get_line()
327 p->name = strdup(tokval); in get_line()
342 p->value = strdup(tokval); in get_line()
379 token = mf_lex(file, tokval, sizeof (tokval)); in get_line()
384 token = mf_lex(file, tokval, sizeof (tokval)); in get_line()
/titanic_44/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c141 char tokval[MAXPATHLEN]; in usba_devdb_get_conf_rec() local
155 token = kobj_lex(file, tokval, sizeof (tokval)); in usba_devdb_get_conf_rec()
170 cfgvar = usba_devdb_get_var_type(tokval); in usba_devdb_get_conf_rec()
175 tokval); in usba_devdb_get_conf_rec()
187 " for field: %s\n", tokval, in usba_devdb_get_conf_rec()
189 } else if (kobj_get_string(&llptr, tokval)) { in usba_devdb_get_conf_rec()
218 " for field: %s\n", tokval, in usba_devdb_get_conf_rec()
228 "Syntax Error: at %s", tokval); in usba_devdb_get_conf_rec()
251 (void) kobj_getvalue(tokval, &value); in usba_devdb_get_conf_rec()
274 "unexpected hex/decimal: %s", tokval); in usba_devdb_get_conf_rec()
[all …]
/titanic_44/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c474 char tokval[MAXLINESIZE]; in usb_get_conf_rec() local
495 token = lex(buf, tokval, errmsg); in usb_get_conf_rec()
510 cfgvar = usb_get_var_type(tokval); in usb_get_conf_rec()
515 tokval); in usb_get_conf_rec()
535 "for field: %s\n", tokval, in usb_get_conf_rec()
537 } else if (get_string(&llptr, tokval)) { in usb_get_conf_rec()
567 "for field: %s\n", tokval, in usb_get_conf_rec()
577 "Syntax Error: at %s", tokval); in usb_get_conf_rec()
600 (void) getvalue(tokval, &value); in usb_get_conf_rec()
623 tokval); in usb_get_conf_rec()
[all …]
/titanic_44/usr/src/cmd/svc/startd/
H A Dexpand.c614 char *tokval; in expand_method_tokens() local
619 method_type, &tokval); in expand_method_tokens()
622 *retstr = tokval; in expand_method_tokens()
626 len = strlen(tokval); in expand_method_tokens()
632 free(tokval); in expand_method_tokens()
637 (void) strcpy(expanded + ei, tokval); in expand_method_tokens()
641 free(tokval); in expand_method_tokens()
/titanic_44/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()
/titanic_44/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 …]
/titanic_44/usr/src/uts/common/os/
H A Dmodsysfile.c760 char tokval[MAXLINESIZE]; in mod_read_system_file() local
778 while ((token = kobj_lex(file, tokval, in mod_read_system_file()
779 sizeof (tokval))) != EOF) { in mod_read_system_file()
795 extra_err, tokval); in mod_read_system_file()
798 tokval)) != NULL) { in mod_read_system_file()
807 file, tok_err, tokval); in mod_read_system_file()
2060 char *tokval; in hwc_parse_now() local
2077 tokval = kmem_alloc(MAX_HWC_LINESIZE, KM_SLEEP); in hwc_parse_now()
2079 while ((token = kobj_lex(file, tokval, MAX_HWC_LINESIZE)) != EOF) { in hwc_parse_now()
2088 hwcp = get_hwc_spec(file, tokval, MAX_HWC_LINESIZE); in hwc_parse_now()
[all …]
/titanic_44/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()