/freebsd-current/contrib/dma/ |
H A D | dfcompat.h | 8 #ifndef __DECONST 9 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
/freebsd-current/tools/build/cross-build/include/mac/ |
H A D | string.h | 52 return (__DECONST(char *, p));
|
/freebsd-current/sys/libkern/ |
H A D | strchr.c | 40 p = __DECONST(char *, cp);
|
H A D | strchrnul.c | 37 return (__DECONST(char *, p));
|
H A D | memmem.c | 53 last = __DECONST(char *, cl) + l_len - s_len; 55 for (cur = __DECONST(char *, cl); cur <= last; cur++)
|
H A D | strstr.c | 57 return (__DECONST(char *, s));
|
H A D | strrchr.c | 40 p = __DECONST(char *, cp);
|
H A D | strnstr.c | 63 return (__DECONST(char *, s));
|
H A D | strcasestr.c | 64 return (__DECONST(char *, s));
|
/freebsd-current/lib/libjail/ |
H A D | jail_getid.c | 63 jiov[0].iov_base = __DECONST(char *, "jid"); 68 jiov[0].iov_base = __DECONST(char *, "name"); 74 jiov[2].iov_base = __DECONST(char *, "errmsg"); 96 jiov[0].iov_base = __DECONST(char *, "jid"); 100 jiov[2].iov_base = __DECONST(char *, "name"); 104 jiov[4].iov_base = __DECONST(char *, "errmsg");
|
/freebsd-current/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")};
|
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_fix_grouping.h | 49 _citrus_fixup_char_max_md(__DECONST(void *, grouping))
|
H A D | citrus_hash.c | 48 _region_init(&r, __DECONST(void *, key), strlen(key));
|
/freebsd-current/lib/libc/gen/ |
H A D | basename.c | 39 return (__DECONST(char *, "."));
|
H A D | dirname.c | 39 return (__DECONST(char *, "."));
|
/freebsd-current/lib/libc/sys/ |
H A D | brk.c | 79 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0); 88 return (mvbrk(__DECONST(void *, addr)) == (void *)-1 ? -1 : 0);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
H A D | tst.usdt.c | 63 BUNYAN_FAKE_LOG_DEBUG(__DECONST(char *, "{\"finished\": true}"));
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | err.h | 67 return __DECONST(void *, ptr);
|
/freebsd-current/lib/libcompat/4.3/ |
H A D | re_comp.c | 58 return __DECONST(char *,
|
/freebsd-current/lib/libc/string/ |
H A D | strverscmp.c | 15 const unsigned char *u1 = __DECONST(const unsigned char *, s1); 16 const unsigned char *u2 = __DECONST(const unsigned char *, s2);
|
/freebsd-current/bin/pkill/tests/ |
H A D | spin_helper.c | 43 char * nargv[] = { argv[0], __DECONST(char *, "--spin"), flag_arg, 64 char * nargv[] = { argv[0], __DECONST(char *, "--spin"), flag_arg, NULL,
|
/freebsd-current/lib/libdpv/ |
H A D | util.c | 42 __DECONST(char *, "-c"), 44 __DECONST(char *, "--"),
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_linux_list_sort.c | 44 le1 = *(__DECONST(struct list_head **, d1)); 45 le2 = *(__DECONST(struct list_head **, d2));
|
H A D | drm_crtc_helper.h | 142 crtc->helper_private = __DECONST(void *, funcs); 148 encoder->helper_private = __DECONST(void *, funcs); 154 connector->helper_private = __DECONST(void *, funcs);
|
/freebsd-current/sys/sys/ |
H A D | seqc.h | 81 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp))); 88 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp)) & ~SEQC_MOD);
|