Lines Matching refs:wp
92 wp<Foo> wp1(sp1); in TEST()
119 wp<Foo> wp1(foo); in TEST()
122 wp<Foo> wp2 = wp1; in TEST()
137 wp<Foo> wp1(sp1); in TEST()
138 wp<Foo> wp2(sp1); in TEST()
139 wp<Foo> wp3(sp2); in TEST()
152 wp<Foo>wp_smaller = sp1_smaller ? wp1 : wp3; in TEST()
153 wp<Foo>wp_larger = sp1_smaller ? wp3 : wp1; in TEST()
189 wp<Foo> wp4(sp3); in TEST()
190 wp<Foo> wp5; in TEST()
201 wp<Foo> wp4(sp3); in TEST()
202 wp<Foo> wp5; in TEST()
219 wp<FooFixedAlloc> wp1(sp1); in TEST()
227 wp<FooFixedAlloc> wp2(sp2); in TEST()
247 wp<Foo> weakFoo = foo; in TEST()
249 EXPECT_EQ(weakFoo, wp<Foo>::fromExisting(foo.get())); in TEST()
250 EXPECT_EQ(weakFoo.unsafe_get(), wp<Foo>::fromExisting(foo.get()).unsafe_get()); in TEST()
263 EXPECT_DEATH(wp<Foo>::fromExisting(foo), ""); in TEST()
368 static wp<Bar> wpBuffer;
406 wp<Bar> wp1(bar); in TEST()