Searched refs:littleval (Results 1 – 1 of 1) sorted by relevance
/external/llvm/unittests/Support/ |
D | EndianTest.cpp | 25 unsigned char littleval[] = {0x00, 0x04, 0x03, 0x02, 0x01}; in TEST() local 29 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval))); in TEST() 32 (endian::read<int32_t, little, unaligned>(littleval + 1))); in TEST() 37 unsigned char littleval[] = {0x3f, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff}; in TEST() local 40 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)), in TEST() 87 unsigned char littleval[8] = {0x00}; in TEST() local 88 endian::writeAtBitAlignment<int32_t, little, unaligned>(littleval, in TEST() 90 EXPECT_EQ(littleval[0], 0xa0); in TEST() 91 EXPECT_EQ(littleval[1], 0xaa); in TEST() 92 EXPECT_EQ(littleval[2], 0xfa); in TEST() [all …]
|