Searched refs:le32 (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | endian_test.cpp | 22 static constexpr uint32_t le32 = 0x12345678; variable 46 ASSERT_EQ(be32, htonl(le32)); in TEST() 56 ASSERT_EQ(le32, ntohl(be32)); in TEST() 65 ASSERT_EQ(be32, htobe32(le32)); in TEST() 71 ASSERT_EQ(le32, htole32(le32)); in TEST() 77 ASSERT_EQ(le32, be32toh(be32)); in TEST() 83 ASSERT_EQ(le32, le32toh(le32)); in TEST() 90 ASSERT_EQ(le32, betoh32(be32)); in TEST() 100 ASSERT_EQ(le32, letoh32(le32)); in TEST()
|
D | byteswap_test.cpp | 22 static constexpr uint32_t le32 = 0x12345678; variable 35 EXPECT_EQ(le32, bswap_32(be32)); in TEST() 36 EXPECT_EQ(be32, bswap_32(le32)); in TEST()
|
D | netinet_in_test.cpp | 26 static constexpr uint32_t le32 = 0x12345678; variable 53 ASSERT_EQ(be32, (htonl)(le32)); in TEST() 69 ASSERT_EQ(le32, (ntohl)(be32)); in TEST()
|