Searched refs:uleb128_tests (Results 1 – 1 of 1) sorted by relevance
30 static DecodeUnsignedLeb128TestCase uleb128_tests[] = { variable96 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST()98 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST()99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST()100 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST()109 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()115 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST()117 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); in TEST()119 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); in TEST()120 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST()[all …]