Lines Matching refs:sleb128_64bit_tests
123 static const Decode64bitSignedLeb128TestCase sleb128_64bit_tests[] = { variable
316 for (size_t i = 0; i < arraysize(sleb128_64bit_tests); ++i) { in TEST()
318 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_64bit_tests[i].decoded); in TEST()
320 EXPECT_EQ(SignedLeb128Size(sleb128_64bit_tests[i].decoded), data_size); in TEST()
321 const uint8_t* data_ptr = &sleb128_64bit_tests[i].leb128_data[0]; in TEST()
329 EXPECT_EQ(DecodeSignedLeb128<int64_t>(&data_ptr), sleb128_64bit_tests[i].decoded) in TEST()
379 uint8_t encoded_data[10 * arraysize(sleb128_64bit_tests)]; in TEST()
381 for (size_t i = 0; i < arraysize(sleb128_64bit_tests); ++i) { in TEST()
382 end = EncodeSignedLeb128(end, sleb128_64bit_tests[i].decoded); in TEST()
386 for (size_t i = 0; i < arraysize(sleb128_64bit_tests); ++i) { in TEST()
387 const uint8_t* data_ptr = &sleb128_64bit_tests[i].leb128_data[0]; in TEST()
388 for (size_t j = 0; j < SignedLeb128Size(sleb128_64bit_tests[i].decoded); ++j) { in TEST()
391 for (size_t j = SignedLeb128Size(sleb128_64bit_tests[i].decoded); j < 10; ++j) { in TEST()
394 EXPECT_EQ(DecodeSignedLeb128<int64_t>(&encoded_data_ptr), sleb128_64bit_tests[i].decoded) in TEST()