Searched refs:strdup (Results 1 – 25 of 119) sorted by relevance
12345
60 # ifndef strdup in gl_rwlock_define()61 # define strdup(str) __strdup (str) in gl_rwlock_define() macro131 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()
50 # ifndef strdup51 # define strdup(str) __strdup (str) macro94 new_domain = strdup (domainname); in gl_rwlock_define()
31 #undef strdup34 # define __strdup strdup53 weak_alias (__strdup, strdup)
31 str[count] = strdup (line); in do_test()
83 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()
47 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()
93 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()
53 obj->zo_name = strdup (leafbuf); in nis_creategroup()56 obj->zo_domain = strdup (domainbuf); in nis_creategroup()
44 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()
69 new_gr_members_val[gr_members_len] = strdup (member); in nis_addmember()
95 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()
93 testdir = strdup (buf); in do_test()141 testfile = strdup (buf); in do_test()
55 # undef strdup56 # define strdup(str) __strdup (str) macro678 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()
26 char *p = strdup (s); in xstrdup()
31 const char *stdtz = strdup (tzname[0]); in do_test()
48 name2 = strdup (name1); in do_prepare()
67 char *p = strdup ("TEST2"); in do_test()
36 logfilename = strdup (logfile); in set_logfile()
63 copy = strdup (line); in do_test()
56 map_desc->lname = strdup (l_name); in la_objopen()
64 tempfname = strdup (sun.sun_path); in tf_sendmmsg()
60 tempfname = strdup (sun.sun_path); in tf_recvmmsg()
858 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()
142 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()
1002 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()