Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 25 of 136) 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.c378 path = xstrdup(filename); in add_identity_file()
509 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()
994 *charptr = xstrdup(arg); in process_config_line()
1008 cpptr[(*uintptr)++] = xstrdup(arg); in process_config_line()
1046 *charptr = xstrdup(s + len); in process_config_line()
[all …]
Dservconf.c215 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); in fill_default_server_options()
239 options->xauth_location = xstrdup(_PATH_XAUTH); in fill_default_server_options()
259 options->hostbased_key_types = xstrdup("*"); in fill_default_server_options()
265 options->pubkey_key_types = xstrdup("*"); in fill_default_server_options()
322 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS); in fill_default_server_options()
324 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS2); in fill_default_server_options()
333 options->version_addendum = xstrdup(""); in fill_default_server_options()
582 return xstrdup("none"); in derelativise_path()
1070 xstrdup(arg) : derelativise_path(arg); in process_server_config_line()
1138 *charptr = xstrdup(arg); in process_server_config_line()
[all …]
Dmatch.c224 pat = xstrdup(pattern); in match_user()
248 c = cp = xstrdup(client); in match_list()
249 s = sp = xstrdup(server); in match_list()
264 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()
Dssh.c367 *namep = xstrdup(cname); in check_follow_cname()
405 *hostp = xstrdup(newname); in resolve_canonicalize()
532 saved_av[i] = xstrdup(av[i]); in main()
631 logfile = xstrdup(optarg); in main()
683 cp = xstrdup("1\n2"); in main()
685 cp = xstrdup("2"); in main()
718 options.pkcs11_provider = xstrdup(optarg); in main()
801 options.ciphers = xstrdup(optarg); in main()
822 options.macs = xstrdup(optarg); in main()
890 line = xstrdup(optarg); in main()
[all …]
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.c125 kbdintctxt->devices = xstrdup(buffer_ptr(&b)); in kbdint_alloc()
128 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
179 kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL; in kbdint_next_device()
/external/elfutils/src/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.c83 newp = xstrdup(toybuf); in new_password()
113 else name = xstrdup(pw->pw_name); in passwd_main()
148 orig = xstrdup(orig); in passwd_main()
169 encrypted = xstrdup(&pass[1]); in passwd_main()
172 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 if (inet_ntop(AF_INET, &dest, toybuf, sizeof(toybuf)) ) 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()
554 if (inet_ntop(AF_INET, &gate, toybuf, sizeof(toybuf)) ) gateip = xstrdup(toybuf); in display_routes()
556 if (!notresolve) gateip = xstrdup("*"); in display_routes()
557 else gateip = xstrdup("0.0.0.0"); in display_routes()
560 if (inet_ntop(AF_INET, &mask, toybuf, sizeof(toybuf)) ) 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.c163 modentry->name = xstrdup(name); in get_mod()
207 *li = xstrdup(line); in read_line()
238 linecp = xstrdup(line); in config_action()
335 llist_add(&mod->dep, xstrdup(line)); in find_dep()
342 llist_add_tail(&mod->dep, xstrdup(tok)); in find_dep()
Dcrond.c276 j->cmd = xstrdup(line); in parse_line()
286 if (!strcmp(name, "MAILTO")) cfile->mailto = xstrdup(val); in parse_line()
289 v->name = xstrdup(name); in parse_line()
290 v->val = xstrdup(val); in parse_line()
389 cfile->username = xstrdup(entry->d_name); in scan_cronfiles()
642 if (!TT.crontabs_dir) TT.crontabs_dir = xstrdup("/var/spool/cron/crontabs/"); in crond_main()
/external/toybox/toys/android/
Dgetprop.c33 TT.nv[2*TT.size] = xstrdup(name);
34 TT.nv[1+2*TT.size++] = xstrdup(value);
/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/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/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

123456