| /netbsd-src/lib/libc/yp/ |
| H A D | yperr_string.c | 51 return __UNCONST("Success"); in __weak_alias() 53 return __UNCONST("Request arguments bad"); in __weak_alias() 55 return __UNCONST("RPC failure"); in __weak_alias() 57 return __UNCONST( in __weak_alias() 60 return __UNCONST("No such map in server's domain"); in __weak_alias() 62 return __UNCONST("No such key in map"); in __weak_alias() 64 return __UNCONST("YP server error"); in __weak_alias() 66 return __UNCONST("Local resource allocation failure"); in __weak_alias() 68 return __UNCONST("No more records in map database"); in __weak_alias() 70 return __UNCONST("Can't communicate with portmapper"); in __weak_alias() [all …]
|
| H A D | xdryp.c | 199 return xdr_bytes(xdrs, __UNCONST(&objp->dptr), in xdr_datum() 210 if (!xdr_ypdomain_wrap_string(xdrs, __UNCONST(&objp->domain))) in xdr_ypreq_key() 213 if (!xdr_ypmap_wrap_string(xdrs, __UNCONST(&objp->map))) in xdr_ypreq_key() 229 if (!xdr_ypdomain_wrap_string(xdrs, __UNCONST(&objp->domain))) in xdr_ypreq_nokey() 232 if (!xdr_ypmap_wrap_string(xdrs, __UNCONST(&objp->map))) in xdr_ypreq_nokey() 405 __UNCONST(out.keydat.dptr), out.keydat.dsize, in xdr_ypall() 406 __UNCONST(out.valdat.dptr), out.valdat.dsize, in xdr_ypall() 519 if (!xdr_ypdomain_wrap_string(xdrs, __UNCONST(&objp->domain))) in xdr_ypmap_parms() 522 if (!xdr_ypmap_wrap_string(xdrs, __UNCONST(&objp->map))) in xdr_ypmap_parms()
|
| /netbsd-src/lib/libc/locale/ |
| H A D | global_locale.c | 116 .decimal_point = __UNCONST("."), 117 .thousands_sep = __UNCONST(""), 118 .grouping = __UNCONST(""), 119 .int_curr_symbol = __UNCONST(""), 120 .currency_symbol = __UNCONST(""), 121 .mon_decimal_point = __UNCONST(""), 122 .mon_thousands_sep = __UNCONST(""), 123 .mon_grouping = __UNCONST(""), 124 .positive_sign = __UNCONST(""), 125 .negative_sign = __UNCONST(""), [all …]
|
| H A D | setlocale.c | 60 __UNCONST(&_C_cache) 104 ldata->decimal_point = __UNCONST(numeric->decimal_point); in _setlocale_cache() 105 ldata->thousands_sep = __UNCONST(numeric->thousands_sep); in _setlocale_cache() 106 ldata->grouping = __UNCONST(numeric->grouping); in _setlocale_cache() 108 ldata->int_curr_symbol = __UNCONST(monetary->int_curr_symbol); in _setlocale_cache() 109 ldata->currency_symbol = __UNCONST(monetary->currency_symbol); in _setlocale_cache() 110 ldata->mon_decimal_point = __UNCONST(monetary->mon_decimal_point); in _setlocale_cache() 111 ldata->mon_thousands_sep = __UNCONST(monetary->mon_thousands_sep); in _setlocale_cache() 112 ldata->mon_grouping = __UNCONST(monetary->mon_grouping); in _setlocale_cache() 113 ldata->positive_sign = __UNCONST(monetary->positive_sign); in _setlocale_cache() [all …]
|
| H A D | fix_grouping.c | 50 #ifndef __UNCONST 51 #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro 76 for (src = __UNCONST(str), dst = __UNCONST(str); *src != '\0'; src++) { in __fix_locale_grouping_str() 104 return (dst == __UNCONST(str)) ? nogrouping : str; in __fix_locale_grouping_str()
|
| /netbsd-src/sys/arch/amigappc/amigappc/ |
| H A D | mainbus.c | 104 config_found(self, __UNCONST("cpu"), mbprint, CFARGS_NONE); in mbattach() 110 config_found(self, __UNCONST("a34kbbc"), simple_devprint, in mbattach() 113 config_found(self, __UNCONST("a2kbbc"), simple_devprint, in mbattach() 115 config_found(self, __UNCONST("ser"), simple_devprint, CFARGS_NONE); in mbattach() 116 config_found(self, __UNCONST("par"), simple_devprint, CFARGS_NONE); in mbattach() 117 config_found(self, __UNCONST("kbd"), simple_devprint, CFARGS_NONE); in mbattach() 118 config_found(self, __UNCONST("ms"), simple_devprint, CFARGS_NONE); in mbattach() 119 config_found(self, __UNCONST("grfcc"), simple_devprint, CFARGS_NONE); in mbattach() 120 config_found(self, __UNCONST("amidisplaycc"), simple_devprint, in mbattach() 122 config_found(self, __UNCONST("fdc"), simple_devprint, CFARGS_NONE); in mbattach() [all …]
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | autoconf.c | 81 if (config_rootfound("mainbus", __UNCONST("mainbus")) == NULL) in cpu_configure() 191 cf = config_rootsearch(NULL, "mainbus", __UNCONST("mainbus")); in config_console() 201 atari_config_found(cf, NULL, __UNCONST("pcib") , NULL, CFARGS_NONE); in config_console() 202 atari_config_found(cf, NULL, __UNCONST("isab") , NULL, CFARGS_NONE); in config_console() 203 atari_config_found(cf, NULL, __UNCONST("grfbus"), NULL, CFARGS_NONE); in config_console() 323 config_found(self, __UNCONST("clock") , simple_devprint, CFARGS_NONE); in mbattach() 324 config_found(self, __UNCONST("grfbus") , simple_devprint, CFARGS_NONE); in mbattach() 325 config_found(self, __UNCONST("kbd") , simple_devprint, CFARGS_NONE); in mbattach() 326 config_found(self, __UNCONST("fdc") , simple_devprint, CFARGS_NONE); in mbattach() 327 config_found(self, __UNCONST("ser") , simple_devprint, CFARGS_NONE); in mbattach() [all …]
|
| /netbsd-src/sys/arch/amiga/amiga/ |
| H A D | autoconf.c | 223 amiga_config_found(cf, NULL, __UNCONST("clock"), NULL, CFARGS_NONE); in config_console() 231 amiga_config_found(cf, NULL, __UNCONST("grfcc"), NULL, in config_console() 238 amiga_config_found(cf, NULL, __UNCONST("zbus"), NULL, CFARGS_NONE); in config_console() 272 config_found(self, __UNCONST("clock"), simple_devprint, CFARGS_NONE); in mbattach() 274 config_found(self, __UNCONST("a34kbbc"), simple_devprint, in mbattach() 281 config_found(self, __UNCONST("a2kbbc"), simple_devprint, in mbattach() 286 config_found(self, __UNCONST("drbbc"), simple_devprint, in mbattach() 288 config_found(self, __UNCONST("kbd"), simple_devprint, in mbattach() 290 config_found(self, __UNCONST("drsc"), simple_devprint, in mbattach() 292 config_found(self, __UNCONST("drsupio"), simple_devprint, in mbattach() [all …]
|
| /netbsd-src/libexec/fingerd/ |
| H A D | fingerd.c | 80 prog = __UNCONST(_PATH_FINGER); in main() 100 av[ac++] = __UNCONST("-s"); in main() 103 av[ac++] = __UNCONST("-h"); in main() 106 av[ac++] = __UNCONST("-m"); in main() 109 av[ac++] = __UNCONST("-p"); in main() 112 av[ac++] = __UNCONST("-g"); in main() 115 av[ac++] = __UNCONST("-8"); in main() 153 av[ac++] = __UNCONST("--"); in main() 173 av[1] = __UNCONST("-l"); in main()
|
| /netbsd-src/tests/fs/union/ |
| H A D | t_pr.c | 43 unionargs.target = __UNCONST("/Tunion2/A"); in ATF_TC_BODY() 50 unionargs.target = __UNCONST("/Tunion2/B"); in ATF_TC_BODY() 79 unionargs.target = __UNCONST("/Tunion2/A"); in ATF_TC_BODY() 88 unionargs.target = __UNCONST("/Tunion2/A/A"); in ATF_TC_BODY() 115 unionargs.target = __UNCONST("/Tunion/A"); in ATF_TC_BODY() 147 unionargs.target = __UNCONST("/Tunion/A"); in ATF_TC_BODY() 154 unionargs.target = __UNCONST("/Tunion/B"); in ATF_TC_BODY() 182 unionargs.target = __UNCONST("/dev"); in ATF_TC_BODY() 216 unionargs.target = __UNCONST("/dev"); in ATF_TC_BODY()
|
| /netbsd-src/tests/lib/libc/stdlib/ |
| H A D | t_hsearch.c | 141 e.key = __UNCONST("a"); in ATF_TC_BODY() 176 e.key = __UNCONST("A"); in ATF_TC_BODY() 197 e.key = __UNCONST("a"); in ATF_TC_BODY() 206 e.key = __UNCONST("b"); in ATF_TC_BODY() 215 e.key = __UNCONST("a"); in ATF_TC_BODY() 218 e.key = __UNCONST("b"); in ATF_TC_BODY() 295 e.key = __UNCONST("a"); in ATF_TC_BODY() 330 e.key = __UNCONST("A"); in ATF_TC_BODY() 352 e.key = __UNCONST("a"); in ATF_TC_BODY() 360 e.key = __UNCONST("b"); in ATF_TC_BODY() [all …]
|
| /netbsd-src/tests/usr.bin/id/ |
| H A D | pwgr.c | 93 g->gr_name = __UNCONST("wheel"); in getgrgid() 96 g->gr_name = __UNCONST("users"); in getgrgid() 156 p->pw_name = __UNCONST("root"); in getpwnam() 160 p->pw_name = __UNCONST("test"); in getpwnam() 176 p->pw_name = __UNCONST("root"); in getpwuid() 180 p->pw_name = __UNCONST("test"); in getpwuid()
|
| /netbsd-src/lib/libc/citrus/ |
| H A D | citrus_lc_time.c | 82 free(__UNCONST(data->abday[i])); in _citrus_LC_TIME_uninit() 84 free(__UNCONST(data->day[i])); in _citrus_LC_TIME_uninit() 86 free(__UNCONST(data->abmon[i])); in _citrus_LC_TIME_uninit() 88 free(__UNCONST(data->mon[i])); in _citrus_LC_TIME_uninit() 90 free(__UNCONST(data->am_pm[i])); in _citrus_LC_TIME_uninit() 91 free(__UNCONST(data->d_t_fmt)); in _citrus_LC_TIME_uninit() 92 free(__UNCONST(data->d_fmt)); in _citrus_LC_TIME_uninit() 93 free(__UNCONST(data->t_fmt)); in _citrus_LC_TIME_uninit() 94 free(__UNCONST(data->t_fmt_ampm)); in _citrus_LC_TIME_uninit()
|
| H A D | citrus_lc_monetary.c | 82 free(__UNCONST(data->int_curr_symbol)); in _citrus_LC_MONETARY_uninit() 83 free(__UNCONST(data->currency_symbol)); in _citrus_LC_MONETARY_uninit() 84 free(__UNCONST(data->mon_decimal_point)); in _citrus_LC_MONETARY_uninit() 85 free(__UNCONST(data->mon_thousands_sep)); in _citrus_LC_MONETARY_uninit() 86 free(__UNCONST(data->mon_grouping)); in _citrus_LC_MONETARY_uninit() 87 free(__UNCONST(data->positive_sign)); in _citrus_LC_MONETARY_uninit() 88 free(__UNCONST(data->negative_sign)); in _citrus_LC_MONETARY_uninit()
|
| H A D | citrus_lc_messages.c | 77 free(__UNCONST(data->yesexpr)); in _citrus_LC_MESSAGES_uninit() 78 free(__UNCONST(data->noexpr)); in _citrus_LC_MESSAGES_uninit() 79 free(__UNCONST(data->yesstr)); in _citrus_LC_MESSAGES_uninit() 80 free(__UNCONST(data->nostr)); in _citrus_LC_MESSAGES_uninit()
|
| /netbsd-src/tests/lib/librumpclient/ |
| H A D | h_exec.c | 113 ename = __UNCONST("fourchette"); in main() 118 ename = __UNCONST("h_ution"); in main() 122 ename = __UNCONST("h_ution"); in main() 127 eargv[1] = __UNCONST("_didexec"); in main() 130 if (rumpclient_exec(argv[1], __UNCONST(eargv), environ) == -1) in main()
|
| /netbsd-src/external/cddl/osnet/dev/lockstat/ |
| H A D | lockstat.c | 119 if (dtrace_probe_lookup(lockstat_id, __UNCONST("kernel"), in lockstat_provide() 120 __UNCONST(probe->lsp_func), __UNCONST(probe->lsp_name)) in lockstat_provide() 126 __UNCONST("kernel"), __UNCONST(probe->lsp_func), in lockstat_provide() 127 __UNCONST(probe->lsp_name), 1, probe); in lockstat_provide()
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| H A D | glue.c | 45 #ifndef __UNCONST 46 #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro 133 lua_pushnumber(L, set_homedir(netpgp, __UNCONST(home), NULL, 0)); in l_homedir() 164 f, __UNCONST(output), armour); in l_encrypt_file() 186 ret = netpgp_decrypt_file(netpgp, f, __UNCONST(output), armour); in l_decrypt_file() 220 f, __UNCONST(output), armour, binary, in l_sign_file() 245 f, __UNCONST(output), armour, cleartext, in l_clearsign_file() 299 ret = netpgp_list_packets(netpgp, __UNCONST(f), armour, NULL); in l_list_packets()
|
| /netbsd-src/lib/libc/gen/ |
| H A D | psignal.c | 66 v->iov_base = __UNCONST(s); in __weak_alias() 69 v->iov_base = __UNCONST(": "); in __weak_alias() 73 v->iov_base = __UNCONST(__strsignal((int)sig, buf, sizeof(buf))); in __weak_alias() 76 v->iov_base = __UNCONST("\n"); in __weak_alias()
|
| /netbsd-src/libexec/rexecd/unit-tests/ |
| H A D | rexec.c | 50 char *host = __UNCONST("localhost"); in main() 51 char *user = __UNCONST("root"); in main() 52 char *pass = __UNCONST("h@x0R"); in main() 53 char *cmd = __UNCONST("ls"); in main()
|
| /netbsd-src/tests/libexec/ld.elf_so/ |
| H A D | h_locking.c | 101 __UNCONST("libh_helper_dso2.so")); in test_dlopen() 108 __UNCONST("libutil.so")); in test_dlopen() 123 __UNCONST("libh_helper_dso2.so")); in test_dlclose() 129 __UNCONST("libutil.so")); in test_dlclose()
|
| /netbsd-src/include/ |
| H A D | nsswitch.h | 119 #define NS_FILES_CB(F,C) { NSSRC_FILES, F, __UNCONST(C) }, 120 #define NS_COMPAT_CB(F,C) { NSSRC_COMPAT, F, __UNCONST(C) }, 123 # define NS_DNS_CB(F,C) { NSSRC_DNS, F, __UNCONST(C) }, 129 # define NS_NIS_CB(F,C) { NSSRC_NIS, F, __UNCONST(C) },
|
| /netbsd-src/sys/external/bsd/drm2/include/linux/ |
| H A D | rbtree.h | 71 return RB_TREE_MIN(__UNCONST(&root->rbr_tree)) == NULL; in RB_EMPTY_ROOT() 77 char *vnode = RB_TREE_MIN(__UNCONST(&root->rbr_tree)); in rb_first() 87 char *vnode = (char *)__UNCONST(rbnode); in rb_next2() 90 vnode = RB_TREE_NEXT(__UNCONST(&root->rbr_tree), vnode); in rb_next2() 99 char *vnode = RB_TREE_MAX(__UNCONST(&root->rbr_tree)); in rb_last()
|
| /netbsd-src/sys/arch/mips/include/ |
| H A D | netbsd32_machdep.h | 52 __UNCONST(machine_archo32) : ((P)->p_md.md_abi == _MIPS_BSD_API_N32) ? \ 53 __UNCONST(machine_archn32) : machine_arch 56 __UNCONST(machine_archo32) : machine_arch
|
| /netbsd-src/tests/fs/common/ |
| H A D | fstest_nfs.c | 101 nfsdargv[3] = __UNCONST(SERVERADDR); in donewfs() 102 nfsdargv[4] = __UNCONST(SERVERROADDR); in donewfs() 103 nfsdargv[5] = __UNCONST(NETNETMASK); in donewfs() 104 nfsdargv[6] = __UNCONST(EXPORTPATH); in donewfs() 205 mount_nfs_parseargs(__arraycount(nfscliargs)-1, __UNCONST(nfscliargs), in domount()
|