| /freebsd-12.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-12.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-12.1/usr.sbin/autofs/ |
| H A D | automount.c | 116 __DECONST(void *, "autofs"), (size_t)-1); in mount_autofs() 118 __DECONST(void *, fspath), (size_t)-1); in mount_autofs() 120 __DECONST(void *, from), (size_t)-1); in mount_autofs() 129 __DECONST(void *, options), (size_t)-1); in mount_autofs() 131 __DECONST(void *, prefix), (size_t)-1); in mount_autofs() 243 __DECONST(void *, "autofs"), (size_t)-1); in flush_autofs() 245 __DECONST(void *, fspath), (size_t)-1); in flush_autofs()
|
| /freebsd-12.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-12.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-12.1/usr.sbin/bsdinstall/partedit/ |
| H A D | partedit.c | 92 dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); in main() 180 dialog_vars.ok_label = __DECONST(char *, "Commit"); in main() 182 __DECONST(char *, "Revert & Exit"); in main() 184 dialog_vars.cancel_label = __DECONST(char *, "Back"); in main() 345 nitems, __DECONST(char **, items)); in apply_changes() 358 i*100/nitems, nitems, __DECONST(char **, items)); in apply_changes() 369 i*100/nitems, nitems, __DECONST(char **, items)); in apply_changes() 372 free(__DECONST(char *, items[i*2])); in apply_changes()
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | exec.c | 75 return (_execve(name, __DECONST(char **, argv), environ)); in execl() 103 return (_execve(name, __DECONST(char **, argv), envp)); in execle() 129 return (execvp(name, __DECONST(char **, argv))); in execlp() 227 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd-12.1/contrib/dma/ |
| H A D | dfcompat.h | 8 #ifndef __DECONST 9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| /freebsd-12.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 | 47 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp() 48 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp()
|
| /freebsd-12.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-12.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-12.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-12.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-12.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-12.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-12.1/tests/sys/fs/fusefs/ |
| H A D | mockfs.cc | 405 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1); in MockFS() 407 __DECONST(void *, "mountpoint"), -1); in MockFS() 408 build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1); in MockFS() 413 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 417 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 421 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 425 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 428 build_iovec(&iov, &iovlen, "async", __DECONST(void*, &trueval), in MockFS() 433 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 437 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() [all …]
|
| 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-12.1/lib/libdpv/ |
| H A D | util.c | 44 __DECONST(char *, "-c"), 46 __DECONST(char *, "--"),
|
| /freebsd-12.1/usr.sbin/jail/ |
| H A D | state.c | 335 jiov[0].iov_base = __DECONST(char *, "lastjid"); in start_state() 339 jiov[2].iov_base = __DECONST(char *, "jid"); in start_state() 343 jiov[4].iov_base = __DECONST(char *, "name"); in start_state() 466 jiov[0].iov_base = __DECONST(char *, "jid"); in running_jid() 471 jiov[0].iov_base = __DECONST(char *, "name"); in running_jid()
|
| /freebsd-12.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-12.1/cddl/compat/opensolaris/misc/ |
| H A D | zmount.c | 98 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir), in zmount() 100 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in zmount()
|
| /freebsd-12.1/usr.bin/m4/ |
| H A D | gnum4.c | 579 width = strtol(format, __DECONST(char **,&format), 10); in doformat() 596 extra = strtol(format, __DECONST(char **, &format), 10); in doformat() 645 argv[0] = __DECONST(char *, "sh"); in doesyscmd() 646 argv[1] = __DECONST(char *, "-c"); in doesyscmd() 647 argv[2] = __DECONST(char *, cmd); in doesyscmd()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | string.h | 135 return (__DECONST(char *, str)); in skip_spaces() 151 return (__DECONST(void *, ptr)); in memchr_inv()
|