Home | History | Annotate | Download | only in runtime

Lines Matching defs:encoded_data

115     uint8_t encoded_data[5];
116 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded);
117 size_t data_size = static_cast<size_t>(end - encoded_data);
122 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j;
154 uint8_t encoded_data[5 * arraysize(uleb128_tests)];
155 uint8_t* end = encoded_data;
159 size_t data_size = static_cast<size_t>(end - encoded_data);
160 const uint8_t* encoded_data_ptr = encoded_data;
171 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data));
196 uint8_t encoded_data[5];
197 uint8_t* end = EncodeSignedLeb128(encoded_data, sleb128_tests[i].decoded);
198 size_t data_size = static_cast<size_t>(end - encoded_data);
203 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j;
235 uint8_t encoded_data[5 * arraysize(sleb128_tests)];
236 uint8_t* end = encoded_data;
240 size_t data_size = static_cast<size_t>(end - encoded_data);
241 const uint8_t* encoded_data_ptr = encoded_data;
252 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data));