Searched refs:__DECONST (Results 1 - 25 of 175) sorted by relevance

1234567

/freebsd-11-stable/contrib/dma/
H A Ddfcompat.h8 #ifndef __DECONST
9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/freebsd-11-stable/lib/libjail/
H A Djail_getid.c64 jiov[0].iov_base = __DECONST(char *, "jid");
69 jiov[0].iov_base = __DECONST(char *, "name");
75 jiov[2].iov_base = __DECONST(char *, "errmsg");
97 jiov[0].iov_base = __DECONST(char *, "jid");
101 jiov[2].iov_base = __DECONST(char *, "name");
105 jiov[4].iov_base = __DECONST(char *, "errmsg");
/freebsd-11-stable/sys/libkern/
H A Dmemmem.c55 last = __DECONST(char *, cl) + l_len - s_len;
57 for (cur = __DECONST(char *, cl); cur <= last; cur++)
H A Dstrstr.c62 return (__DECONST(char *, s));
/freebsd-11-stable/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")};
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_fix_grouping.h48 _citrus_fixup_char_max_md(__DECONST(void *, grouping))
H A Dcitrus_hash.c48 _region_init(&r, __DECONST(void *, key), strlen(key));
H A D_strtol.h60 *endptr = __DECONST(void *, nptr);
165 *endptr = __DECONST(void *, any ? s - 1 : nptr);
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_macros.h51 #ifndef __DECONST
52 # define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/freebsd-11-stable/lib/libcompat/4.3/
H A Dre_comp.c62 return __DECONST(char *,
/freebsd-11-stable/usr.bin/sort/
H A Dmem.c60 free(__DECONST(void *, ptr));
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Derr.h69 return __DECONST(void *, ptr);
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_linux_list_sort.c45 le1 = *(__DECONST(struct list_head **, d1));
46 le2 = *(__DECONST(struct list_head **, d2));
H A Ddrm_crtc_helper.h144 crtc->helper_private = __DECONST(void *, funcs);
150 encoder->helper_private = __DECONST(void *, funcs);
156 connector->helper_private = __DECONST(void *, funcs);
/freebsd-11-stable/lib/libpam/modules/pam_opieaccess/
H A Dpam_opieaccess.c68 if (pwent == NULL || opielookup(&opie, __DECONST(char *, luser)) != 0)
78 if (opieaccessfile(__DECONST(char *, rhost)) != 0 &&
/freebsd-11-stable/lib/libdpv/
H A Dutil.c44 __DECONST(char *, "-c"),
46 __DECONST(char *, "--"),
/freebsd-11-stable/usr.sbin/autofs/
H A Dautomount.c116 __DECONST(void *, "autofs"), (size_t)-1);
118 __DECONST(void *, fspath), (size_t)-1);
120 __DECONST(void *, from), (size_t)-1);
129 __DECONST(void *, options), (size_t)-1);
131 __DECONST(void *, prefix), (size_t)-1);
243 __DECONST(void *, "autofs"), (size_t)-1);
245 __DECONST(void *, fspath), (size_t)-1);
/freebsd-11-stable/sys/arm/allwinner/clk/
H A Daw_cpuclk.c131 OF_prop_free(__DECONST(char *, def.clkdef.parent_names));
132 OF_prop_free(__DECONST(char *, def.clkdef.name));
140 OF_prop_free(__DECONST(char *, def.clkdef.name));
H A Daw_oscclk.c106 OF_prop_free(__DECONST(char *, def.clkdef.name));
111 OF_prop_free(__DECONST(char *, def.clkdef.name));
/freebsd-11-stable/lib/libulog/
H A Dulog_login_pseudo.c65 execv(_PATH_ULOG_HELPER, __DECONST(char * const *, argv));
/freebsd-11-stable/sys/sys/
H A Dseq.h101 ret = atomic_load_acq_int(__DECONST(seq_t *, seqp));
/freebsd-11-stable/stand/libsa/
H A Dwrite.c82 btodb(f->f_offset), bcount, __DECONST(void *, dest),
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_umtx.c156 (void *)tm_size, __DECONST(void *, tm_p));
159 (void *)tm_size, __DECONST(void *, tm_p));
200 __DECONST(void*, timeout)));
213 __DECONST(void*, timeout)));
236 (void *)tm_size, __DECONST(void *, tm_p)));
267 __DECONST(void*, timeout)));
/freebsd-11-stable/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 */
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dzmount.c98 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir),
100 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1);

Completed in 266 milliseconds

1234567