| /freebsd-11-stable/lib/libypclnt/ |
| HD | ypclnt_passwd.c | 153 yppwd.oldpass = strdup(""); in yppasswd_local() 154 yppwd.domain = strdup(ypclnt->domain); in yppasswd_local() 155 if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL || in yppasswd_local() 156 (yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL || in yppasswd_local() 157 (yppwd.newpw.pw_class = strdup(pwd->pw_class)) == NULL || in yppasswd_local() 158 (yppwd.newpw.pw_gecos = strdup(pwd->pw_gecos)) == NULL || in yppasswd_local() 159 (yppwd.newpw.pw_dir = strdup(pwd->pw_dir)) == NULL || in yppasswd_local() 160 (yppwd.newpw.pw_shell = strdup(pwd->pw_shell)) == NULL) { in yppasswd_local() 248 if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL || in yppasswd_remote() 249 (yppwd.newpw.pw_passwd = strdup(pwd->pw_passwd)) == NULL || in yppasswd_remote() [all …]
|
| HD | ypclnt_new.c | 49 if (domain != NULL && (ypclnt->domain = strdup(domain)) == NULL) in ypclnt_new() 51 if (map != NULL && (ypclnt->map = strdup(map)) == NULL) in ypclnt_new() 53 if (server != NULL && (ypclnt->server = strdup(server)) == NULL) in ypclnt_new()
|
| /freebsd-11-stable/crypto/heimdal/lib/hdb/ |
| HD | dbinfo.c | 67 di->label = strdup(label); in get_dbinfo() 68 di->dbname = strdup(p); in get_dbinfo() 72 di->realm = strdup(p); in get_dbinfo() 75 di->mkey_file = strdup(p); in get_dbinfo() 78 di->acl_file = strdup(p); in get_dbinfo() 81 di->log_file = strdup(p); in get_dbinfo() 143 di->label = strdup("default"); in hdb_get_dbinfo() 148 di->dbname = strdup(default_dbname); in hdb_get_dbinfo() 150 di->mkey_file = strdup(default_mkey); in hdb_get_dbinfo() 164 di->acl_file = strdup(default_acl); in hdb_get_dbinfo()
|
| /freebsd-11-stable/contrib/gcclibs/libiberty/ |
| HD | lrealpath.c | 88 return strdup (rp); in lrealpath() 99 return strdup (filename); in lrealpath() 124 ret = strdup (rp ? rp : filename); in lrealpath() 143 return strdup (filename); in lrealpath() 150 return strdup (buf); in lrealpath() 156 return strdup (filename); in lrealpath()
|
| /freebsd-11-stable/contrib/binutils/libiberty/ |
| HD | lrealpath.c | 88 return strdup (rp); in lrealpath() 99 return strdup (filename); in lrealpath() 124 ret = strdup (rp ? rp : filename); in lrealpath() 143 return strdup (filename); in lrealpath() 150 return strdup (buf); in lrealpath() 156 return strdup (filename); in lrealpath()
|
| /freebsd-11-stable/crypto/heimdal/lib/kadm5/ |
| HD | context_s.c | 101 ctx->config.dbname = strdup(p); in find_db_spec() 105 ctx->config.acl_file = strdup(p); in find_db_spec() 109 ctx->config.stash_file = strdup(p); in find_db_spec() 113 ctx->log_context.log_file = strdup(p); in find_db_spec() 122 ctx->config.dbname = strdup(hdb_default_db(context)); in find_db_spec() 153 (*ctx)->config.realm = strdup(params->realm); in _kadm5_s_init_context() 157 (*ctx)->config.dbname = strdup(params->dbname); in _kadm5_s_init_context() 159 (*ctx)->config.acl_file = strdup(params->acl_file); in _kadm5_s_init_context() 161 (*ctx)->config.stash_file = strdup(params->stash_file); in _kadm5_s_init_context()
|
| /freebsd-11-stable/sbin/mount_msdosfs/ |
| HD | mount_msdosfs.c | 123 cs_local = strdup(quirk); in main() 127 cs_dos = strdup(optarg); in main() 132 char *val = strdup(""); in main() 144 cs_local = strdup("ISO8859-2"); in main() 145 cs_dos = strdup("CP852"); in main() 147 cs_local = strdup("ISO8859-7"); in main() 148 cs_dos = strdup("CP737"); in main() 150 cs_local = strdup("KOI8-R"); in main() 151 cs_dos = strdup("CP866"); in main() 153 cs_local = strdup("KOI8-U"); in main() [all …]
|
| /freebsd-11-stable/gnu/usr.bin/gdb/kgdb/ |
| HD | main.c | 109 kernel = strdup(path); in kernel_from_dumpnr() 116 kernel = strdup(path); in kernel_from_dumpnr() 149 kernel = strdup(path); in kernel_from_dumpnr() 281 remote = strdup(path); in verify_remote() 360 vmcore = strdup(optarg); in main() 388 remote = strdup(optarg); in main() 413 kernel = strdup(argv[optind++]); in main() 426 vmcore = strdup(path); in main() 431 vmcore = strdup(argv[optind++]); in main() 435 vmcore = strdup(_PATH_MEM); in main() [all …]
|
| /freebsd-11-stable/bin/ps/ |
| HD | print.c | 131 str = strdup(k->ki_p->ki_comm); in command() 188 str = strdup(k->ki_p->ki_comm); in ucomm() 202 str = strdup(" "); in tdnam() 213 return (strdup(k->ki_p->ki_login)); in logname() 315 return (strdup(user_from_uid(k->ki_p->ki_uid, 0))); in uname() 322 return (strdup(group_from_gid(k->ki_p->ki_groups[0], 0))); in egroupname() 329 return (strdup(group_from_gid(k->ki_p->ki_rgid, 0))); in rgroupname() 336 return (strdup(user_from_uid(k->ki_p->ki_ruid, 0))); in runame() 347 str = strdup("-"); in tdev() 362 str = strdup("- "); in tname() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ |
| HD | TargetMachineC.cpp | 74 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 163 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple() 168 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU() 173 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString() 209 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 224 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 246 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple() 250 return strdup(Triple::normalize(StringRef(triple)).c_str()); in LLVMNormalizeTargetTriple() 254 return strdup(sys::getHostCPUName().data()); in LLVMGetHostCPUName() 265 return strdup(Features.getString().c_str()); in LLVMGetHostCPUFeatures()
|
| /freebsd-11-stable/usr.bin/chpass/ |
| HD | field.c | 76 if (!(pw->pw_name = strdup(p))) { in p_login() 94 if (!(pw->pw_passwd = strdup(p))) { in p_passwd() 161 if (!(pw->pw_class = strdup(p))) { in p_class() 193 if (!(ep->save = strdup(p))) { in p_gecos() 208 if (!(pw->pw_dir = strdup(p))) { in p_hdir() 222 pw->pw_shell = strdup(_PATH_BSHELL); in p_shell() 235 pw->pw_shell = strdup(p); in p_shell()
|
| /freebsd-11-stable/lib/libc/tests/nss/ |
| HD | getpw_test.c | 86 dest->pw_name = strdup(src->pw_name); in IMPLEMENT_TEST_FILE_SNAPSHOT() 88 dest->pw_passwd = strdup(src->pw_passwd); in IMPLEMENT_TEST_FILE_SNAPSHOT() 90 dest->pw_class = strdup(src->pw_class); in IMPLEMENT_TEST_FILE_SNAPSHOT() 92 dest->pw_gecos = strdup(src->pw_gecos); in IMPLEMENT_TEST_FILE_SNAPSHOT() 94 dest->pw_dir = strdup(src->pw_dir); in IMPLEMENT_TEST_FILE_SNAPSHOT() 96 dest->pw_shell = strdup(dest->pw_shell); in IMPLEMENT_TEST_FILE_SNAPSHOT() 174 pwd->pw_name = strdup(s); in passwd_read_snapshot_func() 178 pwd->pw_passwd = strdup(s); in passwd_read_snapshot_func() 197 pwd->pw_class = strdup(s); in passwd_read_snapshot_func() 201 pwd->pw_gecos = strdup(s); in passwd_read_snapshot_func() [all …]
|
| /freebsd-11-stable/usr.sbin/lpr/common_source/ |
| HD | ctlinfo.c | 129 char *strdup(const char *_src); 308 cpriv->pub.cji_curqueue = strdup(ptrname); in ctl_readcf() 337 cpriv->pub.cji_class = strdup(lbuff); in ctl_readcf() 342 cpriv->pub.cji_accthost = strdup(lbuff); in ctl_readcf() 345 cpriv->pub.cji_jobname = strdup(lbuff); in ctl_readcf() 348 cpriv->pub.cji_headruser = strdup(lbuff); in ctl_readcf() 360 cpriv->pub.cji_mailto = strdup(lbuff); in ctl_readcf() 368 cpriv->pub.cji_acctuser = strdup(lbuff); in ctl_readcf() 381 cpriv->pub.cji_accthost = strdup(".na."); in ctl_readcf() 383 cpriv->pub.cji_acctuser = strdup(".na."); in ctl_readcf() [all …]
|
| /freebsd-11-stable/contrib/ofed/opensm/opensm/ |
| HD | osm_qos_parser_l.l | 53 #define HANDLE_IF_IN_DESCRIPTION if (in_description) { yylval = strdup(yytext); return TK_TEXT; } 271 {ROUTER} { SAVE_POS; if (in_node_type) return TK_NODE_TYPE_ROUTER; yylval = strdup… 272 {CA} { SAVE_POS; if (in_node_type) return TK_NODE_TYPE_CA; yylval = strdup… 273 {SWITCH} { SAVE_POS; if (in_node_type) return TK_NODE_TYPE_SWITCH; yylval = strdup… 274 {SELF} { SAVE_POS; if (in_node_type) return TK_NODE_TYPE_SELF; yylval = strdup… 275 {ALL} { SAVE_POS; if (in_node_type) return TK_NODE_TYPE_ALL; yylval = strdup… 300 yylval = strdup(yytext); 308 yylval = strdup(yytext); 319 yylval = strdup(yytext); 329 yylval = strdup(yytext); [all …]
|
| /freebsd-11-stable/usr.bin/calendar/ |
| HD | locale.c | 90 if ((ndays[i].name = strdup(buf)) == NULL) in setnnames() 102 if ((fndays[i].name = strdup(buf)) == NULL) in setnnames() 118 if ((nmonths[i].name = strdup(buf)) == NULL) in setnnames() 130 if ((fnmonths[i].name = strdup(buf)) == NULL) in setnnames() 159 nsequences[i].name = strdup(nsequences[i].name); in setnsequences() 162 nsequences[i].name = strdup(nsequences[i].name); in setnsequences()
|
| HD | events.c | 61 e->date = strdup(date); in event_add() 64 e->text = strdup(txt); in event_add() 69 e->extra = strdup(extra); in event_add() 86 text = strdup(e->text); in event_continue()
|
| /freebsd-11-stable/libexec/revnetgroup/ |
| HD | hash.c | 155 new->key = strdup(key); in store() 156 new->data = strdup(data); in store() 186 tmp->groupname = strdup(data); in mstore() 201 new->key = strdup(key); in mstore() 202 new->domain = domain ? strdup(domain) : "*"; in mstore()
|
| /freebsd-11-stable/crypto/heimdal/lib/krb5/ |
| HD | expand_path.c | 71 *ret = strdup(tpath); in _expand_temp_folder() 120 *ret = strdup(path); in _expand_bin_dir() 217 *ret = strdup(strSid); in _expand_userid() 262 *ret = strdup(path); in _expand_csidl() 276 *ret = strdup(postfix); in _expand_path() 292 *ret = strdup(p); in _expand_temp_folder() 294 *ret = strdup("/tmp"); in _expand_temp_folder() 321 *ret = strdup(""); in _expand_null() 411 *ppath_out = strdup(""); in _krb5_expand_path_tokens() 452 append = strdup(path_left); in _krb5_expand_path_tokens()
|
| HD | digest.c | 94 digest->init.channel->cb_type = strdup(type); in krb5_digest_set_server_cb() 98 digest->init.channel->cb_binding = strdup(binding); in krb5_digest_set_server_cb() 122 digest->init.type = strdup(type); in krb5_digest_set_type() 144 *digest->init.hostname = strdup(hostname); in krb5_digest_set_hostname() 170 digest->request.serverNonce = strdup(nonce); in krb5_digest_set_server_nonce() 194 digest->request.opaque = strdup(opaque); in krb5_digest_set_opaque() 225 *digest->request.identifier = strdup(id); in krb5_digest_set_identifier() 480 *digest->request.clientNonce = strdup(nonce); in krb5_digest_set_client_nonce() 500 digest->request.digest = strdup(dgst); in krb5_digest_set_digest() 517 digest->request.username = strdup(username); in krb5_digest_set_username() [all …]
|
| /freebsd-11-stable/contrib/sendmail/contrib/ |
| HD | rmail.oldsys.patch | 28 + #define strdup(s) strcpy(xalloc(strlen(s) + 1), s) 59 if ((args[i++] = strdup(buf)) == NULL) 64 if ((args[i++] = strdup(buf)) == NULL) 70 if ((args[i++] = strdup(buf)) == NULL) 88 if ((args[i++] = strdup(buf)) == NULL) 95 if ((args[i++] = strdup(buf)) == NULL) 104 if ((args[i++] = strdup(buf)) == NULL)
|
| /freebsd-11-stable/crypto/heimdal/lib/sl/ |
| HD | Makefile.am | 6 ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c 32 CLEANFILES = snprintf.c strtok_r.c strdup.c strupr.c getprogname.c slc-lex.c 42 strdup.c: 43 $(LN_S) $(srcdir)/../roken/strdup.c .
|
| /freebsd-11-stable/usr.bin/ldd/ |
| HD | ldd.c | 99 argv[i++] = strdup(_PATH_LDD32); in execldd32() 101 argv[i++] = strdup("-a"); in execldd32() 103 argv[i++] = strdup("-v"); in execldd32() 105 argv[i++] = strdup("-f"); in execldd32() 106 argv[i++] = strdup(fmt1); in execldd32() 109 argv[i++] = strdup("-f"); in execldd32() 110 argv[i++] = strdup(fmt2); in execldd32() 112 argv[i++] = strdup(file); in execldd32()
|
| /freebsd-11-stable/contrib/tcpdump/ |
| HD | addrtoname.c | 273 p->name = strdup(hp->h_name); in getname() 286 p->name = strdup(intoa(addr)); in getname() 335 p->name = strdup(hp->h_name); in getname6() 349 p->name = strdup(cp); in getname6() 529 tp->e_name = strdup(buf2); in etheraddr_string() 552 tp->e_name = strdup(buf); in etheraddr_string() 581 tp->bs_name = strdup(buf); in le64addr_string() 645 tp->name = strdup(buf); in etherproto_string() 674 tp->p_name = strdup(buf); in protoid_string() 727 tp->name = strdup(buf); in tcpport_string() [all …]
|
| /freebsd-11-stable/sys/cam/ctl/ |
| HD | ctl_backend.c | 154 opt->name = strdup(args[i].kname, M_CTL); in ctl_init_opts() 155 opt->value = strdup(args[i].kvalue, M_CTL); in ctl_init_opts() 179 opt->value = strdup(args[i].kvalue, M_CTL); in ctl_update_opts() 182 opt->name = strdup(args[i].kname, M_CTL); in ctl_update_opts() 183 opt->value = strdup(args[i].kvalue, M_CTL); in ctl_update_opts()
|
| /freebsd-11-stable/sbin/devd/ |
| HD | parse.y | 142 { $$ = 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); }
|