Home
last modified time | relevance | path

Searched refs:fCurrentShared (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkSharedMutex.cpp119 : fCurrentShared(new ThreadIDSet) in SkSharedMutex()
134 SkASSERTF(!fCurrentShared->find(threadID), in acquire()
141 currentSharedCount = fCurrentShared->count(); in acquire()
163 SkASSERT(0 == fCurrentShared->count()); in release()
169 fWaitingShared.swap(fCurrentShared); in release()
186 SkASSERT(0 == fCurrentShared->count()); in assertHeld()
202 if (!fCurrentShared->tryAdd(threadID)) { in acquireShared()
224 if (!fCurrentShared->tryRemove(threadID)) { in releaseShared()
227 currentSharedCount = fCurrentShared->count(); in releaseShared()
239 SkASSERT(fCurrentShared->find(threadID)); in assertHeldShared()
DSkSharedMutex.h54 std::unique_ptr<ThreadIDSet> fCurrentShared; variable
/external/skia/src/core/
DSkSharedMutex.cpp119 : fCurrentShared(new ThreadIDSet) in SkSharedMutex()
134 SkASSERTF(!fCurrentShared->find(threadID), in acquire()
141 currentSharedCount = fCurrentShared->count(); in acquire()
163 SkASSERT(0 == fCurrentShared->count()); in release()
169 fWaitingShared.swap(fCurrentShared); in release()
186 SkASSERT(0 == fCurrentShared->count()); in assertHeld()
202 if (!fCurrentShared->tryAdd(threadID)) { in acquireShared()
224 if (!fCurrentShared->tryRemove(threadID)) { in releaseShared()
227 currentSharedCount = fCurrentShared->count(); in releaseShared()
239 SkASSERT(fCurrentShared->find(threadID)); in assertHeldShared()
DSkSharedMutex.h54 std::unique_ptr<ThreadIDSet> fCurrentShared; variable