Home
last modified time | relevance | path

Searched refs:strdupa (Results 1 – 25 of 41) sorted by relevance

12

/glibc-2.36/misc/
Dtst-mntent2.c12 mef.mnt_fsname = strdupa ("/dev/sdf6"); in do_test()
13 mef.mnt_dir = strdupa ("/some dir"); in do_test()
14 mef.mnt_type = strdupa ("ext3"); in do_test()
15 mef.mnt_opts = strdupa ("opt1,opt2,noopt=6,rw,norw,brw"); in do_test()
Dtst-mntent.c14 mef.mnt_fsname = strdupa ("/dev/hda1"); in do_test()
15 mef.mnt_dir = strdupa ("/some dir"); in do_test()
16 mef.mnt_type = strdupa ("ext2"); in do_test()
17 mef.mnt_opts = strdupa ("defaults"); in do_test()
Dtst-mntent-escape.c65 curtest.mnt_fsname = strdupa (tests[i].mnt_fsname); in do_test()
66 curtest.mnt_dir = strdupa (tests[i].mnt_dir); in do_test()
67 curtest.mnt_type = strdupa (tests[i].mnt_type); in do_test()
68 curtest.mnt_opts = strdupa (tests[i].mnt_opts); in do_test()
Dtst-dirname.c30 cp = strdupa (input); in test()
/glibc-2.36/string/
Dtst-svc2.c45 char *copy1 = strdupa (tests[i].str1); in do_test()
51 char *copy2 = strdupa (tests[i].str2); in do_test()
Dbug-strtok1.c15 cp = strdupa (str); in do_test()
28 cp = strdupa (str); in do_test()
Dstring.h201 # define strdupa(s) \ macro
/glibc-2.36/localedata/
Dbug-setlocale1.c18 a = strdupa (a); in do_test()
29 c = strdupa (c); in do_test()
/glibc-2.36/nis/
Dnis_lookup.c102 strdupa (NIS_RES_OBJECT (res)->LI_data.li_name); in nis_lookup()
138 req.ns_name = strdupa (ndomain); in nis_lookup()
Dnis_subr.c181 path = strdupa ("$"); in nis_getnames()
183 path = strdupa (path); in nis_getnames()
Dnis_defaults.c371 default_owner = strdupa (p); in __nis_default_owner()
398 default_group = strdupa (p); in libnsl_hidden_nolink_def()
Dnis_table.c42 char *cptr = strdupa (name); in __create_ib_request()
/glibc-2.36/manual/examples/
Dstrdupa.c27 char *wr_path = strdupa (path); in main()
/glibc-2.36/posix/
Dtst-execlp2.c54 char *bindir = strdupa (copy); in do_test()
Dtst-execvp2.c57 char *bindir = strdupa (copy); in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dpathconf.c83 char *base = strdupa (__basename (path)); in distinguish_extX()
/glibc-2.36/locale/
Dnewlocale.c124 char *np = strdupa (locale);
Dfindlocale.c181 char *loc_name = strdupa (cloc_name); in _nl_find_locale()
/glibc-2.36/iconv/
Dgconv_conf.c378 gconv_path = strdupa (default_gconv_path); in __gconv_get_path()
Diconvconfig.c312 char *path = strdupa (GCONV_PATH), *tp = strsep (&path, ":"); in main()
/glibc-2.36/manual/
Dstring.texi623 @deftypefn {Macro} {char *} strdupa (const char *@var{s})
631 For obvious reasons @code{strdupa} is implemented only as a macro;
637 @include strdupa.c.texi
641 invalid. It is also not allowed to call @code{strdupa} in the argument
642 list of @code{strtok} since @code{strdupa} uses @code{alloca}
931 This function is similar to @code{strndup} but like @code{strdupa} it
933 Automatic}. The same advantages and limitations of @code{strdupa} are
936 This function is implemented only as a macro, just like @code{strdupa}.
937 Just as @code{strdupa} this macro also must not be used inside the
2169 cp = strdupa (string); /* Make writable copy. */
[all …]
/glibc-2.36/elf/
Ddl-load.c827 char *llp_tmp = strdupa (llp); in _dl_init_paths()
1666 name = strdupa (realname); in open_verify()
Dcache.c1097 char *dir = strdupa (aux_cache_name); in save_aux_cache()
Dldconfig.c1301 if (asprintf (&copy, "%s/%s", dirname (strdupa (config_file)), in parse_conf_include()
/glibc-2.36/locale/programs/
Dlocarchive.c1148 int mask = _nl_explode_name (strdupa (name), in add_locale_to_archive()

12