Lines Matching refs:builder

36   BitTableBuilderBase<1> builder(&allocator);  in TEST()  local
37 builder.Encode(writer); in TEST()
53 BitTableBuilderBase<1> builder(&allocator); in TEST() local
54 builder.Add({42u}); in TEST()
55 builder.Add({kNoValue}); in TEST()
56 builder.Add({1000u}); in TEST()
57 builder.Add({kNoValue}); in TEST()
58 builder.Encode(writer); in TEST()
79 BitTableBuilderBase<1> builder(&allocator); in TEST() local
80 builder.Add({42u}); in TEST()
81 builder.Encode(writer); in TEST()
99 BitTableBuilderBase<4> builder(&allocator); in TEST() local
100 builder.Add({42u, kNoValue, 0u, static_cast<uint32_t>(-2)}); in TEST()
101 builder.Add({62u, kNoValue, 63u, static_cast<uint32_t>(-3)}); in TEST()
102 builder.Encode(writer); in TEST()
127 BitTableBuilderBase<2> builder(&allocator); in TEST() local
130 EXPECT_EQ(0u, builder.Dedup(&value0)); in TEST()
131 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
132 EXPECT_EQ(0u, builder.Dedup(&value0)); in TEST()
133 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
134 EXPECT_EQ(2u, builder.size()); in TEST()
145 BitmapTableBuilder builder(&allocator); in TEST() local
149 indices.emplace(bitmap, builder.Dedup(&bitmap, MinimumBitsToStore(bitmap))); in TEST()
151 builder.Encode(writer); in TEST()
152 EXPECT_EQ(1 + static_cast<uint32_t>(POPCOUNT(value)), builder.size()); in TEST()
176 BitTableBuilderBase<2> builder(&allocator); in TEST() local
179 EXPECT_EQ(0u, builder.Dedup(&value0)); in TEST()
180 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
181 EXPECT_EQ(0u, builder.Dedup(&value0)); in TEST()
182 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
183 EXPECT_EQ(2u, builder.size()); in TEST()