Home
last modified time | relevance | path

Searched refs:getRefCnt (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/skia/ext/
Drefptr_unittest.cc14 EXPECT_EQ(1, ref->getRefCnt()); in TEST()
19 EXPECT_EQ(1, ref->getRefCnt()); in TEST()
20 EXPECT_EQ(1, refptr1->getRefCnt()); in TEST()
28 EXPECT_EQ(2, ref->getRefCnt()); in TEST()
35 EXPECT_EQ(3, ref->getRefCnt()); in TEST()
39 EXPECT_EQ(3, ref->getRefCnt()); in TEST()
44 EXPECT_EQ(2, ref->getRefCnt()); in TEST()
50 EXPECT_EQ(2, refptr3->getRefCnt()); in TEST()
56 EXPECT_EQ(1, ref->getRefCnt()); in TEST()
62 EXPECT_EQ(1, ref->getRefCnt()); in TEST()
[all …]
Dplatform_canvas_unittest.cc420 EXPECT_EQ(1, platform_bitmap->GetBitmap().pixelRef()->getRefCnt()); in TEST()
428 EXPECT_EQ(2, platform_bitmap->GetBitmap().pixelRef()->getRefCnt()); in TEST()
429 EXPECT_EQ(2, sk_bitmap.pixelRef()->getRefCnt()); in TEST()
440 EXPECT_EQ(1, sk_bitmap.pixelRef()->getRefCnt()); in TEST()
/external/skia/tests/
DUtilsTest.cpp31 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt()); in test_autounref()
35 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt()); in test_autounref()
38 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt()); in test_autounref()
43 REPORTER_ASSERT(reporter, 2 == obj.getRefCnt()); in test_autounref()
47 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt()); in test_autounref()
53 REPORTER_ASSERT(reporter, 1 == obj0.getRefCnt()); in test_autostarray()
54 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt()); in test_autostarray()
65 REPORTER_ASSERT(reporter, 2 == obj0.getRefCnt()); in test_autostarray()
66 REPORTER_ASSERT(reporter, 2 == obj1.getRefCnt()); in test_autostarray()
71 REPORTER_ASSERT(reporter, 1 == obj0.getRefCnt()); in test_autostarray()
[all …]
DRefDictTest.cpp29 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in DEF_TEST()
33 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in DEF_TEST()
37 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in DEF_TEST()
38 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt()); in DEF_TEST()
42 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in DEF_TEST()
43 REPORTER_ASSERT(reporter, 1 == data1.getRefCnt()); in DEF_TEST()
49 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt()); in DEF_TEST()
50 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt()); in DEF_TEST()
55 REPORTER_ASSERT(reporter, 1 == data0.getRefCnt()); in DEF_TEST()
56 REPORTER_ASSERT(reporter, 3 == data1.getRefCnt()); in DEF_TEST()
[all …]
DMetaDataTest.cpp14 REPORTER_ASSERT(reporter, 1 == ref.getRefCnt()); in test_ptrs()
23 REPORTER_ASSERT(reporter, 2 == ref.getRefCnt()); in test_ptrs()
28 REPORTER_ASSERT(reporter, 3 == ref.getRefCnt()); in test_ptrs()
33 REPORTER_ASSERT(reporter, 2 == ref.getRefCnt()); in test_ptrs()
35 REPORTER_ASSERT(reporter, 1 == ref.getRefCnt()); in test_ptrs()
DClipCacheTest.cpp168 REPORTER_ASSERT(reporter, texture1->getRefCnt()); in test_cache()
175 REPORTER_ASSERT(reporter, texture1->getRefCnt()); in test_cache()
193 REPORTER_ASSERT(reporter, texture1->getRefCnt()); in test_cache()
194 REPORTER_ASSERT(reporter, texture2->getRefCnt()); in test_cache()
205 REPORTER_ASSERT(reporter, texture1->getRefCnt()); in test_cache()
DRefCntTest.cpp37 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()); in test_refarray()
54 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()); in test_refarray()
95 REPORTER_ASSERT(reporter, ref->getRefCnt() == 1); in test_refCnt()
139 REPORTER_ASSERT(reporter, ref->getRefCnt() == 1); in test_weakRefCnt()
/external/skia/include/gpu/
DGrResource.h78 SkASSERT(this->getRefCnt() > 1); in decDeferredRefCount()
DGrContext.h1014 SkASSERT(texture->getRefCnt() > 1); in detach()
/external/chromium_org/third_party/skia/include/gpu/
DGrResource.h78 SkASSERT(this->getRefCnt() > 1); in decDeferredRefCount()
DGrContext.h1014 SkASSERT(texture->getRefCnt() > 1); in detach()
/external/skia/src/gpu/
DGrResourceCache.cpp323 SkASSERT(1 == entry->fResource->getRefCnt()); in deleteResource()
477 if (entry->fResource->getRefCnt() > 1) { in printStats()
/external/chromium_org/third_party/skia/src/gpu/
DGrResourceCache.cpp323 SkASSERT(1 == entry->fResource->getRefCnt()); in deleteResource()
477 if (entry->fResource->getRefCnt() > 1) { in printStats()
/external/skia/src/core/
DSkTypefaceCache.cpp150 face, face->uniqueID(), style, face->getRefCnt()); in DumpProc()
DSkDraw.cpp105 SkASSERT(2 == fPaint.getShader()->getRefCnt()); in SkAutoBitmapShaderInstall()
111 SkASSERT(2 == shader->getRefCnt()); in ~SkAutoBitmapShaderInstall()
DSkBitmap.cpp1666 SkASSERT(NULL == fColorTable || (unsigned)fColorTable->getRefCnt() < 10000); in validate()
/external/chromium_org/third_party/skia/src/core/
DSkTypefaceCache.cpp150 face, face->uniqueID(), style, face->getRefCnt()); in DumpProc()
DSkDraw.cpp105 SkASSERT(2 == fPaint.getShader()->getRefCnt()); in SkAutoBitmapShaderInstall()
111 SkASSERT(2 == shader->getRefCnt()); in ~SkAutoBitmapShaderInstall()
DSkBitmap.cpp1666 SkASSERT(NULL == fColorTable || (unsigned)fColorTable->getRefCnt() < 10000); in validate()
/external/chromium_org/third_party/skia/include/core/
DSkRefCnt.h45 int32_t getRefCnt() const { return fRefCnt; } in getRefCnt() function
/external/skia/include/core/
DSkRefCnt.h45 int32_t getRefCnt() const { return fRefCnt; } in getRefCnt() function
/external/skia/src/ports/
DSkFontHost_mac.cpp567 SkASSERT(face->getRefCnt() > 1); in SkCreateTypefaceFromCTFont()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp567 SkASSERT(face->getRefCnt() > 1); in SkCreateTypefaceFromCTFont()