Searched refs:be16 (Results 1 – 3 of 3) sorted by relevance
25 static constexpr uint16_t be16 = 0x3412; variable45 ASSERT_EQ(be16, htons(le16)); in TEST()55 ASSERT_EQ(le16, ntohs(be16)); in TEST()64 ASSERT_EQ(be16, htobe16(le16)); in TEST()76 ASSERT_EQ(le16, be16toh(be16)); in TEST()89 ASSERT_EQ(le16, betoh16(be16)); in TEST()
25 static constexpr uint16_t be16 = 0x3412; variable30 EXPECT_EQ(le16, bswap_16(be16)); in TEST()31 EXPECT_EQ(be16, bswap_16(le16)); in TEST()
29 static constexpr uint16_t be16 = 0x3412; variable49 ASSERT_EQ(be16, (htons)(le16)); in TEST()65 ASSERT_EQ(le16, (ntohs)(be16)); in TEST()