Home
last modified time | relevance | path

Searched refs:bswap_16 (Results 1 – 15 of 15) sorted by relevance

/freebsd/tests/include/
H A Dbyteswap_test.c27 #ifndef bswap_16 in ATF_TC_BODY()
55 ATF_REQUIRE_MSG(0x3412 == bswap_16(ui16), in ATF_TC_BODY()
56 "bswap16(%#x) != 0x3412 instead %#x\n", ui16, bswap_16(ui16)); in ATF_TC_BODY()
H A Dsys_endian_test.c23 #ifdef bswap_16 in ATF_TC_BODY()
H A Dendian_test.c23 #ifdef bswap_16 in ATF_TC_BODY()
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function
61 #define bswap_16 CPU_swap_u16 macro
177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
178 #define host_to_be16(n) ((__force be16) bswap_16((n)))
188 #define le_to_host16(n) bswap_16(n)
189 #define host_to_le16(n) bswap_16(n)
408 #ifndef bswap_16
409 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_byteswap_osd.h60 #define cl_ntoh16(x) bswap_16(x)
61 #define cl_hton16(x) bswap_16(x)
/freebsd/contrib/ofed/include/
H A Dbyteswap.h38 #define bswap_16 bswap16 macro
/freebsd/include/
H A Dbyteswap.h37 #define bswap_16(x) __bswap16(x) macro
/freebsd/contrib/libpcap/
H A Dpcap-usb-linux.c85 #define htols(s) bswap_16(s)
/freebsd/contrib/xz/src/common/
H A Dtuklib_integer.h77 # define byteswap16(num) bswap_16(num)
/freebsd/crypto/krb5/src/
H A Dconfigure.ac537 # bswap_16 is a macro in byteswap.h under GNU libc
538 AC_MSG_CHECKING(for bswap_16)
546 [[bswap_16(37);]])],
550 AC_DEFINE(HAVE_BSWAP_16,1,[Define to 1 if bswap_16 is available via byteswap.h])
H A Dconfigure11715 bswap_16(37);
/freebsd/crypto/krb5/src/include/
H A Dk5-platform.h530 # define SWAP16 bswap_16
H A Dautoconf.h.in106 /* Define to 1 if bswap_16 is available via byteswap.h */
/freebsd/contrib/file/src/
H A Dcdf.c134 # define _cdf_tole2(x) bswap_16(x)
H A Dapprentice.c135 #define swap2(x) bswap_16(x)