Home
last modified time | relevance | path

Searched refs:__strdup (Results 1 – 25 of 79) sorted by relevance

1234

/glibc-2.36/string/
Dstrdup.c30 #undef __strdup
34 # define __strdup strdup macro
39 __strdup (const char *s) in __strdup() function
50 libc_hidden_def (__strdup)
53 weak_alias (__strdup, strdup)
DVersions10 __ffs; __mempcpy; __stpncpy; __stpcpy; __strcasecmp; __strdup;
/glibc-2.36/include/
Dstring.h31 extern char *__strdup (const char *__string)
100 libc_hidden_proto (__strdup)
157 extern __typeof (__strdup) __strdup attribute_hidden;
/glibc-2.36/inet/
Dgetnameinfo.c109 domain = __strdup (++c); in nrl_domainname_core()
121 domain = __strdup (++c); in nrl_domainname_core()
141 domain = __strdup (++c); in nrl_domainname_core()
162 domain = __strdup (++c); in nrl_domainname_core()
Didna.c105 char *ptr = __strdup (name); in gai_strdup()
Drexec.c76 ahostbuf = __strdup (res0->ai_canonname); in rexec_af()
/glibc-2.36/iconv/
Dgconv_charset.c170 pfc.code = __strdup (fromcode); in __gconv_create_spec()
171 ptc.code = __strdup (tocode); in __gconv_create_spec()
Dgconv_db.c256 result[step_cnt].__from_name = from_name = __strdup (fromset); in gen_steps()
269 = __strdup (current->result_set); in gen_steps()
/glibc-2.36/resolv/
Dres_init.c240 *result = __strdup (dot + 1); in domain_from_hostname()
266 cp = __strdup (cp); in res_vinit_1()
339 cp = __strdup (cp); in res_vinit_1()
368 cp = __strdup (cp); in res_vinit_1()
/glibc-2.36/sunrpc/
Dsvc_simple.c82 buf = __strdup (_("couldn't create an rpc server\n")); in __registerrpc()
98 buf = __strdup (_("registerrpc: out of memory\n")); in __registerrpc()
/glibc-2.36/locale/
Dsetlocale.c284 locale_copy = __strdup (locale); in setlocale()
366 newnames[category] = __strdup (newnames[category]); in setlocale()
431 newname[0] = __strdup (newname[0]); in setlocale()
/glibc-2.36/posix/
Dwordexp.c153 word = __strdup (""); in w_addword()
412 char *matching_word = __strdup (globbuf.gl_pathv[match]); in do_parse_glob()
1474 char *newword = __strdup (__libc_argv[p]); in parse_param()
1675 char *newval = __strdup (p); in parse_param()
1703 char *newval = __strdup (p); in parse_param()
1815 value = pattern ? __strdup (pattern) : pattern; in parse_param()
1829 value = pattern ? __strdup (pattern) : pattern; in parse_param()
1859 value = pattern ? __strdup (pattern) : pattern; in parse_param()
1909 char *value_copy = __strdup (value); /* Don't modify value */ in parse_param()
Dspawn_faction_addchdir.c31 char *path_copy = __strdup (path); in posix_spawn_file_actions_addchdir_np()
Dspawn_faction_addopen.c37 char *path_copy = __strdup (path); in __posix_spawn_file_actions_addopen()
/glibc-2.36/stdio-common/
Dtempnam.c39 return __strdup (buf); in tempnam()
/glibc-2.36/io/
Dgetdirname.c40 return __strdup (pwd); in get_current_dir_name()
/glibc-2.36/nss/
Drewrite_field.c37 *to_be_freed = __strdup (value); in __nss_rewrite_field()
/glibc-2.36/login/
Dutmpname.c56 char *file_name = __strdup (file); in __libc_lock_define()
/glibc-2.36/stdlib/
Dcanonicalize.c52 # define __strdup strdup macro
410 return __strdup (bufs->rname.data); in realpath_stk()
/glibc-2.36/intl/
Dtextdomain.c51 # define strdup(str) __strdup (str)
Dbindtextdom.c61 # define strdup(str) __strdup (str) in gl_rwlock_define()
/glibc-2.36/hurd/
Dpath-lookup.c65 *prefixed_name = __strdup (pfxed_name); in file_name_path_scan()
/glibc-2.36/sysdeps/posix/
Dgetaddrinfo.c310 char *canonbuf = __strdup (localcanon); in gethosts()
340 return __strdup (name); in getcanonname()
370 if (!do_idn && canon == NULL && (canon = __strdup (orig_name)) == NULL) in process_canonname()
557 char *canonbuf = __strdup (air->canon); in get_nscd_addresses()
670 char *canonbuf = __strdup (res->at->name); in get_nss_addresses()
887 char *canonbuf = __strdup (name); in text_to_binary_address()
932 char *canonbuf = __strdup (name); in text_to_binary_address()
/glibc-2.36/sysdeps/mach/hurd/
Dif_index.c130 idx[i].if_name = __strdup (ifr->ifr_name); in weak_alias()
/glibc-2.36/nss/nss_files/
Dfiles-alias.c189 && (old_line = __strdup (line)) != NULL) in libc_hidden_def()

1234