/openbsd/gnu/lib/libiberty/src/ |
H A D | 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()
|
/openbsd/usr.sbin/amd/amd/ |
H A D | info_union.c | 67 char *mapd = strdup(map + UNION_PREFLEN); in union_search() 83 char *mapd = strdup(map + UNION_PREFLEN); in union_reload() 90 (*fn)(m, strdup("/defaults"), in union_reload() 91 strdup("type:=link;opts:=nounmount;sublink:=${key}")); in union_reload() 119 (*fn)(m, strdup(dp->d_name), val); in union_reload() 131 (*fn)(m, strdup("*"), val); in union_reload()
|
H A D | mtab.c | 103 new_mp->mnt_fsname = strdup(mp->f_mntfromname); in mnt_dup() 104 new_mp->mnt_dir = strdup(mp->f_mntonname); in mnt_dup() 105 new_mp->mnt_type = strdup(mp->f_fstypename); in mnt_dup() 106 new_mp->mnt_opts = strdup("unset"); in mnt_dup()
|
H A D | restart.c | 109 mo.opt_rhost = strdup(me->mnt_fsname); in restart() 110 mo.opt_rfs = strdup(cp+1); in restart() 118 mo.opt_rhost = strdup(me->mnt_fsname); in restart() 119 mo.opt_rfs = strdup("/"); in restart()
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/ |
H A D | ctor_copy_dtor.cc | 340 getenv("LC_CTYPE") ? strdup(getenv("LC_CTYPE")) : ""; in test04() 342 getenv("LC_NUMERIC") ? strdup(getenv("LC_NUMERIC")) : ""; in test04() 344 getenv("LC_TIME") ? strdup(getenv("LC_TIME")) : ""; in test04() 346 getenv("LC_COLLATE") ? strdup(getenv("LC_COLLATE")) : ""; in test04() 348 getenv("LC_MONETARY") ? strdup(getenv("LC_MONETARY")) : ""; in test04() 350 getenv("LC_MESSAGES") ? strdup(getenv("LC_MESSAGES")) : ""; in test04() 353 getenv("LC_PAPER") ? strdup(getenv("LC_PAPER")) : ""; in test04() 355 getenv("LC_NAME") ? strdup(getenv("LC_NAME")) : ""; in test04() 357 getenv("LC_ADDRESS") ? strdup(getenv("LC_ADDRESS")) : ""; in test04() 359 getenv("LC_TELEPHONE") ? strdup(getenv("LC_TELEPHONE")) : ""; in test04() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 71 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 160 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple() 165 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU() 170 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString() 206 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 223 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 245 return strdup(sys::getDefaultTargetTriple().c_str()); in LLVMGetDefaultTargetTriple() 249 return strdup(Triple::normalize(StringRef(triple)).c_str()); in LLVMNormalizeTargetTriple() 253 return strdup(sys::getHostCPUName().data()); in LLVMGetHostCPUName() 264 return strdup(Features.getString().c_str()); in LLVMGetHostCPUFeatures()
|
/openbsd/lib/libcrypto/ocsp/ |
H A D | ocsp_lib.c | 201 host = strdup(url + 8); in OCSP_parse_url() 203 host = strdup(url + 7); in OCSP_parse_url() 214 path = strdup(tmp); in OCSP_parse_url() 217 path = strdup("/"); in OCSP_parse_url() 220 port = strdup(tmp + 1); in OCSP_parse_url() 224 port = strdup("443"); in OCSP_parse_url() 226 port = strdup("80"); in OCSP_parse_url()
|
/openbsd/usr.bin/chpass/ |
H A D | field.c | 63 if (!(pw->pw_name = strdup(p))) { in p_login() 82 else if (!(pw->pw_passwd = strdup(p))) { in p_passwd() 142 else if (!(pw->pw_class = strdup(p))) { in p_class() 173 else if (!(ep->save = strdup(p))) { in p_gecos() 187 if (!(pw->pw_dir = strdup(p))) { in p_hdir() 213 t = strdup(p); in p_shell()
|
/openbsd/usr.sbin/ypserv/revnetgroup/ |
H A D | hash.c | 153 new->key = strdup(key); in ngstore() 154 new->data = strdup(data); in ngstore() 182 tmp->groupname = strdup(data); in mstore() 206 new->key = strdup(key); in mstore() 207 new->domain = strdup(domain); in mstore()
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | replay.c | 348 mom->string = strdup(m); in replay_moment_read() 698 return strdup(buf); in do_macro_ctime() 786 return strdup(res); in do_macro_range() 813 return strdup(buf); in macro_expand() 823 return strdup(buf); in macro_expand() 862 return strdup(buf); in macro_expand() 890 return strdup(buf); in macro_process() 897 if(!x) return strdup(""); in macro_lookup() 898 return strdup(x->value); in macro_lookup() 919 x->name = strdup(name); in macro_assign() [all …]
|
/openbsd/regress/usr.bin/ssh/unittests/authopt/ |
H A D | tests.c | 70 ocp = cp = strdup(s); in commasplit() 75 cp2 = strdup(cp2); in commasplit() 231 expected->var = strdup(val); \ in test_authkeys_parse() 236 expected->var = strdup(val); \ in test_authkeys_parse() 341 expected->force_command = strdup("foo"); in test_cert_parse() 350 expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128"); in test_cert_parse() 484 expected->required_from_host_keys = strdup("127.0.0.1"); in test_merge() 496 expected->required_from_host_keys = strdup("127.0.0.1"); in test_merge() 510 expected->force_command = strdup("foo"); in test_merge() 522 expected->force_command = strdup("bar"); in test_merge() [all …]
|
/openbsd/gnu/usr.bin/texinfo/lib/ |
H A D | strdup.c | 33 #undef strdup 36 # define __strdup strdup 55 weak_alias (__strdup, strdup)
|
/openbsd/gnu/usr.bin/binutils/intl/ |
H A D | bindtextdom.c | 64 # ifndef strdup 65 # define strdup(str) __strdup (str) macro 116 new_dirname = strdup (dirname); 148 new_binding->domainname = strdup (domainname); 164 new_binding->dirname = strdup (dirname);
|
H A D | textdomain.c | 57 # ifndef strdup 58 # define strdup(str) __strdup (str) macro 89 _nl_current_default_domain = strdup (domainname);
|
/openbsd/gnu/usr.bin/binutils-2.17/intl/ |
H A D | bindtextdom.c | 64 # ifndef strdup 65 # define strdup(str) __strdup (str) macro 116 new_dirname = strdup (dirname); 148 new_binding->domainname = strdup (domainname); 164 new_binding->dirname = strdup (dirname);
|
H A D | textdomain.c | 57 # ifndef strdup 58 # define strdup(str) __strdup (str) macro 89 _nl_current_default_domain = strdup (domainname);
|
/openbsd/usr.sbin/acme-client/ |
H A D | parse.y | 186 if ((s = strdup($2)) == NULL) 218 if ((s = strdup($3)) == NULL) 228 if ((s = strdup($3)) == NULL) 239 if ((s = strdup($2)) == NULL) 247 if ((s = strdup($2)) == NULL) 297 if ((s = strdup($3)) == NULL) 307 if ((s = strdup($3)) == NULL) 327 if ((s = strdup($3)) == NULL) 347 if ((s = strdup($4)) == NULL) 874 sym->nam = strdup(nam); in symset() [all …]
|
/openbsd/sbin/isakmpd/ |
H A D | key.c | 61 *data = (u_int8_t *)strdup((char *)key); in key_serialize() 101 return strdup((char *)data); in key_printable() 119 return strdup((char *)data); in key_internalize() 153 *data = (u_int8_t *) strdup(key); in key_from_printable()
|
/openbsd/gnu/usr.sbin/mkhybrid/src/ |
H A D | files.c | 123 f->name = strdup (cp); in FDECL2() 133 f->name = strdup (cp); in FDECL2() 158 f->adds[f->add_count-1].path = strdup (path); in FDECL2() 159 f->adds[f->add_count-1].name = strdup (name); in FDECL2() 176 dup_arg = strdup (argv[ind]); in FDECL3() 240 dup_path = strdup (path); in FDECL3() 289 dup_path = strdup (path); in FDECL2()
|
/openbsd/gnu/usr.bin/gcc/gcc/intl/ |
H A D | bindtextdom.c | 76 # ifndef strdup 77 # define strdup(str) __strdup (str) macro 154 result = strdup (dirname); 192 result = strdup (codeset); 250 result = strdup (dirname); 281 result = strdup (codeset);
|
/openbsd/gnu/usr.bin/texinfo/intl/ |
H A D | bindtextdom.c | 81 # ifndef strdup in __libc_rwlock_define() 82 # define strdup(str) __strdup (str) in __libc_rwlock_define() macro 152 result = strdup (dirname); in __libc_rwlock_define() 190 result = strdup (codeset); in __libc_rwlock_define() 248 result = strdup (dirname); in __libc_rwlock_define() 279 result = strdup (codeset); in __libc_rwlock_define()
|
/openbsd/usr.sbin/smtpd/ |
H A D | parse.y | 1026 rule->table_tag = strdup(t->t_name); 1045 rule->table_tag = strdup(t->t_name); 1219 rule->table_from = strdup(t->t_name); 1229 rule->table_from = strdup(t->t_name); 1416 rule->table_for = strdup(t->t_name); 1426 rule->table_for = strdup(t->t_name); 1443 rule->table_for = strdup(t->t_name); 1461 rule->table_for = strdup(t->t_name); 2949 yylval.v.string = strdup(buf); in yylex() 3185 sym->nam = strdup(nam); in symset() [all …]
|
/openbsd/gnu/gcc/intl/ |
H A D | bindtextdom.c | 81 # ifndef strdup 82 # define strdup(str) __strdup (str) macro 159 result = strdup (dirname); 197 result = strdup (codeset); 255 result = strdup (dirname); 286 result = strdup (codeset);
|
H A D | textdomain.c | 66 # ifndef strdup 67 # define strdup(str) __strdup (str) macro 111 new_domain = strdup (domainname);
|
/openbsd/usr.bin/ssh/ |
H A D | kex-names.c | 158 if ((s = cp = strdup(names)) == NULL) in kex_names_valid() 196 return strdup(b); in kex_names_cat() 198 return strdup(a); in kex_names_cat() 202 if ((tmp = cp = strdup(b)) == NULL || in kex_names_cat() 240 if ((*listp = strdup(def)) == NULL) in kex_assemble_names() 282 if ((patterns = opatterns = strdup(list)) == NULL) { in kex_assemble_names()
|