| /freebsd-14-stable/lib/libgssapi/ |
| HD | gss_names.c | 50 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x01")}; 65 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x02")}; 80 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x03")}; 101 {6, __DECONST(void *, "\x2b\x06\x01\x05\x06\x02")}; 116 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x04")}; 130 {6, __DECONST(void *, "\x2b\x06\01\x05\x06\x03")}; 144 {6, __DECONST(void *, "\x2b\x06\x01\x05\x06\x04")}; 154 {10, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x01")};
|
| HD | gss_accept_sec_context.c | 101 {9, __DECONST(void *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02")}; 103 {10, __DECONST(void *, "\x2b\x06\x01\x04\x01\x82\x37\x02\x02\x0a")}; 105 {6, __DECONST(void *, "\x2b\x06\x01\x05\x05\x02")};
|
| /freebsd-14-stable/lib/libjail/ |
| HD | jail_getid.c | 64 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getid() 69 jiov[0].iov_base = __DECONST(char *, "name"); in jail_getid() 75 jiov[2].iov_base = __DECONST(char *, "errmsg"); in jail_getid() 97 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getname() 101 jiov[2].iov_base = __DECONST(char *, "name"); in jail_getname() 105 jiov[4].iov_base = __DECONST(char *, "errmsg"); in jail_getname()
|
| /freebsd-14-stable/usr.sbin/autofs/ |
| HD | automount.c | 115 __DECONST(void *, "autofs"), (size_t)-1); in mount_autofs() 117 __DECONST(void *, fspath), (size_t)-1); in mount_autofs() 119 __DECONST(void *, from), (size_t)-1); in mount_autofs() 128 __DECONST(void *, options), (size_t)-1); in mount_autofs() 130 __DECONST(void *, prefix), (size_t)-1); in mount_autofs() 242 __DECONST(void *, "autofs"), (size_t)-1); in flush_autofs() 244 __DECONST(void *, fspath), (size_t)-1); in flush_autofs() 246 __DECONST(void *, fsid), sizeof(*fsid)); in flush_autofs()
|
| /freebsd-14-stable/lib/lib80211/ |
| HD | lib80211_regdomain.c | 129 __DECONST(char *, mode), in start_element() 477 __DECONST(char *, id)); in lib80211_regdomain_readconfig() 480 free(__DECONST(char *, id)); in lib80211_regdomain_readconfig() 486 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 495 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 504 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 513 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 522 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 531 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() 540 __DECONST(char *, nb->band)); in lib80211_regdomain_readconfig() [all …]
|
| /freebsd-14-stable/lib/libthr/thread/ |
| HD | thr_umtx.c | 155 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 158 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 199 __DECONST(void*, timeout))); in _thr_umtx_wait() 212 __DECONST(void*, timeout))); in _thr_umtx_wait_uint() 235 (void *)tm_size, __DECONST(void *, tm_p))); in _thr_umtx_timedwait_uint() 266 __DECONST(void*, timeout))); in _thr_ucond_wait()
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| HD | libzfs_zmount.c | 94 build_iovec(&iov, &iovlen, "fstype", __DECONST(char *, MNTTYPE_ZFS), in do_mount() 96 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, mntpt), in do_mount() 98 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in do_mount()
|
| /freebsd-14-stable/contrib/dma/ |
| HD | dfcompat.h | 8 #ifndef __DECONST 9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| /freebsd-14-stable/lib/libc/gen/ |
| HD | exec.c | 74 return (_execve(name, __DECONST(char **, argv), environ)); in execl() 102 return (_execve(name, __DECONST(char **, argv), envp)); in execle() 128 return (execvp(name, __DECONST(char **, argv))); in execlp() 248 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd-14-stable/sys/dev/drm2/ |
| HD | drm_crtc_helper.h | 142 crtc->helper_private = __DECONST(void *, funcs); in drm_crtc_helper_add() 148 encoder->helper_private = __DECONST(void *, funcs); in drm_encoder_helper_add() 154 connector->helper_private = __DECONST(void *, funcs); in drm_connector_helper_add()
|
| HD | drm_linux_list_sort.c | 44 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp() 45 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp()
|
| /freebsd-14-stable/sys/libkern/ |
| HD | memmem.c | 53 last = __DECONST(char *, cl) + l_len - s_len; in memmem() 55 for (cur = __DECONST(char *, cl); cur <= last; cur++) in memmem()
|
| /freebsd-14-stable/sbin/mount_fusefs/ |
| HD | 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-14-stable/crypto/heimdal/lib/roken/ |
| HD | 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-14-stable/tests/sys/fs/fusefs/ |
| HD | mockfs.cc | 469 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1); in MockFS() 471 __DECONST(void *, "mountpoint"), -1); in MockFS() 472 build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1); in MockFS() 483 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 487 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 491 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 495 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 498 build_iovec(&iov, &iovlen, "async", __DECONST(void*, &trueval), in MockFS() 503 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() 507 __DECONST(void*, &trueval), sizeof(bool)); in MockFS() [all …]
|
| HD | destroy.cc | 114 __DECONST(void*, FULLPATH0))) << strerror(errno); in TEST_F() 116 __DECONST(void*, FULLPATH1))) << strerror(errno); in TEST_F()
|
| HD | dev_fuse_poll.cc | 206 __DECONST(void*, "mountpoint/foo"))) << strerror(errno); in TEST_F() 209 __DECONST(void*, "mountpoint/bar"))) << strerror(errno); in TEST_F() 211 __DECONST(void*, "mountpoint/baz"))) << strerror(errno); in TEST_F()
|
| /freebsd-14-stable/lib/libc/sys/ |
| HD | brk.c | 79 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0); in brk() 88 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0); in _brk()
|
| /freebsd-14-stable/lib/libc/string/ |
| HD | strverscmp.c | 15 const unsigned char *u1 = __DECONST(const unsigned char *, s1); in strverscmp() 16 const unsigned char *u2 = __DECONST(const unsigned char *, s2); in strverscmp()
|
| /freebsd-14-stable/lib/libdpv/ |
| HD | util.c | 42 __DECONST(char *, "-c"), 44 __DECONST(char *, "--"),
|
| /freebsd-14-stable/contrib/jemalloc/include/jemalloc/internal/ |
| HD | jemalloc_internal_macros.h | 25 #ifndef __DECONST 26 # define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| /freebsd-14-stable/lib/libc/iconv/ |
| HD | _strtol.h | 61 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 176 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
| /freebsd-14-stable/usr.sbin/jail/ |
| HD | state.c | 333 jiov[0].iov_base = __DECONST(char *, "lastjid"); in start_state() 337 jiov[2].iov_base = __DECONST(char *, "jid"); in start_state() 341 jiov[4].iov_base = __DECONST(char *, "name"); in start_state() 473 jiov[0].iov_base = __DECONST(char *, "jid"); in running_jail() 477 jiov[2].iov_base = __DECONST(char *, "name"); in running_jail()
|
| /freebsd-14-stable/usr.bin/m4/ |
| HD | gnum4.c | 577 width = strtol(format, __DECONST(char **,&format), 10); in doformat() 594 extra = strtol(format, __DECONST(char **, &format), 10); in doformat() 643 argv[0] = __DECONST(char *, "sh"); in doesyscmd() 644 argv[1] = __DECONST(char *, "-c"); in doesyscmd() 645 argv[2] = __DECONST(char *, cmd); in doesyscmd()
|
| /freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | string.h | 161 return (__DECONST(char *, str)); in skip_spaces() 177 return (__DECONST(void *, ptr)); in memchr_inv() 235 for (p = __DECONST(char *, cp); n--; ++p) { in strnchr()
|