Home
last modified time | relevance | path

Searched refs:strdup (Results 276 – 300 of 1315) sorted by relevance

1...<<11121314151617181920>>...53

/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsetenv.c51 if (!(s = sfprints("%s=%s", name, value)) || !(s = strdup(s)))
/illumos-gate/usr/src/boot/common/
H A Dmodule.c485 fp->f_name = strdup(name); in build_environment_module()
486 fp->f_type = strdup(name); in build_environment_module()
588 fp->f_name = strdup(name); in build_font_module()
589 fp->f_type = strdup(name); in build_font_module()
716 fp->f_type = strdup(type); in file_loadraw()
1013 return (strdup(name)); in file_search()
1018 return (strdup(name)); in file_search()
1145 mp->m_name = strdup(modname); in file_addmodule()
H A Dinterp.c154 argvbuf[i] = strdup(argv[i]); in command_include()
299 pr = p = strdup(cp); in prompt()
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c81 dup = strdup(name); in get_device_name()
198 names[j] = strdup(aname); in get_disk_aliases()
511 *used_name = strdup(tmp); in get_slice_use()
526 *used_by = strdup(tmp); in get_slice_use()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c182 vfp->_vfpPath = strdup(VFP_ANONYMOUS_PATH); in vfpOpen()
377 vfp->_vfpPath = strdup(a_path ? a_path : ""); in vfpOpen()
926 vfp->_vfpPath = strdup(a_path); in vfpCheckpointFile()
1086 vfp->_vfpPath = strdup(a_path); in vfpCheckpointOpen()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c77 #undef strdup
78 #define strdup MYstrdup macro
101 new->name = strdup(name); in profile_create_node()
107 new->value = strdup(value); in profile_create_node()
/illumos-gate/usr/src/lib/libfru/libfru/
H A DnameSyntaxLex.l59 [_a-zA-Z0-9]+ { yylval.name = strdup(yytext); return NAME; }
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c272 isa_str = strdup(ISA_PATH); in FindPlugin()
323 p->path = strdup(path); in InitializePlugin()
608 *errmsg = strdup(kmf_errcodes[i].message); in kmf_get_kmf_error_str()
633 *msgstr = strdup(str); in kmf_get_plugin_error_str()
1959 encodedname->Data = (uchar_t *)strdup(namedata); in encode_altname()
1966 encodedname->Data = (uchar_t *)strdup(namedata); in encode_altname()
1977 encodedname->Data = (uchar_t *)strdup(namedata); in encode_altname()
2546 if ((tmp->keystore = strdup(token1)) == NULL) { in parse_entry()
2572 if ((tmp->modulepath = strdup(value)) == NULL) { in parse_entry()
2592 if ((tmp->option = strdup(value)) == NULL) { in parse_entry()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1034 checkpath = strdup(path); in mount_enoent_error()
1132 lq->ld_host = strdup(host); in enqueue_logging_data()
1164 lq->ld_path = strdup(path); in enqueue_logging_data()
1169 lq->ld_rpath = strdup(rpath); in enqueue_logging_data()
1306 cln->host = strdup(host); in cln_gethost()
1317 cln->host = strdup(host); in cln_gethost()
2121 head = strdup(opts); in newopts()
2161 opts = strdup(sh->sh_opts); in getclientsflavors_old()
2228 opts = strdup(sh->sh_opts); in getclientsflavors_new()
2446 opts = strdup(sh->sh_opts); in check_client_old()
[all …]
H A Dnetgroup.c296 entry->cache_host = strdup(host); in cache_enter()
311 entry->cache_grl[i] = strdup(grl[i]); in cache_enter()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c470 if ((bnm = strdup(zonepath)) == NULL) in path2name()
473 if ((dnm = strdup(zonepath)) == NULL) { in path2name()
1144 if ((path = strdup(zonepath)) == NULL) in is_zonepath_zfs()
1323 retval->mnt_special = strdup(srcp->mnt_special); in mnttab_dup()
1328 retval->mnt_fstype = strdup(srcp->mnt_fstype); in mnttab_dup()
1388 if ((*mountpoint = strdup(propbuf)) == NULL) { in get_zfs_non_legacy_mountpoint()
1477 if ((mounts->zonepath = strdup(zonepath)) == NULL) { in zone_mounts_init()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfakewin.h44 #define strdup _fstrdup macro
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dreqexec.c377 tmp_script = strdup(script); in do_exec()
380 tmp_script = strdup(script); in do_exec()
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c49 if ((new->r_dname = strdup(old->r_dname)) == 0) in old2new()
79 if ((old->r_dname = strdup(new->r_dname)) == 0) in new2old()
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_helper.c103 *sid = strdup(text_sid); in directory_sid_from_name_common()
216 *canon = strdup(ret_name->x_sun_canonicalName[0]); in directory_canon_common()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c131 if ((sp->slice = strdup(devname)) == NULL) { in add_use_record()
136 if ((sp->name = strdup(name)) == NULL) { in add_use_record()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c201 n->h_hostname = strdup(name);
215 n->h_hostname = strdup(name);
/illumos-gate/usr/src/lib/libgss/
H A Dg_utils.c116 qop_num_pairs[qop_num_pair_cnt].qop = strdup(name); in __gss_read_qop_file()
146 qop_num_pairs[qop_num_pair_cnt].mech = strdup(name); in __gss_read_qop_file()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_rename.c159 bt.obe_root_ds = strdup(root_ds); in be_rename()
166 bt.nbe_root_ds = strdup(root_ds); in be_rename()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c181 newvalue = strdup(pbuf);
203 interact->result = (char *) strdup(newvalue);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dgssapi_krb5.c234 name = strdup(kg_ccache_name); in kg_get_ccache_name()
248 name = strdup(name); in kg_get_ccache_name()
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_list.c86 cs->cs_name = strdup(key); in cs_insert()
174 a->a_name = strdup(alias); in alias_insert()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dnldaputils.c647 *q->unixname = strdup(*val); in idmap_nldap_lookup_batch_end()
658 *q->dn = strdup(*val); in idmap_nldap_lookup_batch_end()
667 *q->attr = strdup(qs->nldap_winname_attr); in idmap_nldap_lookup_batch_end()
678 *q->value = strdup(*val); in idmap_nldap_lookup_batch_end()
715 *q->winname = strdup(name); in idmap_nldap_lookup_batch_end()
722 *q->windomain = strdup(dom); in idmap_nldap_lookup_batch_end()
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dcompat.c62 *value = strdup(cp); in get_compat_flag()
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c115 *specialp = strdup(vfsbuf.vfs_special); in searchvfstab()
139 *specialp = strdup(mntbuf.mnt_special); in searchmnttab()
140 *mountpointp = strdup(mntbuf.mnt_mountp); in searchmnttab()

1...<<11121314151617181920>>...53