Lines Matching refs:littleval
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()
93 EXPECT_EQ(littleval[3], 0xff); in TEST()
94 EXPECT_EQ(littleval[4], 0x0f); in TEST()
95 EXPECT_EQ(littleval[5], 0x00); in TEST()
96 EXPECT_EQ(littleval[6], 0x00); in TEST()
97 EXPECT_EQ(littleval[7], 0x00); in TEST()