Lines Matching refs:pool

40   StringPool pool;  in TEST()  local
43 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); in TEST()
44 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); in TEST()
47 b.values[Plural::One] = util::make_unique<String>(pool.MakeRef("une")); in TEST()
48 b.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("autre")); in TEST()
51 c.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); in TEST()
52 c.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); in TEST()
59 StringPool pool; in TEST() local
62 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one")); in TEST()
63 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other")); in TEST()
65 std::unique_ptr<Plural> b(a.Clone(&pool)); in TEST()
70 StringPool pool; in TEST() local
73 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST()
74 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST()
77 b.elements.push_back(util::make_unique<String>(pool.MakeRef("une"))); in TEST()
78 b.elements.push_back(util::make_unique<String>(pool.MakeRef("deux"))); in TEST()
81 c.elements.push_back(util::make_unique<String>(pool.MakeRef("uno"))); in TEST()
84 d.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST()
85 d.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST()
94 StringPool pool; in TEST() local
97 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST()
98 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST()
100 std::unique_ptr<Array> b(a.Clone(&pool)); in TEST()
105 StringPool pool; in TEST() local
203 StringPool pool; in TEST() local
207 .AddItem("android:attr/a", util::make_unique<String>(pool.MakeRef("OverlayFooA"))) in TEST()
208 .AddItem("android:attr/b", util::make_unique<String>(pool.MakeRef("FooB"))) in TEST()
209 .AddItem("android:attr/c", util::make_unique<String>(pool.MakeRef("OverlayFooC"))) in TEST()