Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontMgr_win_dw.cpp54 StreamFontFileLoader(SkStreamAsset* stream) : fRefCount(1), fStream(stream) { } in StreamFontFileLoader()
57 ULONG fRefCount; member in StreamFontFileLoader
72 return InterlockedIncrement(&fRefCount); in AddRef()
76 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
119 ULONG fRefCount; member in StreamFontFileEnumerator
129 : fRefCount(1) in StreamFontFileEnumerator()
148 return InterlockedIncrement(&fRefCount); in AddRef()
152 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
214 : fRefCount(1) in StreamFontCollectionLoader()
219 ULONG fRefCount; member in StreamFontCollectionLoader
[all …]
DSkRemotableFontMgr_win_dw.cpp268 : fRefCount(1), fOuter(SkSafeRef(outer)), fCharacter(character) { in FontFallbackRenderer()
355 return InterlockedIncrement(&fRefCount); in AddRef()
359 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
384 ULONG fRefCount; member in SkRemotableFontMgr_DirectWrite::FontFallbackRenderer
/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()
162 if (heapEntry->fRefCount > 0) { in findEntryToReplace()
190 if (heapEntry->fRefCount > 0) { in freeMemoryIfPossible()
DSkBitmapHeap.h31 sk_atomic_dec(&fRefCount); in releaseRef()
40 int32_t 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.cpp147 : fRefCount(1), fStream(stream) { in SkDWriteFontFileStreamWrapper()
162 return InterlockedIncrement(&fRefCount); in AddRef()
166 ULONG newCount = InterlockedDecrement(&fRefCount); in Release()
DSkDWriteGeometrySink.h20 LONG fRefCount;
DSkDWriteFontFileStream.h75 ULONG fRefCount; variable
/external/icu/icu4c/source/common/
Drbbidata.cpp100 fRefCount = 0; in init0()
150 fRefCount = 1; in init()
165 U_ASSERT(fRefCount == 0); in ~RBBIDataWrapper()
212 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
219 umtx_atomic_inc(&fRefCount); in addReference()
Drbbidata.h185 u_atomic_int32_t fRefCount;
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp570 fRefCount = 1; in SpoofData()
601 fRefCount = 1; in reset()
680 if (umtx_atomic_dec(&fRefCount) == 0) { in removeReference()
687 umtx_atomic_inc(&fRefCount); in addReference()
Duspoof_impl.h245 u_atomic_int32_t fRefCount; variable
/external/skia/tests/
DBitmapHeapTest.cpp41 return entry->fRefCount; in GetRefCount()