Searched refs:strdup (Results 26 - 50 of 694) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Drealm_dom.c59 *domain = strdup(temp_domain);
H A Ddef_realm.c108 context->default_realm = strdup(realm);
172 if (!(*lrealm = strdup(realm)))
192 context->default_realm = strdup(lrealm);
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsetenv.c51 if (!(s = sfprints("%s=%s", name, value)) || !(s = strdup(s)))
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetuserattrnam.c51 attrval->attr = strdup(match);
55 attrval->prof_name = strdup(deflt_name);
132 ret = strdup(val);
138 *where = strdup(deffile);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dappdefault.c74 *ret_value = strdup(nameval[0]);
92 *ret_value = strdup(nameval[0]);
110 *ret_value = strdup(nameval[0]);
126 *ret_value = strdup(nameval[0]);
167 *ret_value = strdup(default_value);
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c145 strptr = strdup(cmd);
175 secstringarray[*count] = strdup(strptr);
192 secstringarray[*count] = strdup(temp_str);
230 list_copy = strdup(access_list);
255 list_array[*count] = strdup(access_list);
295 newp->path = strdup(sharetab_entry->sh_path);
305 newp->resource = strdup(sharetab_entry->sh_res);
315 newp->fstype = strdup(sharetab_entry->sh_fstype);
325 newp->options = strdup(sharetab_entry->sh_opts);
335 newp->description = strdup(sharetab_entr
[all...]
/osnet-11/usr/src/cmd/hal/utils/
H A Dprinter.c68 *manufacturer = strdup(strip_ws(u));
72 *model = strdup(strip_ws(u));
76 *description = strdup(strip_ws(u));
80 *class = strdup(strip_ws(u));
84 *serial_no = strdup(strip_ws(u));
98 cmds[i++] = strdup(strip_ws(v));
/osnet-11/usr/src/lib/libxcurses/src/libc/i18n/
H A Dm_text.c63 char *new = strdup(s);
103 domain = str==NULL ? NULL : strdup(str);
139 locale = nlocale==NULL ? NULL : strdup(nlocale);
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_error.c161 de->code = strdup(code);
165 de->fmt = strdup(fmt);
187 de->params[i] = strdup((char *)va_arg(va, char *));
219 de->code = strdup(de_rpc->code);
222 de->fmt = strdup(de_rpc->fmt);
233 de->params[i] = strdup(de_rpc->params.params_val[i]);
263 de_rpc->code = strdup(de->code);
267 de_rpc->fmt = strdup(de->fmt);
278 params[i] = strdup(de->params[i]);
/osnet-11/usr/src/lib/libadm/common/
H A Ddevattr.c107 if ((rtnval = strdup(r)) == NULL) {
/osnet-11/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c109 i->path = strdup (path);
118 i->path = strdup (path);
178 result = strdup (buf);
181 result = strdup (buf);
232 vendormodel_str = strdup ("");
234 vendormodel_str = strdup (model);
237 vendormodel_str = strdup (vendor);
240 vendormodel_str = strdup (buf);
302 name = strdup (buf);
305 name = strdup (bu
[all...]
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtminit.c185 tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.format[TM_DEFAULT];
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
251 local.standard = strdup(tzname[0]);
252 local.daylight = strdup(tzname[1]);
299 local.standard = strdup(tzname[0]);
301 local.daylight = strdup(tzname[1]);
305 if ((s = getenv("TZNAME")) && *s && (s = strdup(s)))
318 else if ((s = getenv("TZ")) && *s && *s != ':' && (s = strdup(s)))
360 s = strdup(buf);
374 local.standard = strdup(bu
[all...]
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c81 newlist[i] = strdup(src[i]);
164 newopts->identity = strdup(src_opts->identity);
182 newopts->ocsp = strdup(src_opts->ocsp);
188 newopts->cert_filename = strdup(src_opts->cert_filename);
194 newopts->key_filename = strdup(src_opts->key_filename);
201 newopts->p11_module_name = strdup(src_opts->p11_module_name);
209 newopts->token_label = strdup(src_opts->token_label);
215 newopts->cert_id_string = strdup(src_opts->cert_id_string);
221 newopts->cert_label = strdup(src_opts->cert_label);
272 s = strdup(residua
[all...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dwkssvc_clnt.c63 info->wki_computername = strdup((char *)info100->wki100_computername);
64 info->wki_domainname = strdup((char *)info100->wki100_langroup);
/osnet-11/usr/src/lib/libpkg/common/
H A Dprogerr.c58 if ((name = strdup(name)) == NULL) {
60 "set_prog_name(): strdup(name) failed.\n");
196 if ((tmp = strdup(str)) == NULL) {
H A Dgpkglist.c172 nwpkg[n] = strdup(chp->token);
179 nwpkg[n] = strdup(nwpkg[n]);
199 nwpkg[n] = strdup(cont_keyword);
225 nwpkg[n] = strdup(inst);
237 nwpkg[n] = strdup(pkg[i]);
314 pers_catg = strdup(persistent_category);
347 tmp_catg = strdup(catg_arg);
H A Dpkgstr.c170 o_str = strdup(o_str);
427 p = strdup(a_string);
455 tmp = strdup(q);
546 p = strdup(a_string);
655 *a_old = strdup(a_new);
707 p = strdup(a_string);
997 return (strdup(a_path));
1002 return (strdup(p+1));
1052 retPath = strdup(a_path);
/osnet-11/usr/src/lib/libfedfs/common/
H A Dstringtools.c55 locs[i]->host = strdup(loclist[i]);
56 locs[i]->path = strdup(t + 1);
/osnet-11/usr/src/lib/abi/apptrace/common/
H A Dabienv.c41 static char const *strdup_sym = "strdup";
63 if ((envstr = strdup(envstr)) == NULL)
98 if ((envstr = strdup(envstr)) == NULL)
118 if ((envstr = strdup(envstr)) == NULL)
130 if ((ip->i_name = strdup(tok)) == NULL)
173 if ((lp->l_libname = strdup(name)) == NULL)
209 if ((basename2 = strdup(abibasename(str))) == NULL)
216 if ((basename1 = strdup(abibasename(list->l_libname))) == NULL)
271 if ((p = strdup(path)) == NULL)
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt.c575 return (strdup(start));
621 res = strdup(s->name);
/osnet-11/usr/src/lib/passwdutil/
H A Dnss_attr.c237 if ((w->data.val_s = strdup(pw->pw_name)) == NULL)
241 if ((w->data.val_s = strdup(pw->pw_comment)) == NULL)
245 if ((w->data.val_s = strdup(pw->pw_gecos)) == NULL)
249 if ((w->data.val_s = strdup(pw->pw_dir)) == NULL)
253 if ((w->data.val_s = strdup(pw->pw_shell)) == NULL)
262 if ((w->data.val_s = strdup(spw->sp_pwdp)) == NULL)
266 if ((w->data.val_s = strdup(pw->pw_age)) == NULL)
270 if ((w->data.val_s = strdup(pwbuf->rep_name)) == NULL)
H A Dutils.c93 if (((*d)->pw_name = strdup(s->pw_name)) == NULL)
97 if (((*d)->pw_passwd = strdup(s->pw_passwd)) == NULL)
104 if (((*d)->pw_gecos = strdup(s->pw_gecos)) == NULL)
108 if (((*d)->pw_dir = strdup(s->pw_dir)) == NULL)
112 if (((*d)->pw_shell = strdup(s->pw_shell)) == NULL)
137 if (((*d)->sp_namp = strdup(s->sp_namp)) == NULL)
140 if (((*d)->sp_pwdp = strdup(s->sp_pwdp)) == NULL)
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_sam.c122 account->a_name = strdup("");
123 account->a_domain = strdup(di.di_nbname);
173 account->a_name = strdup(name);
175 account->a_domain = strdup(di.di_nbname);
226 account->a_name = strdup("");
227 account->a_domain = strdup(di.di_nbname);
247 account->a_name = strdup(lwka->lwka_name);
259 account->a_name = strdup(smbpw.pw_name);
269 account->a_name = strdup(grp.sg_name);
279 account->a_domain = strdup(hostnam
[all...]
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c187 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL)
219 if ((uri->token = (unsigned char *)strdup(l2)) == NULL)
228 if ((uri->manuf = (unsigned char *)strdup(l2)) == NULL)
237 if ((uri->serial = (unsigned char *)strdup(l2)) == NULL)
246 if ((uri->model = (unsigned char *)strdup(l2)) == NULL)
274 if ((uri->object = (unsigned char *)strdup(l2)) == NULL)
302 if ((uri->pinfile = strdup(l2)) == NULL)
/osnet-11/usr/src/common/crypto/ecc/
H A Decl_curve.c74 CHECK(ret->text = strdup(params->text));
84 CHECK(ret->irr = strdup(params->irr));
92 CHECK(ret->curvea = strdup(params->curvea));
100 CHECK(ret->curveb = strdup(params->curveb));
108 CHECK(ret->genx = strdup(params->genx));
116 CHECK(ret->geny = strdup(params->geny));
124 CHECK(ret->order = strdup(params->order));

Completed in 61 milliseconds

1234567891011>>