Searched refs:sleb128_tests (Results 1 – 1 of 1) sorted by relevance
48 static DecodeSignedLeb128TestCase sleb128_tests[] = { variable176 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()178 builder.PushBackSigned(sleb128_tests[i].decoded); in TEST()179 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()180 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()189 EXPECT_EQ(DecodeSignedLeb128(&data_ptr), sleb128_tests[i].decoded) << " i = " << i; in TEST()195 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()197 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_tests[i].decoded); in TEST()199 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), data_size); in TEST()200 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()[all …]