Lines Matching refs:t
56 InternTable t; in TEST_F() local
57 EXPECT_EQ(0U, t.Size()); in TEST_F()
58 t.InternStrong(3, "foo"); in TEST_F()
62 t.InternWeak(foo.Get()); in TEST_F()
63 EXPECT_EQ(1U, t.Size()); in TEST_F()
64 t.InternStrong(3, "bar"); in TEST_F()
65 EXPECT_EQ(2U, t.Size()); in TEST_F()
75 InternTable t; in TEST_F() local
81 for (InternTable::Table::InternalTable& table : t.strong_interns_.tables_) { in TEST_F()
116 InternTable t; in TEST_F() local
117 t.InternStrong(3, "foo"); in TEST_F()
118 t.InternStrong(3, "bar"); in TEST_F()
124 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F()
125 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F()
127 EXPECT_EQ(4U, t.Size()); in TEST_F()
135 t.SweepInternTableWeaks(&p); in TEST_F()
138 EXPECT_EQ(2U, t.Size()); in TEST_F()
143 t.InternWeak(still_here.Get()); in TEST_F()
144 EXPECT_EQ(3U, t.Size()); in TEST_F()
151 InternTable t; in TEST_F() local
153 Handle<mirror::String> interned_foo_1(hs.NewHandle(t.InternStrong(3, "foo"))); in TEST_F()
154 EXPECT_FALSE(t.ContainsWeak(interned_foo_1.Get())); in TEST_F()
155 Handle<mirror::String> interned_foo_2(hs.NewHandle(t.InternStrong(3, "foo"))); in TEST_F()
156 EXPECT_FALSE(t.ContainsWeak(interned_foo_2.Get())); in TEST_F()
162 InternTable t; in TEST_F() local
169 Handle<mirror::String> interned_foo_1(hs.NewHandle(t.InternWeak(foo_1.Get()))); in TEST_F()
170 Handle<mirror::String> interned_foo_2(hs.NewHandle(t.InternWeak(foo_2.Get()))); in TEST_F()
171 EXPECT_TRUE(t.ContainsWeak(interned_foo_2.Get())); in TEST_F()
177 InternTable t; in TEST_F() local
181 Handle<mirror::String> interned_foo_1(hs.NewHandle(t.InternWeak(foo.Get()))); in TEST_F()
182 EXPECT_TRUE(t.ContainsWeak(interned_foo_1.Get())); in TEST_F()
183 Handle<mirror::String> interned_foo_2(hs.NewHandle(t.InternStrong(3, "foo"))); in TEST_F()
184 EXPECT_FALSE(t.ContainsWeak(interned_foo_2.Get())); in TEST_F()
190 InternTable t; in TEST_F() local
192 Handle<mirror::String> interned_foo_1(hs.NewHandle(t.InternStrong(3, "foo"))); in TEST_F()
193 EXPECT_FALSE(t.ContainsWeak(interned_foo_1.Get())); in TEST_F()
196 Handle<mirror::String> interned_foo_2(hs.NewHandle(t.InternWeak(foo.Get()))); in TEST_F()
197 EXPECT_FALSE(t.ContainsWeak(interned_foo_2.Get())); in TEST_F()