/freebsd-11.0-release/contrib/ofed/include/infiniband/ |
H A D | byteswap.h | 38 #define bswap_16 bswap16
|
H A D | byteorder.h | 80 #define swab16 bswap16
|
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | bswap.c | 52 bswap16 (unsigned short val) function
|
/freebsd-11.0-release/contrib/netbsd-tests/include/machine/ |
H A D | t_bswap.c | 73 atf_tc_set_md_var(tc, "descr", "A naive test of bswap16(3), #1"); 78 ATF_REQUIRE_EQ(bswap16(0x0000), 0x0000); 79 ATF_REQUIRE_EQ(bswap16(0xff00), 0x00ff); 80 ATF_REQUIRE_EQ(bswap16(0xffff), 0xffff); 81 ATF_REQUIRE_EQ(bswap16(0x1234), 0x3412); 87 atf_tc_set_md_var(tc, "descr", "A naive test of bswap16(3), #2"); 94 ATF_REQUIRE_EQ(bswap16(unconst16(0x0000)), 0x0000); 95 ATF_REQUIRE_EQ(bswap16(unconst16(0xff00)), 0x00ff); 96 ATF_REQUIRE_EQ(bswap16(unconst16(0xffff)), 0xffff); 97 ATF_REQUIRE_EQ(bswap16(unconst1 [all...] |
/freebsd-11.0-release/contrib/openbsm/compat/ |
H A D | endian.h | 48 bswap16(uint16_t int16) function 125 #define htobe16(x) bswap16((x)) 132 #define be16toh(x) bswap16((x)) 142 #define htole16(x) bswap16((x)) 149 #define le16toh(x) bswap16((x))
|
/freebsd-11.0-release/sys/sys/ |
H A D | endian.h | 59 #define bswap16(x) __bswap16(x) macro 68 #define htobe16(x) bswap16((x)) 75 #define be16toh(x) bswap16((x)) 85 #define htole16(x) bswap16((x)) 92 #define le16toh(x) bswap16((x))
|
/freebsd-11.0-release/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 59 w = bswap16(w); 78 w = bswap16(w); 126 be = bswap16(dw); 130 le = bswap16(dw);
|
/freebsd-11.0-release/contrib/xz/src/common/ |
H A D | tuklib_integer.h | 55 # define bswap16(num) bswap_16(num) macro 72 # define bswap16(num) BSWAP_16(num) macro 105 #ifndef bswap16 106 # define bswap16(num) \ macro 142 # define conv16le(num) bswap16(num) 152 # define conv16be(num) bswap16(num)
|
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | ufs_bswap.h | 65 return ((ns) ? bswap16(a) : (a));
|
H A D | ffs_bswap.c | 129 n->di_mode = bswap16(o->di_mode); 130 n->di_nlink = bswap16(o->di_nlink); 150 n->di_mode = bswap16(o->di_mode); 151 n->di_nlink = bswap16(o->di_nlink); 211 n->cg_old_ncyl = bswap16(o->cg_old_ncyl); 212 n->cg_old_niblk = bswap16(o->cg_old_niblk); 257 n16[i] = bswap16(o16[i]);
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 84 #define swab16(x) bswap16(x)
|
/freebsd-11.0-release/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 86 #define getwle(buf,ofs) (bswap16(getwbe(buf,ofs))) 90 #define setwle(buf,ofs,val) getwbe(buf,ofs)=bswap16(val)
|
/freebsd-11.0-release/sys/dev/isp/ |
H A D | isp_freebsd.h | 637 *(d) = (isp->isp_bustype == ISP_BT_SBUS)? s : bswap16(s) 643 *((uint16_t *)s) : bswap16(*((uint16_t *)s)) 650 #define ISP_IOXPUT_16(isp, s, d) *(d) = bswap16(s) 653 #define ISP_IOXGET_16(isp, s, d) d = bswap16(*((uint16_t *)s)) 656 #define ISP_SWIZZLE_NVRAM_WORD(isp, rp) *rp = bswap16(*rp) 678 #define ISP_IOZPUT_16(isp, s, d) *(d) = bswap16(s) 682 #define ISP_IOZGET_16(isp, s, d) d = bswap16(*((uint16_t *)(s))) 687 #define ISP_SWAP16(isp, s) bswap16(s)
|
/freebsd-11.0-release/sys/arm/xscale/ixp425/ |
H A D | cambria_exp_space.c | 181 d[i] = bswap16(v); 202 bus_space_write_2(sc->sc_iot, h, o, bswap16(d[i]));
|
H A D | avila_ata.c | 431 d[i] = bswap16(v); 449 bus_space_write_2(sc->sc_iot, h, o, bswap16(d[i]));
|
/freebsd-11.0-release/sys/dev/cxgbe/ |
H A D | osdep.h | 94 #define swab16(x) bswap16(x)
|
/freebsd-11.0-release/sys/mips/nlm/ |
H A D | bus_space_rmi_pci.c | 416 return bswap16(value); 450 *addr = bswap16(*addr); 485 *(volatile u_int16_t *)(handle + offset) = bswap16(value); 520 (*(volatile u_int16_t *)(handle + offset)) = bswap16(*addr);
|
/freebsd-11.0-release/sys/mips/rmi/ |
H A D | bus_space_rmi_pci.c | 408 return bswap16((u_int16_t) (*(volatile u_int16_t *)(handle + offset))); 440 *addr = bswap16(*addr); 475 *(volatile u_int16_t *)(handle + offset) = bswap16(value); 510 (*(volatile u_int16_t *)(handle + offset)) = bswap16(*addr);
|
/freebsd-11.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_lha.c | 1715 #undef bswap16 macro 1717 # define bswap16(x) _byteswap_ushort(x) macro 1720 # define bswap16(x) __builtin_bswap16(x) 1723 # define bswap16(x) __builtin_bswap16(x) 1725 # define bswap16(x) ((((x) >> 8) & 0xff) | ((x) << 8)) 1729 crc ^= bswap16(*buff); buff++; \ 1739 #undef bswap16 macro
|
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | store.c | 467 value = bswap16(value); 515 *value = bswap16(*value);
|
/freebsd-11.0-release/sys/sparc64/pci/ |
H A D | sbbc.c | 173 bswap16(SBBC_READ_N(2, (offs))) 181 SBBC_WRITE_N(2, (offs), bswap16(val))
|
/freebsd-11.0-release/contrib/wpa/src/utils/ |
H A D | common.h | 31 #define bswap_16 bswap16
|
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | sender.c | 588 adrep->adrp_error = bswap16(adrep->adrp_error);
|
/freebsd-11.0-release/sys/dev/nge/ |
H A D | if_nge.c | 1591 bswap16(extsts & NGE_RXEXTSTS_VTCI); 1949 bswap16(m->m_pkthdr.ether_vtag));
|
/freebsd-11.0-release/sys/dev/fb/ |
H A D | machfb.c | 1407 *(p++) = bswap16(v);
|