/freebsd/crypto/openssh/ |
H A D | canohost.c | 106 return xstrdup(ntop); in get_socket_address() 109 return xstrdup(((struct sockaddr_un *)&addr)->sun_path); in get_socket_address() 123 return xstrdup("UNKNOWN"); in get_peer_ipaddr() 133 return xstrdup("UNKNOWN"); in get_local_ipaddr() 148 host = xstrdup("UNKNOWN"); in get_local_name() 150 host = xstrdup(myname); in get_local_name()
|
H A D | match.c | 196 char *hostcopy = xstrdup(host); in match_hostname() 256 pat = xstrdup(pattern); in match_user() 280 c = cp = xstrdup(client); in match_list() 281 s = sp = xstrdup(server); in match_list() 296 ret = xstrdup(p); in match_list()
|
H A D | ssh.c | 413 *namep = xstrdup(cname); in check_follow_cname() 443 *hostp = xstrdup(newname); in resolve_canonicalize() 474 fullhost = xstrdup(*hostp); in resolve_canonicalize() 701 saved_av[i] = xstrdup(av[i]); in main() 815 options.tag = xstrdup(optarg); in main() 850 cp = xstrdup("2"); in main() 858 cp = xstrdup( in main() 1075 line = xstrdup(optarg); in main() 1129 p = xstrdup(*av); in main() 1139 host = xstrdup(cp); in main() [all …]
|
H A D | readconf.c | 483 xstrdup(path); in add_certificate_file() 498 path = xstrdup(filename); in add_identity_file() 561 argv[2] = xstrdup(cmd); in execute_in_shell() 675 host = xstrdup(host_arg); in match_cfg_line() 733 criteria = xstrdup(host); in match_cfg_line() 812 criteria = xstrdup(cmd); in match_cfg_line() 1357 *charptr = xstrdup(arg); in process_config_line_depth() 1570 *charptr = xstrdup(arg); in process_config_line_depth() 1684 arg2 = xstrdup(arg); in process_config_line_depth() 2010 arg2 = xstrdup(arg); in process_config_line_depth() [all …]
|
H A D | auth-bsdauth.c | 85 *name = xstrdup(""); in bsdauth_query() 86 *infotxt = xstrdup(""); in bsdauth_query() 90 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
|
H A D | readpass.c | 108 pass = xstrdup(buf); in ssh_askpass() 172 return (flags & RP_ALLOW_EOF) ? NULL : xstrdup(""); in read_passphrase() 183 return xstrdup(""); in read_passphrase() 190 return xstrdup(""); in read_passphrase() 193 ret = xstrdup(buf); in read_passphrase()
|
H A D | sftp.c | 382 return (xstrdup(path)); in path_strip() 391 return (xstrdup(path)); in path_strip() 692 abs_dst = xstrdup(dst); in process_get() 744 tmp_dst = xstrdup(dst); in process_put() 1643 path1 = xstrdup(startdir); in parse_dispatch_command() 1687 path1 = xstrdup(*pwd); in parse_dispatch_command() 1693 path1 = xstrdup("~"); in parse_dispatch_command() 1897 return xstrdup(word); in complete_ambiguous() 2010 tmp = xstrdup("*"); in complete_match() 2255 dir = xstrdup(file1); in interactive_loop() [all …]
|
H A D | auth.c | 124 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user() 298 extra = xstrdup(authctxt->auth_method_info); in auth_log() 409 return (xstrdup(ret)); in expand_authorized_keys() 644 fake.pw_passwd = xstrdup("$2a$10$" in fakepw() 686 return xstrdup(ntop); in remote_hostname() 698 return xstrdup(ntop); in remote_hostname() 713 return xstrdup(ntop); in remote_hostname() 734 return xstrdup(ntop); in remote_hostname() 749 return xstrdup(ntop); in remote_hostname() 751 return xstrdup(name); in remote_hostname()
|
H A D | servconf.c | 765 return xstrdup("none"); in derelativise_path() 889 qla->addr = xstrdup(addr); in queue_listen_addr() 1572 *charptr = xstrdup(arg); in process_server_config_line_depth() 1718 p = xstrdup(arg); in process_server_config_line_depth() 1976 xstrdup(arg); in process_server_config_line_depth() 2198 arg = xstrdup(arg2); in process_server_config_line_depth() 2331 arg2 = xstrdup(arg); in process_server_config_line_depth() 2378 *charptr = xstrdup(arg); in process_server_config_line_depth() 2468 *charptr = xstrdup(arg); in process_server_config_line_depth() 2561 *charptr = xstrdup(arg); in process_server_config_line_depth() [all …]
|
H A D | misc.c | 538 sp = xstrdup(s); in a2tun() 696 return(xstrdup(host)); in put_host_port() 816 sdup = xstrdup(s); in parse_user_host_path() 826 path = xstrdup(tmp); in parse_user_host_path() 834 user = xstrdup(sdup); in parse_user_host_path() 1020 uridup = tmp = xstrdup(uri); in parse_uri() 1174 *retp = xstrdup(filename); in tilde_expand() 2513 sdup = xstrdup(s); in parse_pattern_interval() 2526 *typep = xstrdup(sdup); in parse_pattern_interval() 2897 name = xstrdup(env); in lookup_setenv_in_list() [all …]
|
H A D | ssh-keygen.c | 327 pass = xstrdup(identity_passphrase); in load_identity() 1547 passphrase = xstrdup(""); in do_change_comment() 1984 from = xstrdup(timespec); in parse_cert_times() 2055 certflags_command = xstrdup(val); in add_cert_option() 2064 certflags_src_addr = xstrdup(val); in add_cert_option() 2523 char *privpath = xstrdup(keypath); in load_sign_key() 3132 ret = xstrdup(application + 6); in sk_suffix() 3134 ret = xstrdup(application + 4); in sk_suffix() 3136 ret = xstrdup(application); in sk_suffix() 3487 opts[nopts++] = xstrdup(optarg); in main() [all …]
|
H A D | auth2.c | 296 authctxt->user = xstrdup(user); in input_userauth_request() 316 authctxt->service = xstrdup(service); in input_userauth_request() 317 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request() 577 omethods = methods = xstrdup(_methods); in auth2_methods_valid() 644 xstrdup(options.auth_methods[i]); in auth2_setup_methods_lists() 701 *methods = xstrdup(p); in remove_method()
|
H A D | ssh-add.c | 331 comment = xstrdup(filename); in add_file() 686 (*listp)[i] = xstrdup(s); in stringlist_append() 700 os = xstrdup(s); in parse_dest_constraint_hop() 714 dch->user = xstrdup(user); in parse_dest_constraint_hop() 729 dch->user = user == NULL ? NULL : xstrdup(user); in parse_dest_constraint_hop() 730 dch->hostname = xstrdup(host); in parse_dest_constraint_hop() 765 os = xstrdup(s); in parse_dest_constraint()
|
/freebsd/usr.bin/logins/ |
H A D | logins.c | 110 xstrdup(const char *str) in xstrdup() function 138 grps[ngrps].gr_name = xstrdup(grp->gr_name); in get_groups() 139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups() 141 grps[ngrps].gr_mem = xstrdup(""); in get_groups() 213 pwds[npwds].pw_name = xstrdup(pwd->pw_name); in get_users() 214 pwds[npwds].pw_passwd = xstrdup(pwd->pw_passwd); in get_users() 218 pwds[npwds].pw_class = xstrdup(pwd->pw_class); in get_users() 219 pwds[npwds].pw_gecos = xstrdup(pwd->pw_gecos); in get_users() 220 pwds[npwds].pw_dir = xstrdup(pwd->pw_dir); in get_users() 221 pwds[npwds].pw_shell = xstrdup(pwd->pw_shell); in get_users()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | iidesc.c | 53 ii->ii_name = xstrdup(name); in iidesc_new() 117 tmpdesc.ii_name = xstrdup(name); in iter_iidescs_by_name() 130 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; in iidesc_dup() 131 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; in iidesc_dup() 149 tgt->ii_name = name ? xstrdup(name) : NULL; in iidesc_dup_rename() 150 tgt->ii_owner = owner ? xstrdup(owner) : NULL; in iidesc_dup_rename()
|
H A D | fixup_tdescs.c | 136 machcpu->t_name = xstrdup("machcpu"); in fix_small_cpu_struct() 149 cpum->ml_name = xstrdup("cpu_m"); in fix_small_cpu_struct()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | agent_fuzz_helper.c | 28 tmp = cp = xstrdup(s); in pubkey_or_die() 69 id->comment = xstrdup("rhododaktulos Eos"); in add_key() 71 id->sk_provider = xstrdup("internal"); in add_key() 88 id->comment = xstrdup("outis"); in add_key() 90 id->sk_provider = xstrdup("internal"); in add_key() 161 allowed_providers = xstrdup(""); in test_one()
|
/freebsd/contrib/flex/src/ |
H A D | sym.c | 120 (void) addsym (xstrdup(ccltxt), in cclinstal() 180 if (addsym (xstrdup(name), in ndinstal() 181 xstrdup(definition), 0, in ndinstal() 226 scname[lastsc] = xstrdup(str); in scinstal()
|
H A D | parse.y | 196 outfilename = xstrdup(nmstr); 200 { extra_type = xstrdup(nmstr); } 202 { prefix = xstrdup(nmstr); 206 { yyclass = xstrdup(nmstr); } 208 { headerfilename = xstrdup(nmstr); } 210 { tablesext = true; tablesfilename = xstrdup(nmstr); }
|
/freebsd/libexec/rtld-elf/ |
H A D | libmap.c | 80 l = xstrdup(libmap_override); in lm_init() 148 p->path = xstrdup(path); in lmc_parse_file() 174 p->path = xstrdup(idir); in lmc_parse_dir() 368 lml = lmp_init(xstrdup(p)); in lm_add() 373 lm->f = xstrdup(f); in lm_add() 374 lm->t = xstrdup(t); in lm_add()
|
/freebsd/contrib/byacc/test/ |
H A D | grammar.y | 257 extern char *xstrdup (const char *); 784 $$->text = xstrdup(buf); 801 $$->text = xstrdup(buf); 809 $$->text = xstrdup(buf); 950 $$->text = xstrdup(buf); 962 $$->text = xstrdup(buf); 970 $$->text = xstrdup(buf);
|
/freebsd/usr.bin/patch/ |
H A D | patch.c | 236 outname = xstrdup(filearg[0]); in main() 578 simple_backup_suffix = xstrdup(optarg); in get_some_switches() 581 origprae = xstrdup(optarg); in get_some_switches() 619 filearg[filec] = xstrdup(optarg); in get_some_switches() 631 outname = xstrdup(optarg); in get_some_switches() 676 filearg[0] = xstrdup(*Argv++); in get_some_switches() 681 filearg[filec] = xstrdup(*Argv++); in get_some_switches()
|
/freebsd/usr.bin/m4/ |
H A D | look.c | 124 d->defn = xstrdup(defn+sizeof(BUILTIN_MARKER)-1); in setup_definition() 129 d->defn = xstrdup(defn); in setup_definition() 238 name2 = xstrdup(name); in setup_builtin()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | memory.h | 45 char *xstrdup(const char *);
|
/freebsd/usr.bin/diff/ |
H A D | xmalloc.h | 25 char *xstrdup(const char *);
|