Searched refs:bigval2 (Results 1 – 1 of 1) sorted by relevance
/external/llvm/unittests/Support/ |
D | EndianTest.cpp | 47 unsigned char bigval2[] = {0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; in TEST() local 51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)), in TEST() 57 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)), in TEST() 101 unsigned char bigval2[8] = {0x00}; in TEST() local 102 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval2, (int)0xffffffff, in TEST() 104 EXPECT_EQ(bigval2[0], 0xff); in TEST() 105 EXPECT_EQ(bigval2[1], 0xff); in TEST() 106 EXPECT_EQ(bigval2[2], 0xff); in TEST() 107 EXPECT_EQ(bigval2[3], 0xfe); in TEST() 108 EXPECT_EQ(bigval2[4], 0x00); in TEST() [all …]
|