Searched refs:sleb128_tests (Results 1 – 1 of 1) sorted by relevance
73 static const DecodeSignedLeb128TestCase sleb128_tests[] = { variable278 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()280 builder.PushBackSigned(sleb128_tests[i].decoded); in TEST()281 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()282 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()291 EXPECT_EQ(DecodeSignedLeb128(&data_ptr), sleb128_tests[i].decoded) << " i = " << i; in TEST()297 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()299 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_tests[i].decoded); in TEST()301 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), data_size); in TEST()302 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()[all …]