Lines Matching refs:builder
97 Leb128EncodingVector<> builder; in TEST() local
98 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST()
99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST()
101 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
103 if (j < builder.GetData().size()) { in TEST()
134 Leb128EncodingVector<> builder; in TEST() local
136 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST()
138 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
149 EXPECT_EQ(builder.GetData().size(), in TEST()
150 static_cast<size_t>(encoded_data_ptr - &builder.GetData()[0])); in TEST()
178 Leb128EncodingVector<> builder; in TEST() local
179 builder.PushBackSigned(sleb128_tests[i].decoded); in TEST()
180 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()
182 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
184 if (j < builder.GetData().size()) { in TEST()
215 Leb128EncodingVector<> builder; in TEST() local
217 builder.PushBackSigned(sleb128_tests[i].decoded); in TEST()
219 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
230 EXPECT_EQ(builder.GetData().size(), in TEST()
231 static_cast<size_t>(encoded_data_ptr - &builder.GetData()[0])); in TEST()
278 Leb128EncodingVector<> builder; in TEST() local
283 builder.PushBackUnsigned((i * 1024) + j); in TEST()
290 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()