Lines Matching defs:ptr1
141 RefCallPtr ptr1 = fbl::AdoptRef<RefCallCounter>(&obj1);
143 RefCallPtr also_ptr1 = ptr1;
146 EXPECT_TRUE(ptr1 == ptr1);
147 EXPECT_FALSE(ptr1 != ptr1);
149 EXPECT_FALSE(ptr1 == ptr2);
150 EXPECT_TRUE(ptr1 != ptr2);
152 EXPECT_TRUE(ptr1 == also_ptr1);
153 EXPECT_FALSE(ptr1 != also_ptr1);
155 EXPECT_TRUE(ptr1 != null_ref_ptr);
156 EXPECT_TRUE(ptr1 != nullptr);
157 EXPECT_TRUE(nullptr != ptr1);
158 EXPECT_FALSE(ptr1 == null_ref_ptr);
159 EXPECT_FALSE(ptr1 == nullptr);
160 EXPECT_FALSE(nullptr == ptr1);
618 RefCallPtr ptr1 = fbl::AdoptRef<RefCallCounter>(&counter1);
621 EXPECT_NE(ptr1.get(), ptr2.get());
622 EXPECT_NONNULL(ptr1);
625 ptr1 = fbl::move(ptr2);
626 EXPECT_EQ(ptr1.get(), &counter2);
633 ptr1 = fbl::move(ptr1);
634 EXPECT_EQ(ptr1.get(), &counter2);