Home
last modified time | relevance | path

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

/art/libartbase/base/
Dleb128_test.cc49 static const Decode64bitUnsignedLeb128TestCase uleb128_64bit_tests[] = { variable
192 for (size_t i = 0; i < arraysize(uleb128_64bit_tests); ++i) { in TEST()
194 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_64bit_tests[i].decoded); in TEST()
196 EXPECT_EQ(UnsignedLeb128Size(uleb128_64bit_tests[i].decoded), data_size); in TEST()
197 const uint8_t* data_ptr = &uleb128_64bit_tests[i].leb128_data[0]; in TEST()
205 EXPECT_EQ(DecodeUnsignedLeb128<uint64_t>(&data_ptr), uleb128_64bit_tests[i].decoded) in TEST()
255 uint8_t encoded_data[10 * arraysize(uleb128_64bit_tests)]; in TEST()
257 for (size_t i = 0; i < arraysize(uleb128_64bit_tests); ++i) { in TEST()
258 end = EncodeUnsignedLeb128(end, uleb128_64bit_tests[i].decoded); in TEST()
262 for (size_t i = 0; i < arraysize(uleb128_64bit_tests); ++i) { in TEST()
[all …]