Home
last modified time | relevance | path

Searched refs:fLockCount (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkPixelRef.cpp63 fLockCount = 0; in SkPixelRef()
73 fLockCount = 0; in SkPixelRef()
84 fLockCount = SKPIXELREF_PRELOCKED_LOCKCOUNT; in setPreLocked()
93 SkASSERT(!fPreLocked || SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount); in lockPixels()
98 if (1 == ++fLockCount) { in lockPixels()
105 SkASSERT(!fPreLocked || SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount); in unlockPixels()
110 SkASSERT(fLockCount > 0); in unlockPixels()
111 if (0 == --fLockCount) { in unlockPixels()
/external/skia/src/gpu/
DGrResourceCache.h141 bool isLocked() const { return fLockCount != 0; } in isLocked()
142 void lock() { ++fLockCount; } in lock()
144 GrAssert(fLockCount > 0); in unlock()
145 --fLockCount; in unlock()
153 int fLockCount; variable
DGrResourceCache.cpp16 fLockCount = 0; in GrResourceEntry()
29 GrAssert(fLockCount >= 0); in validate()
/external/icu4c/test/cintltst/
Dhpmufn.c216 int fLockCount; member
226 theMutex->fLockCount = 0; in myMutexInit()
239 TEST_ASSERT(This->fLockCount == 0); in myMutexDestroy()
242 This->fLockCount = 0; in myMutexDestroy()
250 This->fLockCount++; in myMutexLock()
258 This->fLockCount--; in myMutexUnlock()
259 TEST_ASSERT(This->fLockCount >= 0); in myMutexUnlock()
/external/skia/include/core/
DSkPixelRef.h69 bool isLocked() const { return fLockCount > 0; } in isLocked()
229 int fLockCount; variable