Home
last modified time | relevance | path

Searched refs:fMutex (Results 1 – 17 of 17) sorted by relevance

/external/skia/include/core/
DSkMutex.h15 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 …]
DSkPixelRef.h305 SkBaseMutex* mutex() const { return fMutex; } in mutex()
313 SkBaseMutex* fMutex; // must remain in scope for the life of this object
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp55 SkBaseMutex* fMutex; member in __anonc6ded2be0111::DiscardableMemoryPool
133 : 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 …]
/external/skia/include/ports/
DSkMutex_pthread.h31 SkDEBUGCODE(int rc = ) pthread_mutex_lock(&fMutex); in acquire()
38 SkDEBUGCODE(int rc = ) pthread_mutex_unlock(&fMutex); in release()
45 pthread_mutex_t fMutex; member
58 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()
/external/icu/icu4c/source/common/
Dmutex.h57 UMutex *fMutex;
64 : fMutex(mutex) in Mutex()
66 umtx_lock(fMutex); in Mutex()
71 umtx_unlock(fMutex); in ~Mutex()
Dumutex.cpp206 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()
Dserv.cpp405 : 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
Dumutex.h352 pthread_mutex_t fMutex;
/external/skia/src/utils/
DSkCondVar.cpp47 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()
DSkCondVar.h69 pthread_mutex_t fMutex;
/external/skia/src/core/
DSkCachedData.cpp70 fCD->fMutex.acquire(); in AutoMutexWritable()
75 fCD->fMutex.release(); in ~AutoMutexWritable()
140 fMutex.assertHeld(); in inMutexLock()
162 fMutex.assertHeld(); in inMutexUnlock()
DSkGlyphCache_Globals.h40 fMutex = (kYes_UseMutex == um) ? SkNEW(SkMutex) : NULL; in SkGlyphCache_Globals()
51 SkDELETE(fMutex); in ~SkGlyphCache_Globals()
54 SkMutex* fMutex; variable
DSkPixelRef.cpp76 fMutex = mutex; in setMutex()
160 SkAutoMutexAcquire ac(*fMutex); in lockPixels()
187 SkAutoMutexAcquire ac(*fMutex); in unlockPixels()
DSkGlyphCache.cpp428 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()
DSkCachedData.h38 SkMutex fMutex; // could use a pool of these...
DSkImageFilter.cpp447 SkAutoMutexAcquire mutex(fMutex); in get()
460 SkAutoMutexAcquire mutex(fMutex); in set()
489 mutable SkMutex fMutex; member in __anon77ed5dcf0311::CacheImpl
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...