Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dtsearch.c29 #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 Dnv_compat.h51 #ifndef __DECONST
52 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
H A Dnvpair.c240 nvl = __DECONST(nvlist_t *, nvpair_get_nvlist(nvp)); in nvpair_remove_nvlist()
252 nvlarray = __DECONST(nvlist_t **, in nvpair_remove_nvlist_array()
H A Dnvlist.c1221 nvl = __DECONST(nvlist_t *, in nvlist_xunpack()
1248 array = __DECONST(nvlist_t *, in nvlist_xunpack()
/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dcommon.c495 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 Dfree2net.h36 #define __DECONST(t, a) (t) __UNCONST(a) macro
/netbsd-src/sys/external/isc/atheros_hal/dist/
H A Dah_internal.h51 #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 Dar5212_misc.c1026 *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 Dar5211_misc.c679 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5211GetDiagState()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_impl.h755 #define __DECONST(a, b) __UNCONST(b) macro
H A Ddt_proc.c359 (dt_bkpt_f *)dt_proc_rdevent, __DECONST(void *, evname)); in dt_proc_rdwatch()
/netbsd-src/sys/external/bsd/drm/dist/bsd-core/
H A DdrmP.h914 (!useracc(__DECONST(caddr_t, uaddr), size, VM_PROT_READ))