Lines Matching refs:encoded_data
116 uint8_t encoded_data[5]; in TEST() local
117 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); in TEST()
118 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST()
123 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j; in TEST()
155 uint8_t encoded_data[5 * arraysize(uleb128_tests)]; in TEST() local
156 uint8_t* end = encoded_data; in TEST()
160 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST()
161 const uint8_t* encoded_data_ptr = encoded_data; in TEST()
172 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data)); in TEST()
197 uint8_t encoded_data[5]; in TEST() local
198 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_tests[i].decoded); in TEST()
199 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST()
204 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j; in TEST()
236 uint8_t encoded_data[5 * arraysize(sleb128_tests)]; in TEST() local
237 uint8_t* end = encoded_data; in TEST()
241 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST()
242 const uint8_t* encoded_data_ptr = encoded_data; in TEST()
253 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data)); in TEST()
263 uint8_t encoded_data[5]; in TEST() local
264 uint8_t* old_end = EncodeUnsignedLeb128(encoded_data, old_value); in TEST()
265 UpdateUnsignedLeb128(encoded_data, new_value); in TEST()
266 const uint8_t* new_end = encoded_data; in TEST()