Home
last modified time | relevance | path

Searched refs:k32BitTestData (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/
Dsys_byteorder_unittest.cc16 const uint32_t k32BitTestData = 0xaabbccdd; variable
31 uint32_t swapped = base::ByteSwap(k32BitTestData); in TEST()
34 EXPECT_EQ(k32BitTestData, reswapped); in TEST()
50 const uintptr_t test_data = static_cast<uintptr_t>(k32BitTestData); in TEST()
73 uint32_t le = base::ByteSwapToLE32(k32BitTestData); in TEST()
75 EXPECT_EQ(k32BitTestData, le); in TEST()
100 uint32_t h = base::NetToHost32(k32BitTestData); in TEST()
104 EXPECT_EQ(k32BitTestData, h); in TEST()
127 uint32_t n = base::HostToNet32(k32BitTestData); in TEST()
131 EXPECT_EQ(k32BitTestData, n); in TEST()
/external/cronet/base/
Dsys_byteorder_unittest.cc16 const uint32_t k32BitTestData = 0xaabbccdd; variable
31 uint32_t swapped = base::ByteSwap(k32BitTestData); in TEST()
34 EXPECT_EQ(k32BitTestData, reswapped); in TEST()
50 const uintptr_t test_data = static_cast<uintptr_t>(k32BitTestData); in TEST()
73 uint32_t le = base::ByteSwapToLE32(k32BitTestData); in TEST()
75 EXPECT_EQ(k32BitTestData, le); in TEST()
100 uint32_t h = base::NetToHost32(k32BitTestData); in TEST()
104 EXPECT_EQ(k32BitTestData, h); in TEST()
127 uint32_t n = base::HostToNet32(k32BitTestData); in TEST()
131 EXPECT_EQ(k32BitTestData, n); in TEST()
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_endian_test.cc15 const uint32_t k32BitTestData = 0xaabbccdd; variable
28 QuicheEndian::PortableByteSwap(k32BitTestData)); in TEST_F()
37 quiche::QuicheEndian::HostToNet32(k32BitTestData)); in TEST_F()
45 EXPECT_EQ(k32BitTestData, in TEST_F()