Searched refs:SkAutoSpinlock (Results 1 – 7 of 7) sorted by relevance
30 SkAutoSpinlock lock{fSpinLock}; in numEntries()36 SkAutoSpinlock lock{fSpinLock}; in approxBytesUsedForHash()43 SkAutoSpinlock lock{fSpinLock}; in dropAllRefs()56 SkAutoSpinlock lock{fSpinLock}; in dropUniqueRefs()79 SkAutoSpinlock lock{fSpinLock}; in dropUniqueRefsOlderThan()123 SkAutoSpinlock lock{fSpinLock}; in has()131 SkAutoSpinlock lock{fSpinLock}; in find()140 SkAutoSpinlock lock{fSpinLock}; in findWithData()209 SkAutoSpinlock lock{fSpinLock}; in add()219 SkAutoSpinlock lock{fSpinLock}; in addWithData()[all …]
25 SkAutoSpinlock lock{fSpinLock}; in addOrReturnExisting()32 SkAutoSpinlock lock{fSpinLock}; in find()48 SkAutoSpinlock lock{fSpinLock}; in remove()70 SkAutoSpinlock lock{fSpinLock}; in freeAll()82 SkAutoSpinlock lock{fSpinLock}; in purgeStaleBlobs()109 SkAutoSpinlock lock{fSpinLock}; in usedBytes()114 SkAutoSpinlock lock{fSpinLock}; in isOverBudget()
48 class SK_SCOPED_CAPABILITY SkAutoSpinlock {50 SkAutoSpinlock(SkSpinlock& mutex) SK_ACQUIRE(mutex) : fSpinlock(mutex) { fSpinlock.acquire(); } in SkAutoSpinlock() function51 ~SkAutoSpinlock() SK_RELEASE_CAPABILITY() { fSpinlock.release(); } in SK_RELEASE_CAPABILITY()
68 SkAutoSpinlock lock(fMutex); in appendEvent()146 SkAutoSpinlock lock(fMutex); in updateTraceEventDuration()273 SkAutoSpinlock lock(fMutex); in flush()
74 SkAutoSpinlock hold(fLock); in chooseProxy()92 SkAutoSpinlock hold(fLock); in switchToStableProxy()99 SkAutoSpinlock hold(fLock); in makeVolatileProxyStable()109 SkAutoSpinlock hold(fLock); in surfaceMustCopyOnWrite()114 SkAutoSpinlock hold(fLock); in gpuMemorySize()123 SkAutoSpinlock hold(fLock); in mipmapped()133 SkAutoSpinlock hold(fLock); in backendFormat()
217 SkAutoSpinlock lock(mutex); in fail()247 SkAutoSpinlock lock(*gMutex); in done()265 SkAutoSpinlock lock(*gMutex); in done()277 SkAutoSpinlock lock(*gMutex); in start()307 SkAutoSpinlock lock(*gMutex); in crash_handler()346 SkAutoSpinlock lock(*gMutex); in crash_handler()1564 SkAutoSpinlock lock(*gMutex); in main()
59 SkAutoSpinlock lock{cache->fSpinLock}; in SetBudget()