Searched refs:uleb128_tests (Results 1 – 1 of 1) sorted by relevance
30 static const DecodeUnsignedLeb128TestCase uleb128_tests[] = { variable154 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST()156 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST()157 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST()158 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST()167 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()173 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST()175 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); in TEST()177 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); in TEST()178 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST()[all …]