Home
last modified time | relevance | path

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

12345678910>>...53

/titanic_41/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c237 *error = strdup(gettext("no hostname specified")); in parsehosts()
258 *error = strdup(gettext("invalid host:port:mech " in parsehosts()
264 *error = strdup(gettext("invalid hostname " in parsehosts()
272 *error = strdup(gettext("empty hostname " in parsehosts()
286 *error = strdup(gettext("host not found, " in parsehosts()
290 *error = strdup(gettext("host not found")); in parsehosts()
306 *error = strdup(gettext( in parsehosts()
316 *error = strdup(gettext("invalid port number")); in parsehosts()
326 *error = strdup(gettext("unknown mechanism")); in parsehosts()
339 *error = strdup(gettext("no memory")); in parsehosts()
[all …]
/titanic_41/usr/src/cmd/locale/
H A Dlocale.c155 yn.yes_expr = strdup(nl_langinfo(YESEXPR)); in getyesno()
156 yn.no_expr = strdup(nl_langinfo(NOEXPR)); in getyesno()
157 yn.yes_str = strdup(nl_langinfo(YESSTR)); in getyesno()
158 yn.no_str = strdup(nl_langinfo(NOSTR)); in getyesno()
175 _dtconv.date_time_format = strdup(nl_langinfo(D_T_FMT)); in localedtconv()
176 _dtconv.date_format = strdup(nl_langinfo(D_FMT)); in localedtconv()
177 _dtconv.time_format = strdup(nl_langinfo(T_FMT)); in localedtconv()
178 _dtconv.time_format_ampm = strdup(nl_langinfo(T_FMT_AMPM)); in localedtconv()
179 _dtconv.am_string = strdup(nl_langinfo(AM_STR)); in localedtconv()
180 _dtconv.pm_string = strdup(nl_langinfo(PM_STR)); in localedtconv()
[all …]
/titanic_41/usr/src/cmd/ldap/common/
H A Dconvutf8.c76 return (strdup(src)); in ldaptool_convert()
79 return (strdup(src)); in ldaptool_convert()
83 return (strdup(src)); in ldaptool_convert()
93 return (strdup(src)); in ldaptool_convert()
155 return (strdup(src)); in ldaptool_convert()
165 return (strdup(src)); in ldaptool_UTF82local()
176 return (strdup(src)); in ldaptool_local2UTF8()
185 utf8 = strdup(src); in ldaptool_local2UTF8()
237 locale = strdup(locale);
250 return strdup(locale);
[all …]
H A Dldapmodrdn.c73 if (( L_newParent = strdup( argv[argc - 1] )) == NULL ) in main()
79 if (( rdn = strdup( argv[argc - 2] )) == NULL ) in main()
85 if (( entrydn = strdup( argv[argc - 3] )) == NULL ) in main()
94 if (( rdn = strdup( argv[argc - 1] )) == NULL ) in main()
100 if (( entrydn = strdup( argv[argc - 2] )) == NULL ) in main()
153 if (( L_newParent = strdup( buf )) == NULL ) in main()
168 if (( rdn = strdup( buf )) == NULL ) in main()
178 if (( entrydn = strdup( buf )) == NULL) in main()
/titanic_41/usr/src/lib/libadm/common/
H A Dfulldevnm.c116 return (strdup(path)); in getfullname()
119 return (strdup("")); in getfullname()
218 return (strdup("")); in getblkcomplete()
236 return (strdup("")); in getblkcomplete()
240 return (strdup("")); in getblkcomplete()
292 return (strdup("")); in getrawcomplete()
296 return (strdup("")); in getrawcomplete()
344 return (strdup("")); in getfullblkname()
357 return (strdup("")); in getfullblkname()
365 return (strdup("")); in getfullblkname()
[all …]
/titanic_41/usr/src/lib/libslp/clib/
H A DSLPUtils.c117 if (!(*ppcScopes = strdup("default"))) { in SLPFindScopes()
158 if (!(*ppcScopes = strdup(useScopes))) { in slp_administrative_scopes()
166 if (return_default && !(*ppcScopes = strdup("default"))) { in slp_administrative_scopes()
194 if (!(ascope = strdup(s))) { /* no memory! */ in saadvert_callback()
364 if (!(url = strdup(u))) { in collate_scopes()
388 if (!(ascope = strdup(s))) { /* no memory! */ in collate_scopes()
573 if (!(pe->key = strdup(pcName))) { in SLPSetProperty()
579 if (!(pe->val = strdup(pcValue))) { in SLPSetProperty()
629 pe->key = strdup(SLP_CONFIG_ISBROADCASTONLY); in setDefaults()
630 pe->val = strdup("false"); in setDefaults()
[all …]
/titanic_41/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c109 i->path = strdup (path); in libhal_storage_policy_set_icon_path()
118 i->path = strdup (path); in libhal_storage_policy_set_icon_path()
178 result = strdup (buf); in libhal_volume_policy_compute_size_as_string()
181 result = strdup (buf); in libhal_volume_policy_compute_size_as_string()
232 vendormodel_str = strdup (""); in libhal_drive_policy_compute_display_name()
234 vendormodel_str = strdup (model); in libhal_drive_policy_compute_display_name()
237 vendormodel_str = strdup (vendor); in libhal_drive_policy_compute_display_name()
240 vendormodel_str = strdup (buf); in libhal_drive_policy_compute_display_name()
302 name = strdup (buf); in libhal_drive_policy_compute_display_name()
305 name = strdup (buf); in libhal_drive_policy_compute_display_name()
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c239 root = strdup(""); in getmapent_fn()
360 nfsdir = strdup("/"); in process_ref()
363 nfsdir = strdup(colon + 1); in process_ref()
365 nfshost = strdup(addrdata); in process_ref()
382 mapents = new_mapent(root, strdup(""), strdup("nfs"), in process_ref()
390 homedir = strdup(addrdata); in process_ref()
392 mapents = new_mapent(root, strdup(""), strdup("lofs"), in process_ref()
393 strdup(opts), strdup(""), homedir); in process_ref()
418 return (new_mapent(root, strdup(""), strdup("autofs"), strdup(opts), in process_ref()
419 strdup(""), concat(map, '/', key))); in process_ref()
[all …]
H A Dautod_parse.c304 if ((me->map_root = strdup(w1)) == NULL) in mapline_to_mapent()
309 me->map_mntpnt = strdup(""); in mapline_to_mapent()
311 me->map_mntpnt = strdup(w); in mapline_to_mapent()
329 if ((me->map_mntopts = strdup(w)) == NULL) in mapline_to_mapent()
356 if (((me->map_fsw = strdup(w)) == NULL) || in mapline_to_mapent()
357 ((me->map_fswq = strdup(wq)) == NULL)) in mapline_to_mapent()
606 if ((me->map_mntopts = strdup(entryopts)) == NULL) in set_mapent_opts()
650 if (((me->map_fstype = strdup(fstype)) == NULL) || in set_mapent_opts()
651 ((me->map_mounter = strdup(mounter)) == NULL)) { in set_mapent_opts()
736 me->map_mntopts = strdup(pushopts); in fstype_opts()
[all …]
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c148 strptr = strdup(cmd); in fs_parse_opts_for_sec_modes()
178 secstringarray[*count] = strdup(strptr); in fs_parse_opts_for_sec_modes()
195 secstringarray[*count] = strdup(temp_str); in fs_parse_opts_for_sec_modes()
233 list_copy = strdup(access_list); in fs_create_array_from_accesslist()
258 list_array[*count] = strdup(access_list); in fs_create_array_from_accesslist()
298 newp->path = strdup(sharetab_entry->sh_path); in create_sharelist_entry()
308 newp->resource = strdup(sharetab_entry->sh_res); in create_sharelist_entry()
318 newp->fstype = strdup(sharetab_entry->sh_fstype); in create_sharelist_entry()
328 newp->options = strdup(sharetab_entry->sh_opts); in create_sharelist_entry()
338 newp->description = strdup(sharetab_entry->sh_descr); in create_sharelist_entry()
H A Dfs_mounts.c435 optlist_copy = strdup(optlist); in fs_parse_optlist_for_option()
546 newp->resource = strdup(mnttab_entry.mnt_special); in create_mntlist_entry()
554 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_mntlist_entry()
562 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_mntlist_entry()
570 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_mntlist_entry()
578 newp->time = strdup(mnttab_entry.mnt_time); in create_mntlist_entry()
606 newp->resource = strdup(mnttab_entry.mnt_special); in create_extmntlist_entry()
614 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_extmntlist_entry()
622 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_extmntlist_entry()
630 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_extmntlist_entry()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c114 nsh->sh_path = strdup(sh->sh_path); in sharedup()
120 nsh->sh_res = strdup(sh->sh_res); in sharedup()
125 nsh->sh_fstype = strdup(sh->sh_fstype); in sharedup()
130 nsh->sh_opts = strdup(sh->sh_opts); in sharedup()
135 nsh->sh_descr = strdup(sh->sh_descr); in sharedup()
176 b = bb = strdup(optlist); in getshareopt()
185 val = strdup(pe + 1); in getshareopt()
190 val = strdup(""); in getshareopt()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c80 newlist[i] = strdup(src[i]); in copy_list()
166 newopts->identity = strdup(src_opts->identity); in pkinit_dup_identity_opts()
184 newopts->ocsp = strdup(src_opts->ocsp); in pkinit_dup_identity_opts()
190 newopts->cert_filename = strdup(src_opts->cert_filename); in pkinit_dup_identity_opts()
196 newopts->key_filename = strdup(src_opts->key_filename); in pkinit_dup_identity_opts()
203 newopts->p11_module_name = strdup(src_opts->p11_module_name); in pkinit_dup_identity_opts()
211 newopts->token_label = strdup(src_opts->token_label); in pkinit_dup_identity_opts()
217 newopts->cert_id_string = strdup(src_opts->cert_id_string); in pkinit_dup_identity_opts()
223 newopts->cert_label = strdup(src_opts->cert_label); in pkinit_dup_identity_opts()
228 newopts->PIN = strdup(src_opts->PIN); in pkinit_dup_identity_opts()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c379 if ((transrec->path = strdup(transpath)) == NULL) { in nfslog_open_trans_file()
575 newte->pathname = strdup(path1); in trans_read()
587 newte->netid = strdup(logrec->re_netid); in trans_read()
589 newte->principal_name = strdup(logrec->re_principal_name); in trans_read()
645 newte->pathname = strdup(path1); in trans_write()
656 newte->netid = strdup(logrec->re_netid); in trans_write()
658 newte->principal_name = strdup(logrec->re_principal_name); in trans_write()
727 newte->pathname = strdup(path1); in trans_setattr()
738 newte->netid = strdup(logrec->re_netid); in trans_setattr()
740 newte->principal_name = strdup(logrec->re_principal_name); in trans_setattr()
[all …]
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_confmgr.c126 MKERROR(LOG_ERR, *error, NS_CONFIG_FILE, strdup(errstr), NULL); in read_file()
152 strdup(errstr), NULL); in read_file()
161 strdup(errstr), NULL); in read_file()
170 strdup(errstr), NULL); in read_file()
190 strdup(errstr), NULL); in read_file()
210 strdup(errstr), NULL); in read_file()
221 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr), in read_file()
229 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr), in read_file()
268 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL); in set_attr()
307 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL); in __s_api_create_config_door_str()
[all …]
/titanic_41/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c105 if ((arg = strdup(argv[0])) == NULL) in main()
116 dname = strdup("."); in main()
117 fname = strdup(arg); in main()
120 dname = strdup(arg); in main()
121 fname = strdup(slash + 1); in main()
147 fpath = strdup(argv[0]); in main()
149 fpath = strdup(argv[0]); in main()
/titanic_41/usr/src/cmd/rmformat/
H A Drmf_main.c106 label = strdup(optarg); in main()
118 tmp_ptr = strdup(optarg); in main()
140 tmp_ptr = strdup(optarg); in main()
171 tmp_ptr = strdup(optarg); in main()
185 slice_file = strdup(optarg); in main()
194 tmp_ptr = strdup(optarg); in main()
207 tmp_ptr = strdup(optarg); in main()
220 tmp_ptr = strdup(optarg); in main()
/titanic_41/usr/src/lib/print/libprint/common/
H A Dns_bsd_addr.c102 return (strdup(buf)); in bsd_addr_to_string()
113 tmp = strdup(string); in string_to_bsd_addr()
146 return (strdup(buf)); in list_to_string()
171 return (strdup(buf)); in internal_list_to_string()
189 string = strdup((char *)value); in value_to_string()
269 char *addr = strdup(name); in posix_name()
288 printer = ns_printer_create(strdup(name), NULL, in posix_name()
396 addr->printer = strdup(printer->name); in ns_bsd_addr_get_name()
405 addr->pname = strdup(name); in ns_bsd_addr_get_name()
407 addr->pname = strdup(printer->name); in ns_bsd_addr_get_name()
[all …]
/titanic_41/usr/src/lib/libast/common/tm/
H A Dtminit.c185 …n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.forma… in tmopt()
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; in tmopt()
251 local.standard = strdup(tzname[0]); in tmlocal()
252 local.daylight = strdup(tzname[1]); in tmlocal()
299 local.standard = strdup(tzname[0]); in tmlocal()
301 local.daylight = strdup(tzname[1]); in tmlocal()
305 if ((s = getenv("TZNAME")) && *s && (s = strdup(s))) in tmlocal()
318 else if ((s = getenv("TZ")) && *s && *s != ':' && (s = strdup(s))) in tmlocal()
360 s = strdup(buf); in tmlocal()
374 local.standard = strdup(buf); in tmlocal()
[all …]
/titanic_41/usr/src/lib/passwdutil/
H A Dutils.c90 if (((*d)->pw_name = strdup(s->pw_name)) == NULL) in dup_pw()
94 if (((*d)->pw_passwd = strdup(s->pw_passwd)) == NULL) in dup_pw()
101 if (((*d)->pw_gecos = strdup(s->pw_gecos)) == NULL) in dup_pw()
105 if (((*d)->pw_dir = strdup(s->pw_dir)) == NULL) in dup_pw()
109 if (((*d)->pw_shell = strdup(s->pw_shell)) == NULL) in dup_pw()
134 if (((*d)->sp_namp = strdup(s->sp_namp)) == NULL) in dup_spw()
137 if (((*d)->sp_pwdp = strdup(s->sp_pwdp)) == NULL) in dup_spw()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Ddepchk.c199 eir->ier_packageName = strdup(a_pkginst); in depchkRecordError()
202 (eir->ier_zones)[eir->ier_numZones-1] = strdup(a_zoneName); in depchkRecordError()
204 (eir->ier_values)[eir->ier_numZones-1] = strdup(a_value); in depchkRecordError()
249 (erc->ier_zones)[erc->ier_numZones-1] = strdup(a_zoneName); in depchkRecordError()
252 (erc->ier_values)[erc->ier_numZones-1] = strdup(a_value); in depchkRecordError()
280 erc->ier_packageName = strdup(a_pkginst); in depchkRecordError()
283 (erc->ier_zones)[erc->ier_numZones-1] = strdup(a_zoneName); in depchkRecordError()
285 (erc->ier_values)[erc->ier_numZones-1] = strdup(a_value); in depchkRecordError()
336 zn = strdup(a_eir->ier_zones[a_errIndex]); in collectError()
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathpath.c53 cmd = a ? strdup(a) : (char*)0; in pathpath()
69 return (path == buf) ? strdup(path) : path; in pathpath()
87 cmd = strdup(s); in pathpath()
99 return path == buf ? strdup(s) : s; in pathpath()
110 return (s && path == buf) ? strdup(s) : s; in pathpath()
/titanic_41/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c204 *val = strdup(strval); in nd_get_astring_prop()
274 return (strdup((const char *)svcname)); in nd_get_event_fmri()
356 tmpstr = strdup(list); in nd_split_list()
367 (*arr)[0] = strdup(list); in nd_split_list()
369 tmpstr = strdup(list); in nd_split_list()
371 (*arr)[0] = strdup(item); in nd_split_list()
373 (*arr)[i++] = strdup(item); in nd_split_list()
397 tmparr[uniq] = strdup(arr1[uniq]); in nd_merge_strarray()
401 tmparr[uniq++] = strdup(arr2[j]); in nd_merge_strarray()
553 evi->ei_severity = strdup(ND_UNKNOWN); in nd_get_event_info()
[all …]
/titanic_41/usr/src/cmd/rexd/
H A Dsharetab.c113 nsh->sh_path = strdup(sh->sh_path); in sharedup()
116 nsh->sh_res = strdup(sh->sh_res); in sharedup()
119 nsh->sh_fstype = strdup(sh->sh_fstype); in sharedup()
122 nsh->sh_opts = strdup(sh->sh_opts); in sharedup()
125 nsh->sh_descr = strdup(sh->sh_descr); in sharedup()
166 b = bb = strdup(optlist); in getshareopt()
/titanic_41/usr/src/cmd/hal/utils/
H A Dprinter.c70 *manufacturer = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
74 *model = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
78 *description = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
82 *class = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
86 *serial_no = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
100 cmds[i++] = strdup(strip_ws(v)); in ieee1284_devid_to_printer_info()

12345678910>>...53