Searched refs:strdup (Results 151 - 175 of 967) sorted by relevance

1234567891011>>

/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Dstr.c55 return (str ? strdup(str) : NULL);
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h86 #define strdup _strdup macro
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dautoopts.c52 # define strdup(_s) option_strdup(_s) macro
53 # include "compat/strdup.c"
91 char * res = strdup(str);
98 #undef strdup macro
99 #define strdup(_p) ao_strdup(_p) macro
/freebsd-9.3-release/contrib/smbfs/lib/smb/
H A Drcfile.c88 rcp->rf_name = strdup(filename);
164 p->rs_name = strdup(sectname);
209 p->rk_name = strdup(name);
211 p->rk_value = value ? strdup(value) : strdup("");
313 rkp->rk_value = strdup(buf);
319 rkp->rk_value = strdup(buf);
/freebsd-9.3-release/lib/libc/nls/
H A Dmsgcat.c83 np->name = strdup(n); \
86 strdup(l); \
166 if ((plang = cptr1 = strdup(lang)) == NULL)
183 if ((base = cptr = strdup(nlspath)) == NULL) {
437 np->name = strdup(name);
438 np->path = strdup(path);
440 np->lang = (lang == NULL) ? NULL : strdup(lang);
/freebsd-9.3-release/lib/libc/rpc/
H A Dauth_time.c185 ep->uaddr = strdup(hname);
186 ep->family = strdup("inet");
187 ep->proto = strdup("tcp");
200 ep->uaddr = strdup(hname);
201 ep->family = strdup("inet");
202 ep->proto = strdup("udp");
491 *uaddr = strdup(useua);
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Dpartedit.c227 md->name = strdup(name);
485 md->name = strdup(&fstab->fs_spec[5]);
488 md->fstab->fs_spec = strdup(fstab->fs_spec);
489 md->fstab->fs_file = strdup(fstab->fs_file);
490 md->fstab->fs_vfstype = strdup(fstab->fs_vfstype);
491 md->fstab->fs_mntops = strdup(fstab->fs_mntops);
492 md->fstab->fs_type = strdup(fstab->fs_type);
/freebsd-9.3-release/usr.sbin/kbdmap/
H A Dkbdmap.c133 km->desc = strdup(desc);
140 km_new->desc = strdup(desc);
141 km_new->keym = strdup(keym);
250 tmp = strdup(fnt);
308 tmp = strdup(km->keym);
421 buffer_copy = strdup(buffer);
618 char *tmp = strdup(lng);
686 menu = strdup(km->desc);
690 font = strdup(km->desc);
708 q = strdup(d
[all...]
/freebsd-9.3-release/contrib/amd/amd/
H A Dmntfs.c75 mf->mf_mount = strdup(mp);
76 mf->mf_info = strdup(info);
77 mf->mf_auto = strdup(auto_opts);
78 mf->mf_mopts = strdup(mopts);
79 mf->mf_remopts = strdup(remopts);
H A Dinfo_file.c162 char *dc = strdup(cp);
164 (*fn) (m, strdup(kp), dc);
H A Dops_cachefs.c102 return strdup(fo->opt_cachedir);
117 mf->mf_private = (voidp) strdup(mf->mf_fo->opt_cachedir);
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_esdb.c106 esdb->db_encname = strdup(str);
117 esdb->db_variable = strdup(str);
161 esdb->db_charsets[i].ec_csname = strdup(str);
307 list[num] = strdup(buf);
344 list[num] = strdup(buf);
/freebsd-9.3-release/lib/librpcsec_gss/
H A Drpcsec_gss_conf.c216 info->name = strdup(name);
218 info->lib = strdup(lib);
219 info->kobj = strdup(kobj);
268 info->name = strdup(name);
270 info->mech = strdup(mech);
/freebsd-9.3-release/tools/regression/geom/ConfCmp/
H A DConfCmp.c117 np->id = strdup(attr[i+1]);
119 np->ref = strdup(attr[i+1]);
121 np->name = strdup(name);
268 r->k1 = strdup(r1);
269 r->k2 = strdup(r2);
/freebsd-9.3-release/usr.sbin/pkg_install/version/
H A Dperform.c215 ie->name = strdup(tmp);
216 ie->origin = strdup(&ch[1]);
225 latest = strdup(ie->name);
242 latest = strdup(tmp);
244 latest = strdup(ie->name);
/freebsd-9.3-release/sbin/mount/
H A Dmount.c206 optbuf = strdup(arg);
507 optbuf = strdup(mntopts);
547 optbuf = catopt(strdup(mntopts), options);
580 append_arg(&mnt_argv, strdup(spec));
581 append_arg(&mnt_argv, strdup(name));
698 cp = strdup(s1);
747 mountprog = strdup(val);
772 append_arg(a, strdup("-o"));
787 return (strdup(""));
/freebsd-9.3-release/lib/libfetch/
H A Dhttp.c811 strdup(value);
814 strdup(value);
817 strdup(value);
820 strdup(value);
823 strdup(value);
1055 char *str = strdup(p);
1067 if ((parms->scheme = strdup(v)) == NULL) {
1077 if ((parms->realm = strdup(v)) == NULL) {
1087 if ((parms->user = strdup(v)) == NULL) {
1094 if ((parms->password = strdup(
[all...]
/freebsd-9.3-release/tools/regression/lib/libc/nss/
H A Dtest-getproto.c93 dest->p_name = strdup(src->p_name);
109 dest->p_aliases[cp - src->p_aliases] = strdup(*cp);
217 pe->p_name = strdup(s);
238 ts = strdup(s);
243 ts = strdup(s);
453 snapshot_file = strdup(optarg);
H A Dtest-getrpc.c93 dest->r_name = strdup(src->r_name);
109 dest->r_aliases[cp - src->r_aliases] = strdup(*cp);
217 rpc->r_name = strdup(s);
238 ts = strdup(s);
243 ts = strdup(s);
453 snapshot_file = strdup(optarg);
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddispatch.c169 new->string = strdup(string);
345 old_interactive = strdup(old_interactive); /* save copy */
549 menu->items[count].prompt = strdup("X Exit");
550 menu->items[count].title = strdup("Exit this menu (returning to previous)");
571 menu->items[count].prompt = strdup(devlist[j]->name);
572 menu->items[count].title = strdup(devlist[j]->description);
/freebsd-9.3-release/usr.sbin/pkg/
H A Dconfig.c311 c[PACKAGESITE].value = strdup(sbuf_data(newval));
400 strdup(ucl_object_tostring(seq));
407 strdup(ucl_object_toboolean(cur) ? "yes" : "no");
411 temp_config[i].value = strdup(ucl_object_tostring(cur));
565 strdup(env_list_item);
591 cv->value = strdup("/etc/pkg");
/freebsd-9.3-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_cpio.c57 p = strdup("file");
77 p = strdup("file2");
/freebsd-9.3-release/contrib/libarchive/libarchive_fe/
H A Dline_reader.c39 #define strdup _strdup macro
68 lr->pathname = strdup(pathname);
/freebsd-9.3-release/contrib/libreadline/examples/
H A Drl-fgets.c262 my_fgets_names[i] = strdup(buf2) ;
298 return ( strdup ( name ) ) ;
/freebsd-9.3-release/contrib/libstdc++/config/locale/generic/
H A Dtime_members.cc47 char* __old = strdup(setlocale(LC_ALL, NULL));
129 char* __old = strdup(setlocale(LC_ALL, NULL));

Completed in 163 milliseconds

1234567891011>>