Lines Matching refs:bigval
24 unsigned char bigval[] = {0x00, 0x01, 0x02, 0x03, 0x04}; in TEST() local
27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST()
31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST()
38 unsigned char bigval[] = {0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xc0}; in TEST() local
42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST()
75 unsigned char bigval[8] = {0x00}; in TEST() local
76 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval, (int)0xffffaaaa, in TEST()
78 EXPECT_EQ(bigval[0], 0xff); in TEST()
79 EXPECT_EQ(bigval[1], 0xfa); in TEST()
80 EXPECT_EQ(bigval[2], 0xaa); in TEST()
81 EXPECT_EQ(bigval[3], 0xa0); in TEST()
82 EXPECT_EQ(bigval[4], 0x00); in TEST()
83 EXPECT_EQ(bigval[5], 0x00); in TEST()
84 EXPECT_EQ(bigval[6], 0x00); in TEST()
85 EXPECT_EQ(bigval[7], 0x0f); in TEST()