Home
last modified time | relevance | path

Searched refs:__DECONST (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/freebsd-14.2/lib/libgssapi/
H A Dgss_names.c50 {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 Dgss_accept_sec_context.c101 {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.2/lib/libjail/
H A Djail_getid.c64 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.2/usr.sbin/autofs/
H A Dautomount.c115 __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.2/lib/lib80211/
H A Dlib80211_regdomain.c129 __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()
551 __DECONST(char *, id)); in lib80211_regdomain_readconfig()
[all …]
/freebsd-14.2/lib/libthr/thread/
H A Dthr_umtx.c155 (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.2/contrib/dma/
H A Ddfcompat.h8 #ifndef __DECONST
9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c97 build_iovec(&iov, &iovlen, "fstype", __DECONST(char *, MNTTYPE_ZFS), in do_mount()
99 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, mntpt), in do_mount()
101 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in do_mount()
/freebsd-14.2/lib/libc/gen/
H A Dexec.c74 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.2/sys/libkern/
H A Dmemmem.c53 last = __DECONST(char *, cl) + l_len - s_len; in memmem()
55 for (cur = __DECONST(char *, cl); cur <= last; cur++) in memmem()
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_crtc_helper.h142 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 Ddrm_linux_list_sort.c44 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp()
45 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp()
/freebsd-14.2/sbin/mount_fusefs/
H A Dmount_fusefs.c306 __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.2/crypto/heimdal/lib/roken/
H A Dtsearch.c27 #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.2/lib/libc/sys/
H A Dbrk.c79 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.2/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h198 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-14.2/tests/sys/fs/fusefs/
H A Dmockfs.cc474 __DECONST(void *, "mountpoint"), -1); in MockFS()
480 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
484 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
488 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
492 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
500 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
504 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
508 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
511 __DECONST(void*, &trueval), sizeof(bool)); in MockFS()
515 __DECONST(void*, fsname), -1); in MockFS()
[all …]
H A Ddestroy.cc114 __DECONST(void*, FULLPATH0))) << strerror(errno); in TEST_F()
116 __DECONST(void*, FULLPATH1))) << strerror(errno); in TEST_F()
/freebsd-14.2/lib/libc/string/
H A Dstrverscmp.c15 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.2/lib/libdpv/
H A Dutil.c42 __DECONST(char *, "-c"),
44 __DECONST(char *, "--"),
/freebsd-14.2/sys/sys/
H A Dseqc.h81 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp))); in seqc_read_any()
88 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp)) & ~SEQC_MOD); in seqc_read_notmodify()
/freebsd-14.2/bin/pkill/tests/
H A Dspin_helper.c43 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-14.2/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_macros.h25 #ifndef __DECONST
26 # define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/freebsd-14.2/lib/libc/iconv/
H A D_strtol.h61 *endptr = __DECONST(void *, nptr); in _FUNCNAME()
176 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
/freebsd-14.2/sys/dev/pci/
H A Dpci_host_generic.c211 free(__DECONST(char *, sc->io_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_attach()
212 free(__DECONST(char *, sc->mem_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_attach()
213 free(__DECONST(char *, sc->pmem_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_attach()
236 free(__DECONST(char *, sc->io_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_detach()
237 free(__DECONST(char *, sc->mem_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_detach()
238 free(__DECONST(char *, sc->pmem_rman.rm_descr), M_DEVBUF); in pci_host_generic_core_detach()

12345678910>>...12