Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 25 of 140) 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()
Dxstrdup.c39 xstrdup (const char *string) in xstrdup() function
/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()
Dreadconf.c456 xstrdup(path); in add_certificate_file()
471 path = xstrdup(filename); in add_identity_file()
543 argv[2] = xstrdup(cmd); in execute_in_shell()
592 host = xstrdup(options->hostname); in match_cfg_line()
598 host = xstrdup(host_arg); in match_cfg_line()
647 criteria = xstrdup(host); in match_cfg_line()
652 criteria = xstrdup(original_host); in match_cfg_line()
657 criteria = xstrdup(ruser); in match_cfg_line()
662 criteria = xstrdup(pw->pw_name); in match_cfg_line()
705 criteria = xstrdup(cmd); in match_cfg_line()
[all …]
Dmatch.c196 char *hostcopy = xstrdup(host); in match_hostname()
253 pat = xstrdup(pattern); in match_user()
277 c = cp = xstrdup(client); in match_list()
278 s = sp = xstrdup(server); in match_list()
293 ret = xstrdup(p); in match_list()
Dreadpass.c108 pass = xstrdup(buf); in ssh_askpass()
157 return (flags & RP_ALLOW_EOF) ? NULL : xstrdup(""); in read_passphrase()
168 return xstrdup(""); in read_passphrase()
175 return xstrdup(""); in read_passphrase()
178 ret = xstrdup(buf); in read_passphrase()
Dauth-bsdauth.c85 *name = xstrdup(""); in bsdauth_query()
86 *infotxt = xstrdup(""); in bsdauth_query()
90 (*prompts)[0] = xstrdup(challenge); in bsdauth_query()
Dservconf.c264 (*array)[*lp] = xstrdup(s); in array_append2()
331 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); in fill_default_server_options()
351 options->xauth_location = xstrdup(_PATH_XAUTH); in fill_default_server_options()
450 options->version_addendum = xstrdup(""); in fill_default_server_options()
462 options->sk_provider = xstrdup("internal"); in fill_default_server_options()
757 return xstrdup("none"); in derelativise_path()
811 options->listen_addrs[i].rdomain = xstrdup(rdomain); in add_one_listen_addr()
881 qla->addr = xstrdup(addr); in queue_listen_addr()
883 qla->rdomain = rdomain == NULL ? NULL : xstrdup(rdomain); in queue_listen_addr()
938 oarg = arg = xstrdup(opens[i]); in process_permitopen_list()
[all …]
Dsftp.c376 return (xstrdup(path)); in path_strip()
382 return (xstrdup(path + len)); in path_strip()
385 return (xstrdup(path)); in path_strip()
654 abs_src = xstrdup(src); in process_get()
681 tmp = xstrdup(g.gl_pathv[i]); in process_get()
693 abs_dst = xstrdup(dst); in process_get()
698 abs_dst = xstrdup(filename); in process_get()
743 tmp_dst = xstrdup(dst); in process_put()
774 tmp = xstrdup(g.gl_pathv[i]); in process_put()
787 abs_dst = xstrdup(tmp_dst); in process_put()
[all …]
Dssh.c426 *namep = xstrdup(cname); in check_follow_cname()
456 *hostp = xstrdup(newname); in resolve_canonicalize()
488 fullhost = xstrdup(*hostp); in resolve_canonicalize()
643 saved_av[i] = xstrdup(av[i]); in main()
791 cp = xstrdup("2"); in main()
793 cp = xstrdup(compression_alg_list(0)); in main()
799 cp = xstrdup( in main()
836 options.pkcs11_provider = xstrdup(optarg); in main()
851 options.proxy_command = xstrdup("none"); in main()
936 options.ciphers = xstrdup(optarg); in main()
[all …]
Dmisc.c394 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
395 copy->pw_passwd = pw->pw_passwd ? xstrdup(pw->pw_passwd) : NULL; in pwcopy()
397 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
408 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
410 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
411 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
444 sp = xstrdup(s); in a2tun()
564 return(xstrdup(host)); in put_host_port()
678 sdup = xstrdup(s); in parse_user_host_path()
688 path = xstrdup(tmp); in parse_user_host_path()
[all …]
Dauth.c168 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user()
339 extra = xstrdup(authctxt->auth_method_info); in auth_log()
448 return (xstrdup(ret)); in expand_authorized_keys()
760 return xstrdup(ntop); in remote_hostname()
772 return xstrdup(ntop); in remote_hostname()
787 return xstrdup(ntop); in remote_hostname()
808 return xstrdup(ntop); in remote_hostname()
823 return xstrdup(ntop); in remote_hostname()
825 return xstrdup(name); in remote_hostname()
Dauth2.c286 authctxt->user = xstrdup(user); in input_userauth_request()
306 authctxt->service = xstrdup(service); in input_userauth_request()
307 authctxt->style = style ? xstrdup(style) : NULL; in input_userauth_request()
535 omethods = methods = xstrdup(_methods); in auth2_methods_valid()
602 xstrdup(options.auth_methods[i]); in auth2_setup_methods_lists()
659 *methods = xstrdup(p); in remove_method()
Dssh-keygen.c326 pass = xstrdup(identity_passphrase); in load_identity()
1196 ohosts = hosts = xstrdup(l->hosts); in known_hosts_hash()
1407 old_passphrase = xstrdup(identity_passphrase); in do_change_passphrase()
1426 passphrase1 = xstrdup(identity_new_passphrase); in do_change_passphrase()
1513 passphrase = xstrdup(""); in do_change_comment()
1519 passphrase = xstrdup(identity_passphrase); in do_change_comment()
1521 passphrase = xstrdup(identity_new_passphrase); in do_change_comment()
1783 otmp = tmp = xstrdup(cert_principals); in do_ca_sign()
1787 if (*(plist[n] = xstrdup(cp)) == '\0') in do_ca_sign()
1809 public->cert->key_id = xstrdup(cert_key_id); in do_ca_sign()
[all …]
Dxmalloc.h23 char *xstrdup(const char *);
/external/dtc/
Ddtc-lexer.l85 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
149 yylval.labelref = xstrdup(yytext);
199 yylval.labelref = xstrdup(yytext+1);
206 yylval.labelref = xstrdup(yytext+2);
224 yylval.propnodename = xstrdup((yytext[0] == '\\') ?
Dfstree.c46 prop = build_property(xstrdup(de->d_name), in read_fstree()
57 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
/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()
Dmodprobe.c156 modentry->name = xstrdup(name); in get_mod()
201 *li = xstrdup(line); in read_line()
232 linecp = xstrdup(line); in config_action()
329 llist_add(&mod->dep, xstrdup(line)); in find_dep()
336 llist_add_tail(&mod->dep, xstrdup(tok)); in find_dep()
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()
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()
/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.c282 xstrdup(const char *s) in xstrdup() function
293 u = xstrdup(src); in uppercase_dup()
430 message->name = xstrdup(name); in create_message()
453 arg->name = xstrdup(name); in create_arg()
516 enumeration->name = xstrdup(name); in create_enumeration()
531 entry->name = xstrdup(name); in create_entry()
533 entry->value = xstrdup(value); in create_entry()
571 interface->name = xstrdup(name); in create_interface()
753 ctx->protocol->name = xstrdup(name); in start_element()
816 arg->interface_name = xstrdup(interface_name); in start_element()
[all …]

123456