Home
last modified time | relevance | path

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

123456

/external/bison/src/
Dfiles.c147 src_extension = xstrdup (language->src_extension); in compute_exts_from_gf()
148 header_extension = xstrdup (language->header_extension); in compute_exts_from_gf()
152 src_extension = xstrdup (ext); in compute_exts_from_gf()
153 header_extension = xstrdup (ext); in compute_exts_from_gf()
168 src_extension = xstrdup (ext); in compute_exts_from_src()
169 header_extension = xstrdup (ext); in compute_exts_from_src()
266 all_but_tab_ext = xstrdup (spec_file_prefix); in compute_file_name_parts()
271 dir_prefix = xstrdup (""); in compute_file_name_parts()
272 all_but_tab_ext = xstrdup ("y"); in compute_file_name_parts()
278 dir_prefix = xstrdup (""); in compute_file_name_parts()
[all …]
Dgetargs.c666 spec_defines_file = xstrdup (AS_FILE_NAME (optarg)); in getargs()
675 spec_graph_file = xstrdup (AS_FILE_NAME (optarg)); in getargs()
715 spec_xml_file = xstrdup (AS_FILE_NAME (optarg)); in getargs()
737 spec_verbose_file = xstrdup (AS_FILE_NAME (optarg)); in getargs()
/external/openssh/
Dcanohost.c76 return xstrdup(ntop); in get_remote_hostname()
83 return xstrdup(ntop); in get_remote_hostname()
98 return xstrdup(ntop); in get_remote_hostname()
119 return xstrdup(ntop); in get_remote_hostname()
135 return xstrdup(ntop); in get_remote_hostname()
137 return xstrdup(name); in get_remote_hostname()
278 return xstrdup(ntop); in get_socket_address()
281 return xstrdup(((struct sockaddr_un *)&addr)->sun_path); in get_socket_address()
295 return xstrdup("UNKNOWN"); in get_peer_ipaddr()
305 return xstrdup("UNKNOWN"); in get_local_ipaddr()
[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()
Dreadconf.c380 path = xstrdup(filename); in add_identity_file()
510 host = xstrdup(host_arg); in match_cfg_line()
550 criteria = xstrdup(host); in match_cfg_line()
555 criteria = xstrdup(original_host); in match_cfg_line()
560 criteria = xstrdup(ruser); in match_cfg_line()
565 criteria = xstrdup(pw->pw_name); in match_cfg_line()
599 criteria = xstrdup(cmd); in match_cfg_line()
996 *charptr = xstrdup(arg); in process_config_line()
1010 cpptr[(*uintptr)++] = xstrdup(arg); in process_config_line()
1048 *charptr = xstrdup(s + len); in process_config_line()
[all …]
Dservconf.c223 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); in fill_default_server_options()
247 options->xauth_location = xstrdup(_PATH_XAUTH); in fill_default_server_options()
267 options->hostkeyalgorithms = xstrdup(KEX_DEFAULT_PK_ALG); in fill_default_server_options()
330 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS); in fill_default_server_options()
332 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS2); in fill_default_server_options()
341 options->version_addendum = xstrdup(""); in fill_default_server_options()
609 return xstrdup("none"); in derelativise_path()
668 xstrdup(addr); in queue_listen_addr()
1131 xstrdup(arg) : derelativise_path(arg); in process_server_config_line()
1199 *charptr = xstrdup(arg); in process_server_config_line()
[all …]
Dssh.c366 *namep = xstrdup(cname); in check_follow_cname()
404 *hostp = xstrdup(newname); in resolve_canonicalize()
531 saved_av[i] = xstrdup(av[i]); in main()
630 logfile = xstrdup(optarg); in main()
682 cp = xstrdup("1\n2"); in main()
684 cp = xstrdup("2"); in main()
717 options.pkcs11_provider = xstrdup(optarg); in main()
801 options.ciphers = xstrdup(optarg); in main()
813 options.ciphers = xstrdup("3des-cbc"); in main()
815 options.ciphers = xstrdup("blowfish-cbc"); in main()
[all …]
Dmatch.c222 pat = xstrdup(pattern); in match_user()
246 c = cp = xstrdup(client); in match_list()
247 s = sp = xstrdup(server); in match_list()
262 ret = xstrdup(p); in match_list()
Dauth-bsdauth.c87 *name = xstrdup(""); in bsdauth_query()
88 *infotxt = xstrdup(""); in bsdauth_query()
92 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
Dsftp.c343 return (xstrdup(path)); in path_strip()
349 return (xstrdup(path + len)); in path_strip()
352 return (xstrdup(path)); in path_strip()
597 abs_src = xstrdup(src); in process_get()
624 tmp = xstrdup(g.gl_pathv[i]); in process_get()
636 abs_dst = xstrdup(dst); in process_get()
641 abs_dst = xstrdup(filename); in process_get()
684 tmp_dst = xstrdup(dst); in process_put()
715 tmp = xstrdup(g.gl_pathv[i]); in process_put()
728 abs_dst = xstrdup(tmp_dst); in process_put()
[all …]
Dauth2.c235 authctxt->user = xstrdup(user); in input_userauth_request()
252 authctxt->service = xstrdup(service); in input_userauth_request()
253 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request()
428 list = xstrdup(buffer_ptr(&b)); in authmethods_get()
467 omethods = methods = xstrdup(_methods); in auth2_methods_valid()
526 xstrdup(options.auth_methods[i]); in auth2_setup_methods_lists()
583 *methods = xstrdup(p); in remove_method()
Dmisc.c209 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
210 copy->pw_passwd = pw->pw_passwd ? xstrdup(pw->pw_passwd) : NULL; in pwcopy()
212 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
223 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
225 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
226 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
256 sp = xstrdup(s); in a2tun()
371 return(xstrdup(host)); in put_host_port()
528 return (xstrdup(filename)); in tilde_expand_filename()
618 return (xstrdup(buf)); in percent_expand()
[all …]
Dauth-skey.c63 *name = xstrdup(""); in skey_query()
64 *infotxt = xstrdup(""); in skey_query()
Dauth2-chall.c126 kbdintctxt->devices = xstrdup(buffer_ptr(&b)); in kbdint_alloc()
129 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
184 kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL; in kbdint_next_device()
/external/elfutils/lib/
Dcolor.c214 color_address = xstrdup ("\e[38;5;166;1m"); in parse_opt()
215 color_bytes = xstrdup ("\e[38;5;141m"); in parse_opt()
216 color_mnemonic = xstrdup ("\e[38;5;202;1m"); in parse_opt()
217 color_operand1 = xstrdup ("\e[38;5;220m"); in parse_opt()
218 color_operand2 = xstrdup ("\e[38;5;48m"); in parse_opt()
219 color_operand3 = xstrdup ("\e[38;5;112m"); in parse_opt()
220 color_label = xstrdup ("\e[38;5;21m"); in parse_opt()
/external/toybox/toys/lsb/
Dpasswd.c90 newp = xstrdup(toybuf); in new_password()
120 else name = xstrdup(pw->pw_name); in passwd_main()
154 orig = xstrdup(orig); in passwd_main()
175 encrypted = xstrdup(&pass[1]); in passwd_main()
178 encrypted = xstrdup(""); //1 = "", 2 = '\0' in passwd_main()
/external/toybox/toys/pending/
Dfsck.c96 temp->device = xstrdup(f_info->mnt_fsname); in create_db()
97 temp->mountpt = xstrdup(f_info->mnt_dir); in create_db()
98 if (strchr(f_info->mnt_type, ',')) temp->type = xstrdup("auto"); in create_db()
99 else temp->type = xstrdup(f_info->mnt_type); in create_db()
100 temp->opts = xstrdup(f_info->mnt_opts); in create_db()
207 if(*toys.optargs[j]) args[i++] = xstrdup(toys.optargs[j]); in do_fsck()
235 child->dev_name = xstrdup(finfo->device); in do_fsck()
373 dlist_add(&TT.devices, xstrdup(*arg)); in fsck_main()
Dnetstat.c548 destip = xstrdup(toybuf); in display_routes()
550 if (!notresolve) destip = xstrdup("default"); in display_routes()
551 else destip = xstrdup("0.0.0.0"); in display_routes()
556 gateip = xstrdup(toybuf); in display_routes()
558 if (!notresolve) gateip = xstrdup("*"); in display_routes()
559 else gateip = xstrdup("0.0.0.0"); in display_routes()
564 maskip = xstrdup(toybuf); in display_routes()
Dinit.c116 x->command = xstrdup(command); in add_new_action()
117 x->terminal_name = xstrdup(term); in add_new_action()
154 } else tty_name = xstrdup(""); in inittab_parsing()
168 command = xstrdup(extracted_token); in inittab_parsing()
Dmodprobe.c161 modentry->name = xstrdup(name); in get_mod()
205 *li = xstrdup(line); in read_line()
236 linecp = xstrdup(line); in config_action()
334 llist_add(&mod->dep, xstrdup(line)); in find_dep()
341 llist_add_tail(&mod->dep, xstrdup(tok)); in find_dep()
/external/elfutils/src/
Delfcompress.c74 p->pattern = xstrdup (pattern); in add_pattern()
547 fnew = xstrdup (foutput); in process_file()
674 sname = xstrdup (sname); in process_file()
729 shstrtab_name = xstrdup (sname); in process_file()
730 shstrtab_newname = xstrdup (newname); in process_file()
736 symtab_name = xstrdup (sname); in process_file()
737 symtab_newname = xstrdup (newname); in process_file()
785 shstrtab_name = xstrdup (sname); in process_file()
787 ? NULL : xstrdup (newname)); in process_file()
793 symtab_name = xstrdup (sname); in process_file()
[all …]
/external/toybox/toys/other/
Drfkill.c87 if (strstart(&s, "RFKILL_NAME=")) name = xstrdup(s); in rfkill_main()
88 else if (strstart(&s, "RFKILL_TYPE=")) type = xstrdup(s); in rfkill_main()
/external/toybox/toys/android/
Dgetprop.c48 TT.nv[2*TT.size] = xstrdup(name); in add_property()
52 TT.nv[1+2*TT.size++] = xstrdup(value); in add_property()
/external/ppp/pppd/plugins/rp-pppoe/
Dpppoe-discovery.c50 char *xstrdup(const char *s);
650 conn->serviceName = xstrdup(optarg); in main()
653 conn->acName = xstrdup(optarg); in main()
668 conn->ifName = xstrdup(optarg); in main()
712 char *xstrdup(const char *s) in xstrdup() function
/external/dbus/tools/
Ddbus-launch.c105 machine_uuid = xstrdup (uuid_arg); in save_machine_uuid()
141 machine_uuid = xstrdup (uuid); in read_machine_uuid_if_needed()
200 xstrdup (const char *str) in xstrdup() function
757 args[0] = xstrdup (runprog); in pass_info()
901 config_file = xstrdup (file); in main()
912 config_file = xstrdup (arg); in main()

123456