| /freebsd-13.1/lib/libgssapi/ |
| H A D | gss_names.c | 52 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x01")}; 67 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x02")}; 82 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x03")}; 103 {6, __DECONST(void *, "\x2b\x06\x01\x05\x06\x02")}; 118 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x04")}; 132 {6, __DECONST(void *, "\x2b\x06\01\x05\x06\x03")}; 146 {6, __DECONST(void *, "\x2b\x06\x01\x05\x06\x04")}; 156 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x01")};
|
| H A D | gss_accept_sec_context.c | 103 {9, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02")}; 105 {10, __DECONST(void *, "\x2b\x06\x01\x04\x01\x82\x37\x02\x02\x0a")}; 107 {6, __DECONST(void *, "\x2b\x06\x01\x05\x05\x02")};
|
| /freebsd-13.1/lib/libjail/ |
| H A D | jail_getid.c | 66 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getid() 71 jiov[0].iov_base = __DECONST(char *, "name"); in jail_getid() 77 jiov[2].iov_base = __DECONST(char *, "errmsg"); in jail_getid() 99 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getname() 103 jiov[2].iov_base = __DECONST(char *, "name"); in jail_getname() 107 jiov[4].iov_base = __DECONST(char *, "errmsg"); in jail_getname()
|
| /freebsd-13.1/usr.sbin/autofs/ |
| H A D | automount.c | 117 __DECONST(void *, "autofs"), (size_t)-1); in mount_autofs() 119 __DECONST(void *, fspath), (size_t)-1); in mount_autofs() 121 __DECONST(void *, from), (size_t)-1); in mount_autofs() 130 __DECONST(void *, options), (size_t)-1); in mount_autofs() 132 __DECONST(void *, prefix), (size_t)-1); in mount_autofs() 244 __DECONST(void *, "autofs"), (size_t)-1); in flush_autofs() 246 __DECONST(void *, fspath), (size_t)-1); in flush_autofs()
|
| /freebsd-13.1/lib/lib80211/ |
| H A D | lib80211_regdomain.c | 132 __DECONST(char *, mode), in start_element() 480 __DECONST(char *, id)); in lib80211_regdomain_readconfig() 483 free(__DECONST(char *, id)); in lib80211_regdomain_readconfig() 489 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 498 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 507 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 516 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 525 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 534 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 554 __DECONST(char *, id)); in lib80211_regdomain_readconfig() [all …]
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_umtx.c | 158 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 161 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 202 __DECONST(void*, timeout))); in _thr_umtx_wait() 215 __DECONST(void*, timeout))); in _thr_umtx_wait_uint() 238 (void *)tm_size, __DECONST(void *, tm_p))); in _thr_umtx_timedwait_uint() 269 __DECONST(void*, timeout))); in _thr_ucond_wait()
|
| /freebsd-13.1/contrib/dma/ |
| H A D | dfcompat.h | 8 #ifndef __DECONST 9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | exec.c | 78 return (_execve(name, __DECONST(char **, argv), environ)); in execl() 106 return (_execve(name, __DECONST(char **, argv), envp)); in execle() 132 return (execvp(name, __DECONST(char **, argv))); in execlp() 252 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_crtc_helper.h | 144 crtc->helper_private = __DECONST(void *, funcs); in drm_crtc_helper_add() 150 encoder->helper_private = __DECONST(void *, funcs); in drm_encoder_helper_add() 156 connector->helper_private = __DECONST(void *, funcs); in drm_connector_helper_add()
|
| H A D | drm_linux_list_sort.c | 46 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp() 47 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp()
|
| /freebsd-13.1/sys/libkern/ |
| H A D | memmem.c | 55 last = __DECONST(char *, cl) + l_len - s_len; in memmem() 57 for (cur = __DECONST(char *, cl); cur <= last; cur++) in memmem()
|
| /freebsd-13.1/usr.sbin/bsdinstall/partedit/ |
| H A D | partedit.c | 94 dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); in main() 182 dialog_vars.ok_label = __DECONST(char *, "Commit"); in main() 184 __DECONST(char *, "Revert & Exit"); in main() 186 dialog_vars.cancel_label = __DECONST(char *, "Back"); in main() 363 nitems, __DECONST(char **, items)); in apply_changes() 376 i*100/nitems, nitems, __DECONST(char **, items)); in apply_changes() 387 i*100/nitems, nitems, __DECONST(char **, items)); in apply_changes() 390 free(__DECONST(char *, items[i*2])); in apply_changes()
|
| /freebsd-13.1/sbin/mount_fusefs/ |
| H A D | mount_fusefs.c | 306 __DECONST(void *, ""), -1); in main() 314 __DECONST(void *, ""), -1); in main() 338 dev = __DECONST(char *, "/dev/fuse"); in main() 393 daemon_opts = __DECONST(char *, ""); in main() 423 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1); in main()
|
| /freebsd-13.1/crypto/heimdal/lib/roken/ |
| H A D | tsearch.c | 27 #ifndef __DECONST 28 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro 64 q->key = __DECONST(void *, vkey); /* initialize new node */ in rk_tsearch()
|
| /freebsd-13.1/lib/libc/sys/ |
| H A D | brk.c | 82 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0); in brk() 91 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0); in _brk()
|
| /freebsd-13.1/lib/libpam/modules/pam_opieaccess/ |
| H A D | pam_opieaccess.c | 70 if (pwent == NULL || opielookup(&opie, __DECONST(char *, luser)) != 0) in pam_sm_authenticate() 80 if (opieaccessfile(__DECONST(char *, rhost)) != 0 && in pam_sm_authenticate()
|
| /freebsd-13.1/lib/libdpv/ |
| H A D | util.c | 44 __DECONST(char *, "-c"), 46 __DECONST(char *, "--"),
|
| /freebsd-13.1/sys/sys/ |
| H A D | seqc.h | 83 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp))); in seqc_read_any() 90 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp)) & ~SEQC_MOD); in seqc_read_notmodify()
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | mockfs.cc | 461 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1); in MockFS() 463 __DECONST(void *, "mountpoint"), -1); in MockFS() 469 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 473 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 477 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 481 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 484 build_iovec(&iov, &iovlen, "async", __DECONST(void*, &trueval), in MockFS() 489 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 493 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 497 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() [all …]
|
| H A D | destroy.cc | 116 __DECONST(void*, FULLPATH0))) << strerror(errno); in TEST_F() 118 __DECONST(void*, FULLPATH1))) << strerror(errno); in TEST_F()
|
| H A D | dev_fuse_poll.cc | 209 __DECONST(void*, "mountpoint/foo"))) << strerror(errno); in TEST_F() 212 __DECONST(void*, "mountpoint/bar"))) << strerror(errno); in TEST_F() 214 __DECONST(void*, "mountpoint/baz"))) << strerror(errno); in TEST_F()
|
| /freebsd-13.1/lib/libc/iconv/ |
| H A D | _strtol.h | 62 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 167 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | slab.h | 186 linux_kfree_async(__DECONST(void *, ptr)); in kfree() 188 free(__DECONST(void *, ptr), M_KMALLOC); in kfree() 194 zfree(__DECONST(void *, ptr), M_KMALLOC); in kfree_sensitive()
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_macros.h | 25 #ifndef __DECONST 26 # define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_zmount.c | 103 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir), in do_mount_() 105 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in do_mount_()
|