Home
last modified time | relevance | path

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

123

/third_party/elfutils/lib/
Dcolor.c218 color_address = xstrdup ("\e[38;5;166;1m"); in parse_opt()
219 color_bytes = xstrdup ("\e[38;5;141m"); in parse_opt()
220 color_mnemonic = xstrdup ("\e[38;5;202;1m"); in parse_opt()
221 color_operand1 = xstrdup ("\e[38;5;220m"); in parse_opt()
222 color_operand2 = xstrdup ("\e[38;5;48m"); in parse_opt()
223 color_operand = xstrdup ("\e[38;5;112m"); in parse_opt()
224 color_label = xstrdup ("\e[38;5;21m"); in parse_opt()
Dxstrdup.c39 xstrdup (const char *string) in xstrdup() function
Dlibeu.h39 extern char *xstrdup (const char *) __attribute__ ((__malloc__));
DMakefile.am36 libeu_a_SOURCES = xasprintf.c xstrdup.c xstrndup.c xmalloc.c next_prime.c \
DChangeLog247 (xmalloc, xcalloc, xrealloc, xstrdup, xstrndup, crc32, crc32_file,
249 * xstrdup.c: Remove system.h include, add libeu.h include.
264 * xstrdup.c: Likewise.
382 * Makefile.am (libeu_a_SOURCES): We don't need xstrdup in the moment.
/third_party/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.c152 modentry->name = xstrdup(name); in get_mod()
197 *li = xstrdup(line); in read_line()
228 linecp = xstrdup(line); in config_action()
325 llist_add(&mod->dep, xstrdup(line)); in find_dep()
332 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()
645 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()
155 } else tty_name = xstrdup(""); in parse_inittab()
169 command = xstrdup(extracted_token); in parse_inittab()
Dsyslogd.c166 file->filename = xstrdup("/dev/kmsg"); in parse_config_file()
210 file->filename = xstrdup(tk[1]); in parse_config_file()
227 file->filename = xstrdup((toys.optflags & FLAG_O) ? in parse_config_file()
247 tmpfile = xstrdup(tfd->filename + 1); in open_logfiles()
/third_party/popt/src/
Dsystem.h27 char * xstrdup (const char *str);
48 #define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str))) macro
53 #define xstrdup(_str) strdup(_str) macro
Dpopt.c67 con->execPath = xstrdup(path); in poptSetExecPath()
187 con->appName = xstrdup(name); in poptGetContext()
412 return xstrdup(argv0); in findProgramPath()
414 if ((path = getenv("PATH")) == NULL || (path = xstrdup(path)) == NULL) in findProgramPath()
534 con->execFail = xstrdup(argv[0]); in execCommand()
864 te = tbuf = xstrdup(s); in poptSaveBits()
901 (*argvp)[argc++] = xstrdup(val); in poptSaveString()
1126 arg.argv[0] = (con->os->nextArg) ? xstrdup(con->os->nextArg) : NULL; in poptSaveArg()
1269 con->os->nextArg = xstrdup(origOptString); in poptGetNextOpt()
1458 xstrdup(con->os->nextArg); in poptGetNextOpt()
[all …]
Dpoptint.c128 ostr = xstrdup(dstr); in strdup_locale_from_utf8()
131 ostr = xstrdup(istr); in strdup_locale_from_utf8()
/third_party/elfutils/src/
Delfcompress.c71 p->pattern = xstrdup (pattern); in add_pattern()
551 fnew = xstrdup (foutput); in process_file()
678 sname = xstrdup (sname); in process_file()
742 shstrtab_name = xstrdup (sname); in process_file()
743 shstrtab_newname = xstrdup (newname); in process_file()
749 symtab_name = xstrdup (sname); in process_file()
750 symtab_newname = xstrdup (newname); in process_file()
807 shstrtab_name = xstrdup (sname); in process_file()
809 ? NULL : xstrdup (newname)); in process_file()
815 symtab_name = xstrdup (sname); in process_file()
[all …]
/third_party/libfuse/util/
Dmount.fuse.c55 static char *xstrdup(const char *s) in xstrdup() function
313 opts = xstrdup(argv[i]); in main()
328 setuid_name = xstrdup(opt + 7); in main()
371 dup_source = xstrdup(source); in main()
/third_party/toybox/toys/net/
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()
/third_party/ltp/tools/sparse/sparse-src/
Dutils.h28 char *xstrdup(const char *src);
Dutils.c33 char *xstrdup(const char *src) in xstrdup() function
/third_party/fsverity-utils/programs/
Dutils.c46 char *xstrdup(const char *s) in xstrdup() function
117 file->name = xstrdup(filename); in open_file()
Dutils.h24 char *xstrdup(const char *s);
/third_party/toybox/toys/posix/
Denv.c46 if (strchr(*ev, '=')) xsetenv(xstrdup(*ev), 0); in env_main()
Dpatch.c314 patchline = xstrdup(" "); in patch_main()
355 if (i>1900 && i<=1970) *name = xstrdup("/dev/null"); in patch_main()
Dlogger.c61 if (!TT.t) TT.t = xstrdup(xgetpwuid(geteuid())->pw_name); in logger_main()
/third_party/mesa3d/src/broadcom/cle/
Dv3d_decoder.c168 xstrdup(const char *s) in xstrdup() function
224 group->name = xstrdup(name); in create_group()
250 e->name = xstrdup(name); in create_enum()
317 field->name = xstrdup(atts[i + 1]); in create_field()
354 value->name = xstrdup(atts[i + 1]); in create_value()
/third_party/toybox/toys/lsb/
Dmktemp.c55 template = dir ? xmprintf("%s/%s", dir, template) : xstrdup(template); in mktemp_main()

123