Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 25 of 120) sorted by relevance

12345

/external/openssh/
Dcanohost.c77 return xstrdup(ntop); in get_remote_hostname()
84 return xstrdup(ntop); in get_remote_hostname()
99 return xstrdup(ntop); in get_remote_hostname()
124 return xstrdup(ntop); in get_remote_hostname()
140 return xstrdup(ntop); in get_remote_hostname()
142 return xstrdup(name); in get_remote_hostname()
281 return xstrdup(ntop); in get_socket_address()
291 return xstrdup("UNKNOWN"); in get_peer_ipaddr()
301 return xstrdup("UNKNOWN"); in get_local_ipaddr()
317 host = xstrdup(myname); in get_local_name()
[all …]
Dreadpass.c107 pass = xstrdup(buf); in ssh_askpass()
145 return (flags & RP_ALLOW_EOF) ? NULL : xstrdup(""); in read_passphrase()
154 return xstrdup(""); in read_passphrase()
161 return xstrdup(""); in read_passphrase()
164 ret = xstrdup(buf); in read_passphrase()
Dauth2-jpake.c232 style = xstrdup("blowfish,6"); in fake_salt_and_scheme()
241 *scheme = xstrdup("md5"); in fake_salt_and_scheme()
243 *salt = xstrdup(makesalt(2, authctxt->user)); in fake_salt_and_scheme()
244 *scheme = xstrdup("crypt"); in fake_salt_and_scheme()
252 *scheme = xstrdup("crypt-extended"); in fake_salt_and_scheme()
259 *scheme = xstrdup("bcrypt"); in fake_salt_and_scheme()
296 *hash_scheme = xstrdup("bcrypt"); in auth2_jpake_get_pwdata()
306 *hash_scheme = xstrdup("bcrypt"); in auth2_jpake_get_pwdata()
319 *hash_scheme = xstrdup("md5crypt"); in auth2_jpake_get_pwdata()
330 *hash_scheme = xstrdup("crypt-extended"); in auth2_jpake_get_pwdata()
[all …]
Dmatch.c223 pat = xstrdup(pattern); in match_user()
247 c = cp = xstrdup(client); in match_list()
248 s = sp = xstrdup(server); in match_list()
263 ret = xstrdup(p); in match_list()
Dreadconf.c589 *charptr = xstrdup(arg); in process_config_line()
606 *charptr = xstrdup(arg); in process_config_line()
620 cpptr[(*uintptr)++] = xstrdup(arg); in process_config_line()
658 *charptr = xstrdup(s + len); in process_config_line()
703 options->ciphers = xstrdup(arg); in process_config_line()
714 options->macs = xstrdup(arg); in process_config_line()
726 options->kex_algorithms = xstrdup(arg); in process_config_line()
737 options->hostkeyalgorithms = xstrdup(arg); in process_config_line()
898 xstrdup(arg); in process_config_line()
1313 xstrdup(_PATH_SSH_SYSTEM_HOSTFILE); in fill_default_options()
[all …]
Dauth-bsdauth.c80 *name = xstrdup(""); in bsdauth_query()
81 *infotxt = xstrdup(""); in bsdauth_query()
85 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
Dmisc.c207 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
208 copy->pw_passwd = pw->pw_passwd ? xstrdup(pw->pw_passwd) : NULL; in pwcopy()
210 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
221 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
223 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
224 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
254 sp = xstrdup(s); in a2tun()
369 return(xstrdup(host)); in put_host_port()
526 return (xstrdup(filename)); in tilde_expand_filename()
556 return (xstrdup(ret)); in tilde_expand_filename()
[all …]
Dsftp.c324 return (xstrdup(path)); in path_strip()
330 return (xstrdup(path + len)); in path_strip()
333 return (xstrdup(path)); in path_strip()
528 abs_src = xstrdup(src); in process_get()
551 tmp = xstrdup(g.gl_pathv[i]); in process_get()
563 abs_dst = xstrdup(dst); in process_get()
568 abs_dst = xstrdup(filename); in process_get()
605 tmp_dst = xstrdup(dst); in process_put()
636 tmp = xstrdup(g.gl_pathv[i]); in process_put()
649 abs_dst = xstrdup(tmp_dst); in process_put()
[all …]
Dauth-skey.c63 *name = xstrdup(""); in skey_query()
64 *infotxt = xstrdup(""); in skey_query()
Dcompat.c188 q = s = xstrdup(spec); in proto_spec()
219 tmp = orig_prop = xstrdup(cipher_prop); in compat_cipher_proposal()
228 fix_ciphers = xstrdup(buffer_ptr(&b)); in compat_cipher_proposal()
Dssh.c262 saved_av[i] = xstrdup(av[i]); in main()
411 xstrdup(optarg); in main()
415 options.pkcs11_provider = xstrdup(optarg); in main()
493 options.ciphers = xstrdup(optarg); in main()
514 options.macs = xstrdup(optarg); in main()
583 line = xstrdup(optarg); in main()
595 options.control_path = xstrdup(optarg); in main()
613 p = xstrdup(*av); in main()
725 options.user = xstrdup(pw->pw_name); in main()
1509 xstrdup(options.pkcs11_provider); /* XXX */ in load_public_identity_files()
[all …]
Dauth2.c236 authctxt->user = xstrdup(user); in input_userauth_request()
253 authctxt->service = xstrdup(service); in input_userauth_request()
254 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request()
389 list = xstrdup(buffer_ptr(&b)); in authmethods_get()
Dservconf.c272 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS); in fill_default_server_options()
274 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS2); in fill_default_server_options()
1088 xstrdup(arg); in process_server_config_line()
1098 xstrdup(arg); in process_server_config_line()
1108 xstrdup(arg); in process_server_config_line()
1117 options->deny_groups[options->num_deny_groups++] = xstrdup(arg); in process_server_config_line()
1129 options->ciphers = xstrdup(arg); in process_server_config_line()
1140 options->macs = xstrdup(arg); in process_server_config_line()
1152 options->kex_algorithms = xstrdup(arg); in process_server_config_line()
1185 options->subsystem_name[options->num_subsystems] = xstrdup(arg); in process_server_config_line()
[all …]
Dauth2-chall.c124 kbdintctxt->devices = xstrdup(buffer_ptr(&b)); in kbdint_alloc()
127 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
176 kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL; in kbdint_next_device()
Dxmalloc.h23 char *xstrdup(const char *);
/external/ppp/pppd/plugins/rp-pppoe/
Dpppoe-discovery.c20 char *xstrdup(const char *s);
42 conn->serviceName = xstrdup(optarg); in main()
45 conn->acName = xstrdup(optarg); in main()
60 conn->ifName = xstrdup(optarg); in main()
112 char *xstrdup(const char *s) in xstrdup() function
/external/oprofile/libpopt/
Dsystem.h66 char * xstrdup (const char *str)
72 #define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str))) macro
74 #define xstrdup(_str) strdup(_str) macro
/external/oprofile/libutil/
Dop_libiberty.h54 char * xstrdup(char const *) OP_ATTRIB_MALLOC;
69 #define xstrdup(str) strdup(str) macro
/external/oprofile/daemon/
Dopd_kernel.c48 vmlinux_image.name = xstrdup(name); in opd_create_vmlinux()
73 xen_image.name = xstrdup(name); in opd_create_xen()
99 image->name = xstrdup(name); in opd_create_module()
Dopd_events.c81 char * ev = xstrdup(events); in opd_parse_events()
87 event->name = xstrdup("TIMER"); in opd_parse_events()
/external/dhcpcd/
Dif-options.c139 match = xstrdup(value); in add_environ()
149 lst[i] = xstrdup(value); in add_environ()
166 newlist[i] = xstrdup(value); in add_environ()
283 char *o = xstrdup(arg), *p, *t; in splitv()
289 v[(*argc) - 1] = xstrdup(t); in splitv()
692 ifo->config[s] = xstrdup(arg); in parse_option()
700 ifo->config[s] = xstrdup(arg); in parse_option()
746 ifo->fallback = xstrdup(arg); in parse_option()
/external/oprofile/daemon/liblegacy/
Dopd_mapping.c82 proc->name = xstrdup(image->name); in opd_add_mapping()
135 return hash_name[orighash] = xstrdup(c); in opd_get_hash_name()
/external/bison/src/
Dmuscle_tab.c141 entry->value = xstrdup (val); in muscle_grow()
153 entry->value = xstrdup (new_val); in muscle_grow()
/external/dbus/tools/
Ddbus-launch-x11.c107 display = xstrdup (getenv ("DISPLAY")); in get_session_file()
254 user_name = xstrdup(user->pw_name); in init_x_atoms()
319 *paddress = xstrdup (data); in x11_get_address()
Ddbus-launch.c64 machine_uuid = xstrdup (uuid_arg); in save_machine_uuid()
100 machine_uuid = xstrdup (uuid); in read_machine_uuid_if_needed()
159 xstrdup (const char *str) in xstrdup() function
706 args[0] = xstrdup (runprog); in pass_info()
844 config_file = xstrdup (file); in main()
855 config_file = xstrdup (arg); in main()

12345