Home
last modified time | relevance | path

Searched refs:fRefCount (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/core/
DSkBitmapHeap.cpp18 , fRefCount(0) in SkBitmapHeapEntry()
23 SkASSERT(0 == fRefCount); in ~SkBitmapHeapEntry()
27 if (0 == fRefCount) { in addReferences()
31 fRefCount = count; in addReferences()
33 sk_atomic_add(&fRefCount, count); in addReferences()
175 if (heapEntry->fRefCount > 0) { in findEntryToReplace()
203 if (heapEntry->fRefCount > 0) { in freeMemoryIfPossible()
DSkBitmapHeap.h32 sk_atomic_dec(&fRefCount); in releaseRef()
41 int32_t fRefCount; variable
/external/chromium_org/third_party/skia/src/core/
DSkBitmapHeap.cpp18 , fRefCount(0) in SkBitmapHeapEntry()
23 SkASSERT(0 == fRefCount); in ~SkBitmapHeapEntry()
27 if (0 == fRefCount) { in addReferences()
31 fRefCount = count; in addReferences()
33 sk_atomic_add(&fRefCount, count); in addReferences()
175 if (heapEntry->fRefCount > 0) { in findEntryToReplace()
203 if (heapEntry->fRefCount > 0) { in freeMemoryIfPossible()
DSkBitmapHeap.h32 sk_atomic_dec(&fRefCount); in releaseRef()
41 int32_t fRefCount; variable
/external/chromium_org/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp48 StreamFontFileLoader(SkStream* stream) : fRefCount(1), fStream(SkRef(stream)) { } in StreamFontFileLoader()
51 ULONG fRefCount; member in StreamFontFileLoader
66 return InterlockedIncrement(&fRefCount); in AddRef()
70 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
113 ULONG fRefCount; member in StreamFontFileEnumerator
123 : fRefCount(1) in StreamFontFileEnumerator()
142 return InterlockedIncrement(&fRefCount); in AddRef()
146 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
208 : fRefCount(1) in StreamFontCollectionLoader()
213 ULONG fRefCount; member in StreamFontCollectionLoader
[all …]
DSkRemotableFontMgr_win_dw.cpp289 : fRefCount(1), fOuter(SkSafeRef(outer)), fCharacter(character) { in FontFallbackRenderer()
376 return InterlockedIncrement(&fRefCount); in AddRef()
380 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
405 ULONG fRefCount; member in SkRemotableFontMgr_DirectWrite::FontFallbackRenderer
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp48 StreamFontFileLoader(SkStream* stream) : fRefCount(1), fStream(SkRef(stream)) { } in StreamFontFileLoader()
51 ULONG fRefCount; member in StreamFontFileLoader
66 return InterlockedIncrement(&fRefCount); in AddRef()
70 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
113 ULONG fRefCount; member in StreamFontFileEnumerator
123 : fRefCount(1) in StreamFontFileEnumerator()
142 return InterlockedIncrement(&fRefCount); in AddRef()
146 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
208 : fRefCount(1) in StreamFontCollectionLoader()
213 ULONG fRefCount; member in StreamFontCollectionLoader
[all …]
DSkRemotableFontMgr_win_dw.cpp289 : fRefCount(1), fOuter(SkSafeRef(outer)), fCharacter(character) { in FontFallbackRenderer()
376 return InterlockedIncrement(&fRefCount); in AddRef()
380 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
405 ULONG fRefCount; member in SkRemotableFontMgr_DirectWrite::FontFallbackRenderer
/external/chromium_org/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp17 SkDWriteGeometrySink::SkDWriteGeometrySink(SkPath* path) : fRefCount(1), fPath(path) { } in SkDWriteGeometrySink()
36 return static_cast<ULONG>(InterlockedIncrement(&fRefCount)); in AddRef()
40 ULONG res = static_cast<ULONG>(InterlockedDecrement(&fRefCount)); in Release()
DSkDWriteFontFileStream.cpp145 : fRefCount(1), fStream(SkRef(stream)) { in SkDWriteFontFileStreamWrapper()
160 return InterlockedIncrement(&fRefCount); in AddRef()
164 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
DSkDWriteGeometrySink.h20 LONG fRefCount;
DSkDWriteFontFileStream.h73 ULONG fRefCount; variable
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp17 SkDWriteGeometrySink::SkDWriteGeometrySink(SkPath* path) : fRefCount(1), fPath(path) { } in SkDWriteGeometrySink()
36 return static_cast<ULONG>(InterlockedIncrement(&fRefCount)); in AddRef()
40 ULONG res = static_cast<ULONG>(InterlockedDecrement(&fRefCount)); in Release()
DSkDWriteFontFileStream.cpp145 : fRefCount(1), fStream(SkRef(stream)) { in SkDWriteFontFileStreamWrapper()
160 return InterlockedIncrement(&fRefCount); in AddRef()
164 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
DSkDWriteGeometrySink.h20 LONG fRefCount;
DSkDWriteFontFileStream.h73 ULONG fRefCount; variable
/external/icu/icu4c/source/common/
Drbbidata.cpp122 fRefCount = 1; in init()
137 U_ASSERT(fRefCount == 0); in ~RBBIDataWrapper()
184 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
191 umtx_atomic_inc(&fRefCount); in addReference()
Drbbidata.h184 u_atomic_int32_t fRefCount;
/external/chromium_org/third_party/icu/source/common/
Drbbidata.cpp122 fRefCount = 1; in init()
137 U_ASSERT(fRefCount == 0); in ~RBBIDataWrapper()
184 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
191 umtx_atomic_inc(&fRefCount); in addReference()
Drbbidata.h184 u_atomic_int32_t fRefCount;
/external/chromium_org/third_party/skia/tests/
DBitmapHeapTest.cpp29 return entry->fRefCount; in GetRefCount()
/external/skia/tests/
DBitmapHeapTest.cpp29 return entry->fRefCount; in GetRefCount()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp544 fRefCount = 1; in SpoofData()
575 fRefCount = 1; in reset()
654 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
661 umtx_atomic_inc(&fRefCount); in addReference()
/external/chromium_org/third_party/icu/source/i18n/
Duspoof_impl.cpp544 fRefCount = 1; in SpoofData()
575 fRefCount = 1; in reset()
654 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
661 umtx_atomic_inc(&fRefCount); in addReference()
Duspoof_impl.h245 u_atomic_int32_t fRefCount; variable

12