Home
last modified time | relevance | path

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

123456

/external/elfutils/lib/
Dcolor.c222 color_address = xstrdup ("\e[38;5;166;1m"); in parse_opt()
223 color_bytes = xstrdup ("\e[38;5;141m"); in parse_opt()
224 color_mnemonic = xstrdup ("\e[38;5;202;1m"); in parse_opt()
225 color_operand1 = xstrdup ("\e[38;5;220m"); in parse_opt()
226 color_operand2 = xstrdup ("\e[38;5;48m"); in parse_opt()
227 color_operand = xstrdup ("\e[38;5;112m"); in parse_opt()
228 color_label = xstrdup ("\e[38;5;21m"); in parse_opt()
/external/openssh/
Dcanohost.c103 return xstrdup(ntop); in get_socket_address()
106 return xstrdup(((struct sockaddr_un *)&addr)->sun_path); in get_socket_address()
120 return xstrdup("UNKNOWN"); in get_peer_ipaddr()
130 return xstrdup("UNKNOWN"); in get_local_ipaddr()
145 host = xstrdup("UNKNOWN"); in get_local_name()
147 host = xstrdup(myname); in get_local_name()
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.c430 xstrdup(path); in add_certificate_file()
445 path = xstrdup(filename); in add_identity_file()
516 argv[2] = xstrdup(cmd); in execute_in_shell()
564 host = xstrdup(options->hostname); in match_cfg_line()
570 host = xstrdup(host_arg); in match_cfg_line()
611 criteria = xstrdup(host); in match_cfg_line()
616 criteria = xstrdup(original_host); in match_cfg_line()
621 criteria = xstrdup(ruser); in match_cfg_line()
626 criteria = xstrdup(pw->pw_name); in match_cfg_line()
660 criteria = xstrdup(cmd); in match_cfg_line()
[all …]
Dmatch.c182 char *hostcopy = xstrdup(host); in match_hostname()
239 pat = xstrdup(pattern); in match_user()
263 c = cp = xstrdup(client); in match_list()
264 s = sp = xstrdup(server); in match_list()
279 ret = xstrdup(p); in match_list()
Dservconf.c225 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); in fill_default_server_options()
245 options->xauth_location = xstrdup(_PATH_XAUTH); in fill_default_server_options()
320 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS); in fill_default_server_options()
322 xstrdup(_PATH_SSH_USER_PERMITTED_KEYS2); in fill_default_server_options()
331 options->version_addendum = xstrdup(""); in fill_default_server_options()
609 return xstrdup("none"); in derelativise_path()
668 xstrdup(addr); in queue_listen_addr()
1125 xstrdup(arg) : derelativise_path(arg); in process_server_config_line()
1189 *charptr = xstrdup(arg); in process_server_config_line()
1392 xstrdup(arg); in process_server_config_line()
[all …]
Dssh.c358 *namep = xstrdup(cname); in check_follow_cname()
398 *hostp = xstrdup(newname); in resolve_canonicalize()
406 fullhost = xstrdup(*hostp); in resolve_canonicalize()
539 saved_av[i] = xstrdup(av[i]); in main()
694 cp = xstrdup("1\n2"); in main()
696 cp = xstrdup("2"); in main()
731 options.pkcs11_provider = xstrdup(optarg); in main()
743 options.proxy_command = xstrdup("none"); in main()
825 options.ciphers = xstrdup(optarg); in main()
837 options.ciphers = xstrdup("3des-cbc"); in main()
[all …]
Dauth-bsdauth.c87 *name = xstrdup(""); in bsdauth_query()
88 *infotxt = xstrdup(""); in bsdauth_query()
92 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
Dsftp.c356 return (xstrdup(path)); in path_strip()
362 return (xstrdup(path + len)); in path_strip()
365 return (xstrdup(path)); in path_strip()
610 abs_src = xstrdup(src); in process_get()
637 tmp = xstrdup(g.gl_pathv[i]); in process_get()
649 abs_dst = xstrdup(dst); in process_get()
654 abs_dst = xstrdup(filename); in process_get()
699 tmp_dst = xstrdup(dst); in process_put()
730 tmp = xstrdup(g.gl_pathv[i]); in process_put()
743 abs_dst = xstrdup(tmp_dst); in process_put()
[all …]
Dauth-skey.c63 *name = xstrdup(""); in skey_query()
64 *infotxt = xstrdup(""); in skey_query()
Dmisc.c210 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
211 copy->pw_passwd = xstrdup(pw->pw_passwd); in pwcopy()
213 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
224 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
226 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
227 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
257 sp = xstrdup(s); in a2tun()
377 return(xstrdup(host)); in put_host_port()
495 host = xstrdup(cleanhostname(cp)); in parse_user_host_port()
595 return (xstrdup(filename)); in tilde_expand_filename()
[all …]
Dauth2.c236 authctxt->user = xstrdup(user); in input_userauth_request()
256 authctxt->service = xstrdup(service); in input_userauth_request()
257 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request()
473 omethods = methods = xstrdup(_methods); in auth2_methods_valid()
532 xstrdup(options.auth_methods[i]); in auth2_setup_methods_lists()
589 *methods = xstrdup(p); in remove_method()
/external/dtc/
Ddtc-lexer.l101 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
158 yylval.labelref = xstrdup(yytext);
208 yylval.labelref = xstrdup(yytext+1);
215 yylval.labelref = xstrdup(yytext+2);
233 yylval.propnodename = xstrdup((yytext[0] == '\\') ?
Dfstree.c61 prop = build_property(xstrdup(de->d_name), in read_fstree()
71 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
Dsrcpos.c76 fullname = xstrdup(fname); in try_open()
124 fullname = xstrdup("<stdin>"); in srcfile_relative_open()
190 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/external/u-boot/scripts/dtc/
Ddtc-lexer.l101 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
158 yylval.labelref = xstrdup(yytext);
208 yylval.labelref = xstrdup(yytext+1);
215 yylval.labelref = xstrdup(yytext+2);
233 yylval.propnodename = xstrdup((yytext[0] == '\\') ?
Dfstree.c61 prop = build_property(xstrdup(de->d_name), in read_fstree()
71 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
Dsrcpos.c76 fullname = xstrdup(fname); in try_open()
124 fullname = xstrdup("<stdin>"); in srcfile_relative_open()
190 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/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()
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()
Dcrond.c277 j->cmd = xstrdup(line); in parse_line()
287 if (!strcmp(name, "MAILTO")) cfile->mailto = xstrdup(val); in parse_line()
290 v->name = xstrdup(name); in parse_line()
291 v->val = xstrdup(val); in parse_line()
390 cfile->username = xstrdup(entry->d_name); in scan_cronfiles()
643 if (!TT.crontabs_dir) TT.crontabs_dir = xstrdup("/var/spool/cron/crontabs/"); in crond_main()
/external/elfutils/src/
Delfcompress.c69 p->pattern = xstrdup (pattern); in add_pattern()
583 fnew = xstrdup (foutput); in process_file()
710 sname = xstrdup (sname); in process_file()
765 shstrtab_name = xstrdup (sname); in process_file()
766 shstrtab_newname = xstrdup (newname); in process_file()
772 symtab_name = xstrdup (sname); in process_file()
773 symtab_newname = xstrdup (newname); in process_file()
821 shstrtab_name = xstrdup (sname); in process_file()
823 ? NULL : xstrdup (newname)); in process_file()
829 symtab_name = xstrdup (sname); in process_file()
[all …]
/external/toybox/toys/net/
Drfkill.c91 if (strstart(&s, "RFKILL_NAME=")) name = xstrdup(s); in rfkill_main()
92 else if (strstart(&s, "RFKILL_TYPE=")) type = xstrdup(s); in rfkill_main()
/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/wayland/src/
Dscanner.c278 xstrdup(const char *s) in xstrdup() function
289 u = xstrdup(src); in uppercase_dup()
426 message->name = xstrdup(name); in create_message()
449 arg->name = xstrdup(name); in create_arg()
512 enumeration->name = xstrdup(name); in create_enumeration()
527 entry->name = xstrdup(name); in create_entry()
529 entry->value = xstrdup(value); in create_entry()
567 interface->name = xstrdup(name); in create_interface()
704 ctx->protocol->name = xstrdup(name); in start_element()
761 arg->interface_name = xstrdup(interface_name); in start_element()
[all …]

123456