Lines Matching refs:refptr1
18 RefPtr<SkRefCnt> refptr1 = AdoptRef(ref); in TEST() local
20 EXPECT_EQ(1, refptr1->getRefCnt()); in TEST()
22 EXPECT_EQ(ref, &*refptr1); in TEST()
23 EXPECT_EQ(ref, refptr1.get()); in TEST()
27 RefPtr<SkRefCnt> refptr2(refptr1); in TEST()
34 refptr3 = refptr1; in TEST()
65 RefPtr<SkRefCnt> refptr1(AdoptRef(ref)); in TEST() local
67 EXPECT_EQ(1, refptr1->getRefCnt()); in TEST()
69 EXPECT_EQ(ref, &*refptr1); in TEST()
70 EXPECT_EQ(ref, refptr1.get()); in TEST()
72 RefPtr<SkRefCnt> refptr2(refptr1); in TEST()
81 RefPtr<SkRefCnt> refptr1 = AdoptRef(ref); in TEST() local
83 EXPECT_EQ(1, refptr1->getRefCnt()); in TEST()
85 EXPECT_EQ(ref, &*refptr1); in TEST()
86 EXPECT_EQ(ref, refptr1.get()); in TEST()
88 RefPtr<SkRefCnt> refptr2 = refptr1; in TEST()
97 RefPtr<SkRefCnt> refptr1; in TEST() local
98 refptr1 = AdoptRef(ref); in TEST()
100 EXPECT_EQ(1, refptr1->getRefCnt()); in TEST()
102 EXPECT_EQ(ref, &*refptr1); in TEST()
103 EXPECT_EQ(ref, refptr1.get()); in TEST()
106 refptr2 = refptr1; in TEST()