Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DEndianTest.cpp46 unsigned char littleval2[] = {0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00}; in TEST() local
49 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)), in TEST()
55 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)), in TEST()
113 unsigned char littleval2[8] = {0x00}; in TEST() local
114 endian::writeAtBitAlignment<int32_t, little, unaligned>(littleval2, in TEST()
116 EXPECT_EQ(littleval2[0], 0xfe); in TEST()
117 EXPECT_EQ(littleval2[1], 0xff); in TEST()
118 EXPECT_EQ(littleval2[2], 0xff); in TEST()
119 EXPECT_EQ(littleval2[3], 0xff); in TEST()
120 EXPECT_EQ(littleval2[4], 0x01); in TEST()
[all …]