/freebsd/lib/libgssapi/ |
H A D | 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")};
|
H A D | 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/lib/libjail/ |
H A D | jail_getid.c | 63 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getid() 68 jiov[0].iov_base = __DECONST(char *, "name"); in jail_getid() 74 jiov[2].iov_base = __DECONST(char *, "errmsg"); in jail_getid() 96 jiov[0].iov_base = __DECONST(char *, "jid"); in jail_getname() 100 jiov[2].iov_base = __DECONST(char *, "name"); in jail_getname() 104 jiov[4].iov_base = __DECONST(char *, "errmsg"); in jail_getname()
|
/freebsd/usr.sbin/autofs/ |
H A D | automount.c | 114 __DECONST(void *, "autofs"), (size_t)-1); in mount_autofs() 116 __DECONST(void *, fspath), (size_t)-1); in mount_autofs() 118 __DECONST(void *, from), (size_t)-1); in mount_autofs() 127 __DECONST(void *, options), (size_t)-1); in mount_autofs() 129 __DECONST(void *, prefix), (size_t)-1); in mount_autofs() 241 __DECONST(void *, "autofs"), (size_t)-1); in flush_autofs() 243 __DECONST(void *, fspath), (size_t)-1); in flush_autofs() 245 __DECONST(void *, fsid), sizeof(*fsid)); in flush_autofs()
|
/freebsd/sys/ddb/ |
H A D | db_ctf.c | 165 start = cur = __DECONST(char *, hp) + sizeof(ctf_header_t) + in db_ctf_typename_to_type() 180 (struct ctf_type_v3 *)(__DECONST(uint8_t *, ctfstart) + in db_ctf_typename_to_type() 192 return (struct ctf_type_v3 *)(__DECONST(uint8_t *, ctfstart) + in db_ctf_typename_to_type() 228 (struct ctf_type_v3 *)(__DECONST(uint8_t *, ctfstart) + in db_ctf_typeid_to_type() 242 return (struct ctf_type_v3 *)(__DECONST(uint8_t *, ctfstart) + in db_ctf_typeid_to_type() 311 sd->sym = __DECONST(Elf_Sym *, lsym); in db_ctf_find_symbol()
|
/freebsd/lib/lib80211/ |
H A D | 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/lib/libthr/thread/ |
H A D | thr_umtx.c | 145 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 148 (void *)tm_size, __DECONST(void *, tm_p)); in __thr_umutex_timedlock() 189 __DECONST(void*, timeout))); in _thr_umtx_wait() 202 __DECONST(void*, timeout))); in _thr_umtx_wait_uint() 225 (void *)tm_size, __DECONST(void *, tm_p))); in _thr_umtx_timedwait_uint() 256 __DECONST(void*, timeout))); in _thr_ucond_wait()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | 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/contrib/dma/ |
H A D | dfcompat.h | 8 #ifndef __DECONST 9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
/freebsd/lib/libc/gen/ |
H A D | exec.c | 72 return (_execve(name, __DECONST(char **, argv), environ)); in execl() 100 return (_execve(name, __DECONST(char **, argv), envp)); in execle() 126 return (execvp(name, __DECONST(char **, argv))); in execlp() 246 __DECONST(char **, memp), envp); in execvPe()
|
/freebsd/sys/dev/drm2/ |
H A D | 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()
|
H A D | 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/sbin/mount_fusefs/ |
H A D | mount_fusefs.c | 305 __DECONST(void *, ""), -1); in main() 313 __DECONST(void *, ""), -1); in main() 337 dev = __DECONST(char *, "/dev/fuse"); in main() 392 daemon_opts = __DECONST(char *, ""); in main() 422 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1); in main()
|
/freebsd/sys/libkern/ |
H A D | 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/tests/sys/fs/fusefs/ |
H A D | 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 …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | slab.h | 198 linux_kfree_async(__DECONST(void *, ptr)); in kfree() 200 free(__DECONST(void *, ptr), M_KMALLOC); in kfree() 209 zfree(__DECONST(void *, ptr), M_KMALLOC); in kfree_sensitive() 218 return (__DECONST(void *, ptr)); in kvrealloc()
|
/freebsd/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/lib/libc/sys/ |
H A D | 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/lib/libc/string/ |
H A D | 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/lib/libdpv/ |
H A D | util.c | 42 __DECONST(char *, "-c"), 44 __DECONST(char *, "--"),
|
/freebsd/bin/pkill/tests/ |
H A D | spin_helper.c | 43 char * nargv[] = { argv[0], __DECONST(char *, "--spin"), flag_arg, in exec_shortargs() 64 char * nargv[] = { argv[0], __DECONST(char *, "--spin"), flag_arg, NULL, in exec_largeargs()
|
/freebsd/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/lib/libc/iconv/ |
H A D | _strtol.h | 61 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 176 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
/freebsd/usr.bin/m4/ |
H A D | 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/usr.sbin/jail/ |
H A D | 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()
|