Searched refs:fMutex (Results 1 – 17 of 17) sorted by relevance
15 explicit SkAutoMutexAcquire(SkBaseMutex& mutex) : fMutex(&mutex) { in SkAutoMutexAcquire()16 SkASSERT(fMutex != NULL); in SkAutoMutexAcquire()20 explicit SkAutoMutexAcquire(SkBaseMutex* mutex) : fMutex(mutex) { in SkAutoMutexAcquire()28 if (fMutex) { in ~SkAutoMutexAcquire()29 fMutex->release(); in ~SkAutoMutexAcquire()35 if (fMutex) { in release()36 fMutex->release(); in release()37 fMutex = NULL; in release()43 SkASSERT(fMutex); in assertHeld()44 fMutex->assertHeld(); in assertHeld()[all …]
305 SkBaseMutex* mutex() const { return fMutex; } in mutex()313 SkBaseMutex* fMutex; // must remain in scope for the life of this object
55 SkBaseMutex* fMutex; member in __anonc6ded2be0111::DiscardableMemoryPool133 : fMutex(mutex) in DiscardableMemoryPool()149 if (fMutex != NULL) { in dumpDownTo()150 fMutex->assertHeld(); in dumpDownTo()183 SkAutoMutexAcquire autoMutexAcquire(fMutex); in create()191 SkAutoMutexAcquire autoMutexAcquire(fMutex); in free()208 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()213 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()232 SkAutoMutexAcquire autoMutexAcquire(fMutex); in unlock()241 SkAutoMutexAcquire autoMutexAcquire(fMutex); in setRAMBudget()[all …]
31 SkDEBUGCODE(int rc = ) pthread_mutex_lock(&fMutex); in acquire()38 SkDEBUGCODE(int rc = ) pthread_mutex_unlock(&fMutex); in release()45 pthread_mutex_t fMutex; member58 SkASSERT(0 == pthread_mutex_init(&fMutex, &attr)); in SkMutex()62 (void)pthread_mutex_init(&fMutex, NULL); in SkMutex()67 SkDEBUGCODE(int rc = )pthread_mutex_destroy(&fMutex); in ~SkMutex()
57 UMutex *fMutex;64 : fMutex(mutex) in Mutex()66 umtx_lock(fMutex); in Mutex()71 umtx_unlock(fMutex); in ~Mutex()
206 int sysErr = pthread_mutex_lock(&mutex->fMutex); in umtx_lock()218 int sysErr = pthread_mutex_unlock(&mutex->fMutex); in umtx_unlock()229 int sysErr = pthread_cond_wait(&cond->fCondition, &mutex->fMutex); in umtx_condWait()
405 : fMutex(mutex) in XMutex()408 if (fActive) umtx_lock(fMutex); in XMutex()411 if (fActive) umtx_unlock(fMutex); in ~XMutex()415 UMutex *fMutex; member in XMutex
352 pthread_mutex_t fMutex;
47 pthread_mutex_init(&fMutex, NULL /* default mutex attr */); in SkCondVar()57 pthread_mutex_destroy(&fMutex); in ~SkCondVar()66 pthread_mutex_lock(&fMutex); in lock()74 pthread_mutex_unlock(&fMutex); in unlock()83 pthread_cond_wait(&fCond, &fMutex); in wait()
69 pthread_mutex_t fMutex;
70 fCD->fMutex.acquire(); in AutoMutexWritable()75 fCD->fMutex.release(); in ~AutoMutexWritable()140 fMutex.assertHeld(); in inMutexLock()162 fMutex.assertHeld(); in inMutexUnlock()
40 fMutex = (kYes_UseMutex == um) ? SkNEW(SkMutex) : NULL; in SkGlyphCache_Globals()51 SkDELETE(fMutex); in ~SkGlyphCache_Globals()54 SkMutex* fMutex; variable
76 fMutex = mutex; in setMutex()160 SkAutoMutexAcquire ac(*fMutex); in lockPixels()187 SkAutoMutexAcquire ac(*fMutex); in unlockPixels()
428 SkAutoMutexAcquire ac(fMutex); in setCacheSizeLimit()441 SkAutoMutexAcquire ac(fMutex); in setCacheCountLimit()450 SkAutoMutexAcquire ac(fMutex); in purgeAll()470 SkAutoMutexAcquire ac(globals.fMutex); in VisitCache()528 SkAutoMutexAcquire ac(globals.fMutex); in Dump()556 SkAutoMutexAcquire ac(fMutex); in attachCacheToHead()
38 SkMutex fMutex; // could use a pool of these...
447 SkAutoMutexAcquire mutex(fMutex); in get()460 SkAutoMutexAcquire mutex(fMutex); in set()489 mutable SkMutex fMutex; member in __anon77ed5dcf0311::CacheImpl
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...