Home
last modified time | relevance | path

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

1234567891011

/freebsd-13.1/lib/libgssapi/
H A Dgss_names.c52 {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 Dgss_accept_sec_context.c103 {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 Djail_getid.c66 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 Dautomount.c117 __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 Dlib80211_regdomain.c132 __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 Dthr_umtx.c158 (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 Ddfcompat.h8 #ifndef __DECONST
9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/freebsd-13.1/lib/libc/gen/
H A Dexec.c78 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 Ddrm_crtc_helper.h144 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 Ddrm_linux_list_sort.c46 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 Dmemmem.c55 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 Dpartedit.c94 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 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-13.1/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-13.1/lib/libc/sys/
H A Dbrk.c82 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 Dpam_opieaccess.c70 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 Dutil.c44 __DECONST(char *, "-c"),
46 __DECONST(char *, "--"),
/freebsd-13.1/sys/sys/
H A Dseqc.h83 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 Dmockfs.cc461 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 Ddestroy.cc116 __DECONST(void*, FULLPATH0))) << strerror(errno); in TEST_F()
118 __DECONST(void*, FULLPATH1))) << strerror(errno); in TEST_F()
H A Ddev_fuse_poll.cc209 __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.h62 *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 Dslab.h186 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 Djemalloc_internal_macros.h25 #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 Dlibzfs_zmount.c103 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_()

1234567891011