Home
last modified time | relevance | path

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

1234

/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()
Dmuscle-tab.c154 entry->value = entry->storage = xstrdup (val); in muscle_grow()
166 entry->value = entry->storage = xstrdup (new_val); in muscle_grow()
336 result = xstrdup (value_decoded); in string_decode()
480 value = xstrdup (""); in muscle_percent_define_get()
/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()
Dxstrdup.c39 xstrdup (const char *string) in xstrdup() function
DMakefile.am36 libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
/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()
Dmktemp.c44 template = strchr(template, '/') ? xstrdup(template)
/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()
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()
Dtar.c118 new->arg = xstrdup(name); in seen_inode()
552 if (value) value = xstrdup(value); in process_extended_hdr()
622 file_hdr->uname = xstrdup(tar.uname); in unpack_tar()
623 file_hdr->gname = xstrdup(tar.gname); in unpack_tar()
719 add_to_list(&TT.pass, xstrdup(file_hdr->name)); in unpack_tar()
757 tmp->arg = xstrdup(tmp->arg); //freeing at the end fails otherwise in tar_main()
759 while(*args) add_to_list(&TT.inc, xstrdup(*args++)); in tar_main()
Dsyslogd.c167 file->filename = xstrdup("/dev/kmsg"); in parse_config_file()
211 file->filename = xstrdup(tk[1]); in parse_config_file()
228 file->filename = xstrdup((toys.optflags & FLAG_O) ? in parse_config_file()
248 tmpfile = xstrdup(tfd->filename + 1); in open_logfiles()
/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()
Ddbus-launch-x11.c107 display = xstrdup (getenv ("DISPLAY")); in get_session_file()
254 user_name = xstrdup(user->pw_name); in init_x_atoms()
320 *paddress = xstrdup (data); in x11_get_address()
Ddbus-launch.h44 char *xstrdup (const char *str);
/external/toybox/toys/posix/
Dpatch.c286 patchline = xstrdup(" "); in patch_main()
329 if (i>1900 && i<=1970) *name = xstrdup("/dev/null"); in patch_main()
332 *name = xstrdup(patchline+4); in patch_main()
/external/strace/
Dxmalloc.c79 char *xstrdup(const char *str) in xstrdup() function
/external/bison/lib/
Dxmalloc.c119 xstrdup (char const *string) in xstrdup() function

1234