| /f-stack/freebsd/libkern/ |
| H A D | memmem.c | 55 last = __DECONST(char *, cl) + l_len - s_len; in memmem() 57 for (cur = __DECONST(char *, cl); cur <= last; cur++) in memmem()
|
| H A D | strchrnul.c | 40 return (__DECONST(char *, p)); in strchrnul()
|
| H A D | strchr.c | 43 p = __DECONST(char *, cp); in strchr()
|
| H A D | strrchr.c | 43 p = __DECONST(char *, cp); in strrchr()
|
| H A D | strstr.c | 60 return (__DECONST(char *, s)); in strstr()
|
| H A D | strcasestr.c | 67 return (__DECONST(char *, s)); in strcasestr()
|
| H A D | memcchr.c | 115 return (__DECONST(void *, p)); in memcchr()
|
| H A D | strtoul.c | 105 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtoul()
|
| H A D | strtouq.c | 107 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtouq()
|
| H A D | strtol.c | 126 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtol()
|
| H A D | strtoq.c | 130 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtoq()
|
| /f-stack/app/redis-5.0.5/deps/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
|
| /f-stack/freebsd/sys/ |
| H A D | seqc.h | 81 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp))); in seqc_read_any() 88 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp)) & ~1); in seqc_read_notmodify()
|
| H A D | arb.h | 105 (__DECONST(ARB_ELMTYPE(head), ARB_CNODE(head, idx))) 587 { return (__DECONST(struct type *, name##_ARB_CFIND(head, elm))); } 614 { return (__DECONST(struct type *, name##_ARB_CNFIND(head, elm))); } 644 { return (__DECONST(struct type *, name##_ARB_CNEXT(head, elm))); } 674 { return (__DECONST(struct type *, name##_ARB_CPREV(head, elm))); } 689 return (__DECONST(struct type *, parent)); \ 695 { return (__DECONST(struct type *, name##_ARB_CMINMAX(head, val))); }
|
| H A D | cdefs.h | 627 #ifndef __DECONST 628 #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) macro
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_zmount.c | 108 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir), in do_mount_() 110 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in do_mount_()
|
| H A D | libzfs_compat.c | 129 execve(_PATH_BSHELL, __DECONST(char **, memp), envp); in execvPe()
|
| /f-stack/lib/ |
| H A D | ff_syscall_wrapper.c | 601 __DECONST(void *, optval), UIO_USERSPACE, optlen))) in ff_setsockopt() 618 __DECONST(void *, optval), UIO_USERSPACE, optlen))) in ff_setsockopt_freebsd() 727 auio.uio_iov = __DECONST(struct iovec *, iov); in ff_readv() 779 auio.uio_iov = __DECONST(struct iovec *, iov); in ff_writev() 821 aiov.iov_base = __DECONST(void *, buf); in ff_sendto() 844 __DECONST(struct msghdr *, msg)->msg_name = &freebsd_sa; in ff_sendmsg() 847 rc = sendit(curthread, s, __DECONST(struct msghdr *, msg), flags); in ff_sendmsg() 849 __DECONST(struct msghdr *, msg)->msg_name = linux_sa; in ff_sendmsg() 1112 rc = userland_sysctl(curthread, __DECONST(int *, name), namelen, oldp, oldlenp, in ff_sysctl() 1113 1, __DECONST(void *, newp), newlen, &retval, 0); in ff_sysctl()
|
| /f-stack/freebsd/net/ |
| H A D | rss_config.c | 113 __DECONST(int *, &rss_maxbits), 0, "RSS maximum bits"); 126 __DECONST(int *, &rss_maxcpus), 0, "RSS maximum CPUs that can be used"); 141 __DECONST(int *, &rss_basecpu), 0, "RSS base CPU");
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_file_os.c | 61 rc = kern_openat(td, AT_FDCWD, __DECONST(char *, path), in zfs_file_open() 300 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep), in zfs_file_unlink() 303 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep), in zfs_file_unlink()
|
| /f-stack/freebsd/arm/ti/clk/ |
| H A D | clock_common.c | 150 OF_prop_free(__DECONST(char *, def->name)); in free_clkdef()
|
| H A D | ti_clkctrl.c | 242 OF_prop_free(__DECONST(char *, org_name)); in ti_clkctrl_attach()
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_clock.c | 394 clkdef.name = __DECONST(char *, pll_clks[i].clk_name); in jz4780_clock_register() 410 clkdef.name = __DECONST(char *, otg_clks[i].clk_name); in jz4780_clock_register() 434 gatedef.clkdef.name = __DECONST(char *, gate_clks[i].clk_name); in jz4780_clock_register()
|
| H A D | jz4780_clk_gen.c | 302 clkdef.name = __DECONST(char *, descr->clk_name); in jz4780_clk_gen_register()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_firmware.c | 233 free(__DECONST(char *, fp->fw.name), M_FIRMWARE); in firmware_unregister()
|