Searched refs:__DECONST (Results 1 – 12 of 12) sorted by relevance
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | tsearch.c | 29 #ifndef __DECONST 30 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro 66 q->key = __DECONST(void *, vkey); /* initialize new node */ in rk_tsearch()
|
| /netbsd-src/sys/external/bsd/libnv/dist/ |
| H A D | nv_compat.h | 51 #ifndef __DECONST 52 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
|
| H A D | nvpair.c | 240 nvl = __DECONST(nvlist_t *, nvpair_get_nvlist(nvp)); in nvpair_remove_nvlist() 252 nvlarray = __DECONST(nvlist_t **, in nvpair_remove_nvlist_array()
|
| H A D | nvlist.c | 1221 nvl = __DECONST(nvlist_t *, in nvlist_xunpack() 1248 array = __DECONST(nvlist_t *, in nvlist_xunpack()
|
| /netbsd-src/share/examples/refuse/ian/libfetch/ |
| H A D | common.c | 495 iov.iov_base = __DECONST(char *, buf); in _fetch_write() 569 iov->iov_base = (__DECONST(char *, iov->iov_base)) + wlen; in _fetch_writev() 586 iov[0].iov_base = __DECONST(char *, str); in _fetch_putln() 588 iov[1].iov_base = __DECONST(char *, ENDL); in _fetch_putln()
|
| H A D | free2net.h | 36 #define __DECONST(t, a) (t) __UNCONST(a) macro
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ |
| H A D | ah_internal.h | 51 #ifndef __DECONST 52 #define __DECONST(type, var) ((type)(unsigned long)(const void *)(var)) macro
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/ |
| H A D | ar5212_misc.c | 1026 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5212GetDiagState() 1065 *result = __DECONST(void *, aniState->params); in ar5212GetDiagState()
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ar5211/ |
| H A D | ar5211_misc.c | 679 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5211GetDiagState()
|
| /netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| H A D | dt_impl.h | 755 #define __DECONST(a, b) __UNCONST(b) macro
|
| H A D | dt_proc.c | 359 (dt_bkpt_f *)dt_proc_rdevent, __DECONST(void *, evname)); in dt_proc_rdwatch()
|
| /netbsd-src/sys/external/bsd/drm/dist/bsd-core/ |
| H A D | drmP.h | 914 (!useracc(__DECONST(caddr_t, uaddr), size, VM_PROT_READ))
|