Home
last modified time | relevance | path

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

12

/glibc-2.36/support/
Dsupport_format_address_family.c29 return xstrdup ("INET"); in support_format_address_family()
31 return xstrdup ("INET6"); in support_format_address_family()
33 return xstrdup ("LOCAL"); in support_format_address_family()
35 return xstrdup ("UNSPEC"); in support_format_address_family()
Dtest-container.c833 pristine_root_path = xstrdup (concat (support_objdir_root, in main()
835 new_root_path = xstrdup (concat (support_objdir_root, in main()
866 command_root = xstrdup (command_root); in main()
869 command_base = xstrdup (command_root); in main()
880 so_base = xstrdup (argv[1]); in main()
897 new_objdir_path = xstrdup (concat (new_root_path, in main()
899 new_srcdir_path = xstrdup (concat (new_root_path, in main()
1041 new_child_exec = xstrdup (new_exec_path); in main()
1043 new_child_proc[0] = xstrdup (the_words[2]); in main()
1049 change_cwd = xstrdup (the_words[1]); in main()
Dsupport.h110 extern char *xstrdup (const char *) __attribute_malloc__ __attr_dealloc_free
118 char *xstrdup (const char *) __attr_dealloc_free __returns_nonnull;
Dxstrdup.c24 xstrdup (const char *s) in xstrdup() function
Dsupport_format_herrno.c44 return xstrdup (errstr); in support_format_herrno()
DMakefile204 xstrdup \
/glibc-2.36/nss/
Dbug17079.c58 target->pw_name = xstrdup (pwd->pw_name); in init_test_items()
59 target->pw_passwd = xstrdup (pwd->pw_passwd); in init_test_items()
62 target->pw_gecos = xstrdup (pwd->pw_gecos); in init_test_items()
63 target->pw_dir = xstrdup (pwd->pw_dir); in init_test_items()
64 target->pw_shell = xstrdup (pwd->pw_shell); in init_test_items()
Dtst-nss-getpwent.c45 first_name = xstrdup (pw->pw_name); in do_test()
50 last_name = xstrdup (pw->pw_name); in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-ttyname.c113 expected_name = xstrdup ("NULL"); in eq_ttyname()
125 actual_name = xstrdup ("NULL"); in eq_ttyname()
130 expected_name = xstrdup ("NULL"); in eq_ttyname()
180 expected_name = xstrdup ("NULL"); in eq_ttyname_r()
192 actual_name = xstrdup ("NULL"); in eq_ttyname_r()
197 expected_name = xstrdup ("NULL"); in eq_ttyname_r()
/glibc-2.36/locale/programs/
Dxstrdup.c28 char *xstrdup (char *string) __THROW;
33 xstrdup (char *string) in xstrdup() function
Dlocale.c513 PUT (xstrdup (dirents[cnt]->d_name)); in write_locales()
594 PUT (xstrdup (alias)); in write_locales()
672 PUT (xstrdup (addr + namehashtab[cnt].name_offset)); in write_archive_locales()
697 PUT (xstrdup (names[cnt].name)); in write_archive_locales()
747 PUT (xstrdup (dirent)); in write_charmaps()
754 PUT (xstrdup (*p)); in write_charmaps()
759 PUT (xstrdup (*p)); in write_charmaps()
/glibc-2.36/malloc/
Dtst-dynarray-fail.c265 dynarray_str_add (&dyn, xstrdup ("placeholder")); in test_str_fail()
271 *place = xstrdup ("placeholder"); in test_str_fail()
298 *dynarray_str_at (&dyn, 0) = xstrdup ("allocated"); in test_str_fail()
306 *dynarray_str_at (&dyn, 0) = xstrdup ("allocated"); in test_str_fail()
Dtst-dynarray.c338 *dynarray_str_at (&dyn, 0) = xstrdup ("allocated"); in test_str()
345 *dynarray_str_at (&dyn, 0) = xstrdup ("allocated0"); in test_str()
350 *dynarray_str_at (&dyn, 1) = xstrdup ("allocated1"); in test_str()
357 *dynarray_str_at (&dyn, count - 1) = xstrdup ("allocated2"); in test_str()
/glibc-2.36/misc/
Dtst-allocate_once.c29 return xstrdup (closure); in allocate_string()
102 return xstrdup ("to be freed"); in fake_race_allocate_for_free()
/glibc-2.36/elf/
Dreadlib.c144 copy = xstrdup (lib); in process_file()
192 char *soname = xstrdup (lib); in implicit_soname()
Dldconfig.c206 char *str = xstrdup (path); in path_hwcap()
345 new_entry->path = xstrdup (path); in new_sub_entry()
473 entry->path = xstrdup (line); in add_dir_1()
666 path = xstrdup (library); in manual_link()
1054 soname = xstrdup (direntry->d_name); in search_dir()
1106 dlib_ptr->name = xstrdup (direntry->d_name); in search_dir()
1120 dlib_ptr->name = xstrdup (direntry->d_name); in search_dir()
Dreadelflib.c274 *soname = xstrdup (name); in process_elf_file()
Dstringtable.c154 result->strings = xstrdup (""); in stringtable_finalize()
/glibc-2.36/iconv/
DMakefile34 dummy-repertoire simple-hash xstrdup xmalloc \
36 iconvconfig-modules = strtab xmalloc xasprintf xstrdup hash-string
Dtst-gconv-init-failure.c40 char *test_program_directory = dirname (xstrdup ((const char *) ptr)); in activate_test_gconv_modules()
/glibc-2.36/resolv/
Dtst-resolv-edns.c70 .qname = xstrdup (qname), in put_response()
406 char *example_stripped = xstrdup (probe_name); in do_res_search()
506 char *probe_name = xstrdup (EDNS_PROBE_EXAMPLE); in do_test()
/glibc-2.36/nscd/
Dnscd_conf.c194 server_user = xstrdup (arg1); in nscd_parse_file()
204 stat_user = xstrdup (arg1); in nscd_parse_file()
DMakefile38 xmalloc xstrdup aicache initgrcache gai res_hconf \
/glibc-2.36/include/programs/
Dxmalloc.h33 extern char *xstrdup (const char *) __attribute_malloc__ __attr_dealloc_free
/glibc-2.36/locale/
DMakefile59 lib-modules := charmap-dir simple-hash xmalloc xstrdup \

12