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

1234567891011>>

/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Ddeviceid.c47 *retminor_name = strdup("");
104 *retminor_name = strdup("");
114 return (strdup(devid.devid));
/freebsd-11-stable/libexec/revnetgroup/
H A Dhash.c155 new->key = strdup(key);
156 new->data = strdup(data);
186 tmp->groupname = strdup(data);
201 new->key = strdup(key);
202 new->domain = domain ? strdup(domain) : "*";
/freebsd-11-stable/sbin/mount_msdosfs/
H A Dmount_msdosfs.c123 cs_local = strdup(quirk);
127 cs_dos = strdup(optarg);
132 char *val = strdup("");
144 cs_local = strdup("ISO8859-2");
145 cs_dos = strdup("CP852");
147 cs_local = strdup("ISO8859-7");
148 cs_dos = strdup("CP737");
150 cs_local = strdup("KOI8-R");
151 cs_dos = strdup("CP866");
153 cs_local = strdup("KOI
[all...]
/freebsd-11-stable/usr.bin/chpass/
H A Dfield.c76 if (!(pw->pw_name = strdup(p))) {
94 if (!(pw->pw_passwd = strdup(p))) {
161 if (!(pw->pw_class = strdup(p))) {
193 if (!(ep->save = strdup(p))) {
208 if (!(pw->pw_dir = strdup(p))) {
222 pw->pw_shell = strdup(_PATH_BSHELL);
235 pw->pw_shell = strdup(p);
/freebsd-11-stable/lib/libypclnt/
H A Dypclnt_passwd.c153 yppwd.oldpass = strdup("");
154 yppwd.domain = strdup(ypclnt->domain);
155 if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL ||
156 (yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL ||
157 (yppwd.newpw.pw_class = strdup(pwd->pw_class)) == NULL ||
158 (yppwd.newpw.pw_gecos = strdup(pwd->pw_gecos)) == NULL ||
159 (yppwd.newpw.pw_dir = strdup(pwd->pw_dir)) == NULL ||
160 (yppwd.newpw.pw_shell = strdup(pwd->pw_shell)) == NULL) {
248 if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL ||
249 (yppwd.newpw.pw_passwd = strdup(pw
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Ddbinfo.c67 di->label = strdup(label);
68 di->dbname = strdup(p);
72 di->realm = strdup(p);
75 di->mkey_file = strdup(p);
78 di->acl_file = strdup(p);
81 di->log_file = strdup(p);
143 di->label = strdup("default");
148 di->dbname = strdup(default_dbname);
150 di->mkey_file = strdup(default_mkey);
164 di->acl_file = strdup(default_ac
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachineC.cpp74 *ErrorMessage = strdup(Error.c_str());
163 return strdup(StringRep.c_str());
168 return strdup(StringRep.c_str());
173 return strdup(StringRep.c_str());
209 *ErrorMessage = strdup(error.c_str());
224 *ErrorMessage = strdup(EC.message().c_str());
246 return strdup(sys::getDefaultTargetTriple().c_str());
250 return strdup(Triple::normalize(StringRef(triple)).c_str());
254 return strdup(sys::getHostCPUName().data());
265 return strdup(Feature
[all...]
/freebsd-11-stable/usr.bin/calendar/
H A Dlocale.c90 if ((ndays[i].name = strdup(buf)) == NULL)
102 if ((fndays[i].name = strdup(buf)) == NULL)
118 if ((nmonths[i].name = strdup(buf)) == NULL)
130 if ((fnmonths[i].name = strdup(buf)) == NULL)
159 nsequences[i].name = strdup(nsequences[i].name);
162 nsequences[i].name = strdup(nsequences[i].name);
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dgetenv_num.c69 if ((s = strdup(buffer)) != 0)
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dh_ps_strings2.c58 if ((argv[i] = strdup(buf)) == NULL)
59 errx(1, "strdup failed");
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dccache_name.c63 last_out_name = strdup(n);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dcopy_host_realm.c68 (*to)[i] = strdup(*p);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dsetprogname.c72 char * fn = strdup(p);
/freebsd-11-stable/contrib/tcpdump/
H A Dinterface.h61 extern char *strdup(const char *);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt.c67 optstring = strdup(optstring);
80 args[nargs] = strdup(args[nargs]);
82 args[nargs] = strdup(args[nargs]);
98 result = strdup(result);
/freebsd-11-stable/usr.bin/sort/
H A Dmem.c80 if ((dup = strdup(str)) == NULL)
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_getenvlist.c70 if ((envlist[i] = strdup(pamh->env[i])) == NULL) {
/freebsd-11-stable/usr.bin/systat/
H A Difcmds.c67 matchline = strdup(args);
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/
H A Dmain.c109 kernel = strdup(path);
116 kernel = strdup(path);
149 kernel = strdup(path);
281 remote = strdup(path);
360 vmcore = strdup(optarg);
388 remote = strdup(optarg);
413 kernel = strdup(argv[optind++]);
426 vmcore = strdup(path);
431 vmcore = strdup(argv[optind++]);
435 vmcore = strdup(_PATH_ME
[all...]
/freebsd-11-stable/contrib/ncurses/include/
H A Dnc_alloc.h98 #undef strdup macro
99 #define strdup _nc_strdup macro
/freebsd-11-stable/contrib/ncurses/panel/
H A Dp_new.c80 stdscr_id = strdup("stdscr");
114 new_id = strdup("new");
/freebsd-11-stable/contrib/libstdc++/config/locale/gnu/
H A Dmessages_members.cc52 char* __old = strdup(setlocale(LC_ALL, NULL));
72 char* __old = strdup(setlocale(LC_ALL, NULL));
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_passphrase.c48 a->passphrase = strdup(p);
85 a->passphrase = strdup(p);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/ntlm/
H A Dimport_name.c96 n->user = strdup(name);
97 n->domain = strdup(p);
/freebsd-11-stable/sbin/devd/
H A Dparse.y142 { $$ = new_match(strdup("device-name"), $2); }
144 { $$ = new_media(strdup("media-type"), $2); }
146 { $$ = new_match(strdup("class"), $2); }
148 { $$ = new_match(strdup("subdevice"), $2); }

Completed in 299 milliseconds

1234567891011>>