/bionic/tests/ |
endian_test.cpp | 21 static constexpr uint16_t le16 = 0x1234; variable 45 ASSERT_EQ(be16, htons(le16)); 55 ASSERT_EQ(le16, ntohs(be16)); 64 ASSERT_EQ(be16, htobe16(le16)); 70 ASSERT_EQ(le16, htole16(le16)); 76 ASSERT_EQ(le16, be16toh(be16)); 82 ASSERT_EQ(le16, le16toh(le16)); 89 ASSERT_EQ(le16, betoh16(be16)) [all...] |
netinet_in_test.cpp | 25 static constexpr uint16_t le16 = 0x1234; variable 49 ASSERT_EQ(be16, (htons)(le16)); 65 ASSERT_EQ(le16, (ntohs)(be16));
|
/system/core/base/ |
endian_test.cpp | 30 static constexpr uint16_t le16 = 0x1234; local 38 ASSERT_EQ(be16, htons(le16)); 42 ASSERT_EQ(le16, ntohs(be16)); 46 ASSERT_EQ(be16, htobe16(le16)); 50 ASSERT_EQ(le16, betoh16(be16)); 54 ASSERT_EQ(le16, htole16(le16)); 58 ASSERT_EQ(le16, letoh16(le16)); 62 ASSERT_EQ(le16, be16toh(be16)) [all...] |
/external/wpa_supplicant_8/src/utils/ |
common.h | 165 #define le_to_host16(n) ((__force u16) (le16) (n)) 166 #define host_to_le16(n) ((__force le16) (u16) (n)) 430 typedef u16 __bitwise le16; typedef
|