Home
last modified time | relevance | path

Searched refs:sleb128_tests (Results 1 – 1 of 1) sorted by relevance

/art/runtime/
Dleb128_test.cc49 static DecodeSignedLeb128TestCase sleb128_tests[] = { variable
177 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()
179 builder.PushBackSigned(sleb128_tests[i].decoded); in TEST()
180 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()
181 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()
190 EXPECT_EQ(DecodeSignedLeb128(&data_ptr), sleb128_tests[i].decoded) << " i = " << i; in TEST()
196 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST()
198 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_tests[i].decoded); in TEST()
200 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), data_size); in TEST()
201 const uint8_t* data_ptr = &sleb128_tests[i].leb128_data[0]; in TEST()
[all …]