Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 119) sorted by relevance

12345

/glibc-2.36/intl/ !
Dbindtextdom.c60 # ifndef strdup in gl_rwlock_define()
61 # define strdup(str) __strdup (str) in gl_rwlock_define() macro
131 result = strdup (dirname); in gl_rwlock_define()
169 result = strdup (codeset); in gl_rwlock_define()
225 result = strdup (dirname); in gl_rwlock_define()
254 result = strdup (codeset); in gl_rwlock_define()
Dtextdomain.c50 # ifndef strdup
51 # define strdup(str) __strdup (str) macro
94 new_domain = strdup (domainname); in gl_rwlock_define()
/glibc-2.36/string/ !
Dstrdup.c31 #undef strdup
34 # define __strdup strdup
53 weak_alias (__strdup, strdup)
Dtst-svc.c31 str[count] = strdup (line); in do_test()
/glibc-2.36/nis/ !
Dnis_getservlist.c83 serv[i]->name = strdup (server->name); in nis_getservlist()
108 strdup (server->ep.ep_val[j].uaddr); in nis_getservlist()
113 strdup (server->ep.ep_val[j].family); in nis_getservlist()
118 strdup (server->ep.ep_val[j].proto); in nis_getservlist()
Dnis_table.c47 ibreq->ibr_name = strdup (cptr); in __create_ib_request()
71 ibreq->ibr_name = strdup (ibreq->ibr_name); in __create_ib_request()
110 search_val[search_len].zattr_ndx = strdup (key); in __create_ib_request()
115 search_val[search_len].zattr_val.zattr_val_val = strdup (val); in __create_ib_request()
158 char *str = strdup (cptr); in get_tablepath()
194 newname = strdup (newname); in __follow_path()
260 ibreq->ibr_name = strdup (names[name_nr]); in libnsl_hidden_nolink_def()
336 strdup (NIS_RES_OBJECT (res)->LI_data.li_name); in libnsl_hidden_nolink_def()
515 ibreq->ibr_name = strdup (names[name_nr]); in libnsl_hidden_nolink_def()
Dnis_callback.c93 return strdup (pkey); in __libc_lock_define_initialized()
276 cb->serv->name = strdup (nis_local_principal ()); in __nis_create_callback()
283 cb->serv->ep.ep_val[0].family = strdup ("inet"); in __nis_create_callback()
315 cb->serv->ep.ep_val[0].proto = strdup ((flags & USE_DGRAM) ? "udp" : "tcp"); in __nis_create_callback()
Dnis_creategroup.c53 obj->zo_name = strdup (leafbuf); in nis_creategroup()
56 obj->zo_domain = strdup (domainbuf); in nis_creategroup()
Dnis_defaults.c44 return strdup (""); in searchXYX()
376 return strdup (default_owner ?: nis_local_principal ()); in __nis_default_owner()
403 return strdup (default_group ?: nis_local_group ()); in libnsl_hidden_nolink_def()
Dnis_addmember.c69 new_gr_members_val[gr_members_len] = strdup (member); in nis_addmember()
/glibc-2.36/benchtests/ !
Dbench-strcoll.c95 char *tmp = strdup (text); in count_words()
132 char *toks = strdup (str); in str_word_list()
137 list->words[n++] = strdup (word); in str_word_list()
152 copy->words[i] = strdup (list->words[i]); in copy_word_list()
/glibc-2.36/posix/ !
Dtst-chmod.c93 testdir = strdup (buf); in do_test()
141 testfile = strdup (buf); in do_test()
Dglob.c55 # undef strdup
56 # define strdup(str) __strdup (str) macro
678 home_dir = strdup (p->pw_dir); in __glob()
951 pglob->gl_pathv[newcount] = strdup (dirname); in __glob()
1078 pglob->gl_pathv[newcount] = strdup (pattern); in __glob()
1439 names->name[cur] = strdup (d.name); in glob_in_dir()
/glibc-2.36/support/ !
Dxstrdup.c26 char *p = strdup (s); in xstrdup()
/glibc-2.36/time/ !
Dtst-tzname.c31 const char *stdtz = strdup (tzname[0]); in do_test()
/glibc-2.36/stdlib/ !
Dtest-canon2.c48 name2 = strdup (name1); in do_prepare()
Dtst-fmtmsg.c67 char *p = strdup ("TEST2"); in do_test()
/glibc-2.36/nscd/ !
Ddbg_log.c36 logfilename = strdup (logfile); in set_logfile()
/glibc-2.36/malloc/ !
Dtst-mtrace.c63 copy = strdup (line); in do_test()
/glibc-2.36/elf/ !
Dtst-auditmod23.c56 map_desc->lname = strdup (l_name); in la_objopen()
/glibc-2.36/nptl/ !
Dtst-cancel4_1.c64 tempfname = strdup (sun.sun_path); in tf_sendmmsg()
Dtst-cancel4_2.c60 tempfname = strdup (sun.sun_path); in tf_recvmmsg()
/glibc-2.36/sysdeps/pthread/ !
Dtst-cancel4.c858 tempfname = strdup (sun.sun_path); in tf_recvfrom()
906 tempfname = strdup (sun.sun_path); in tf_recvmsg()
1342 tempfname = strdup (sun.sun_path); in tf_sendmsg()
1425 tempfname = strdup (sun.sun_path); in tf_connect()
/glibc-2.36/nss/nss_compat/ !
Dcompat-pwd.c142 dest->pw_passwd = strdup (src->pw_passwd); in copy_pwd_changes()
158 dest->pw_gecos = strdup (src->pw_gecos); in copy_pwd_changes()
173 dest->pw_dir = strdup (src->pw_dir); in copy_pwd_changes()
188 dest->pw_shell = strdup (src->pw_shell); in copy_pwd_changes()
/glibc-2.36/resolv/ !
Dres_debug.c1002 if ((sizestr = strdup(precsize_ntoa(sizeval))) == NULL) in loc_ntoa()
1004 if ((hpstr = strdup(precsize_ntoa(hpval))) == NULL) in loc_ntoa()
1006 if ((vpstr = strdup(precsize_ntoa(vpval))) == NULL) in loc_ntoa()

12345