/haiku/src/add-ons/kernel/file_systems/fat/bsd/libkern/ |
H A D | iconv.c | 82 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 D | cdefs.h | 44 #define __DECONST(type, var) ((type)(unsigned long)(const void*)(var)) macro
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | cdefs.h | 346 #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 D | msdosfs_conv.c | 266 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 D | mwlhal.c | 1458 #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 D | rtwn_usb_attach.c | 319 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 D | nvlist.c | 291 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 D | ar5212_misc.c | 1069 *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 D | ar5211_misc.c | 691 *result = __DECONST(void *, ahp->ah_gainValues.currStep); in ar5211GetDiagState()
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | getaddrinfo.c | 1620 *getport(__DECONST(struct addrinfo*, ai)) = port; in get_port()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 4799 __DECONST(void *, k)); in wpi_process_key()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/ |
H A D | if_run.c | 1435 error = run_do_request(sc, &req, __DECONST(uint8_t *, buf)); in run_write_region_1()
|