Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/fat/bsd/libkern/
H A Diconv.c82 while (iconv(handle, __DECONST(char**, inbuf), inbytesleft, outbuf, outbytesleft) != (size_t)-1 in iconv_conv()
98 int status = iconv(handle, __DECONST(char**, inbuf), inbytesleft, outbuf, outbytesleft); in iconv_convchr()
141 status = iconv(handle, __DECONST(char**, inbuf), inbytesleft, outbuf, outbytesleft); in iconv_convchr_case()
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/
H A Dcdefs.h44 #define __DECONST(type, var) ((type)(unsigned long)(const void*)(var)) macro
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcdefs.h346 #ifndef __DECONST
347 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/
H A Dmsdosfs_conv.c266 c = dos2unixchr(tmpbuf, __DECONST(const u_char **, &dn), &i, in dos2unixfn()
283 c = dos2unixchr(tmpbuf, __DECONST(const u_char **, &dn), in dos2unixfn()
659 c1 = unix2winchr(__DECONST(const u_char **, &np), &len, in winChkName()
978 msdosfs_iconv->convchr(pmp->pm_w2u, __DECONST(const char **, in win2unixchr()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.c1458 #ifndef __DECONST
1459 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
1467 struct mwl_hal_bastream *sp = __DECONST(struct mwl_hal_bastream *, s); in mwl_hal_bastream_create()
1520 struct mwl_hal_bastream *sp = __DECONST(struct mwl_hal_bastream *, s); in mwl_hal_bastream_destroy()
1553 struct mwl_hal_bastream *sp = __DECONST(struct mwl_hal_bastream *, s); in mwl_hal_bastream_get_seqno()
2330 if (mwl_hal_fwload(mh0, __DECONST(void *, args))) { in mwl_hal_getdiagstate()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_attach.c319 error = rtwn_usb_write_region_1(sc, reg, __DECONST(uint8_t *, buf), in rtwn_usb_fw_write_block()
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c291 while ((parent = __DECONST(nvlist_t *, in nvlist_update_size()
1172 nvl = __DECONST(nvlist_t *, in nvlist_xunpack()
1199 array = __DECONST(nvlist_t *, in nvlist_xunpack()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c1069 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5212GetDiagState()
1115 *result = __DECONST(void *, aniState->params); in ar5212GetDiagState()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_misc.c691 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5211GetDiagState()
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c1620 *getport(__DECONST(struct addrinfo*, ai)) = port; in get_port()
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c4799 __DECONST(void *, k)); in wpi_process_key()
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_run.c1435 error = run_do_request(sc, &req, __DECONST(uint8_t *, buf)); in run_write_region_1()