Home
last modified time | relevance | path

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

12

/external/skia/include/private/
DSkMutex.h51 SkAutoMutexAcquire(T* mutex) : fMutex(mutex) { in SkAutoMutexAcquire()
64 if (fMutex) { in release()
65 fRelease(fMutex); in release()
67 fMutex = nullptr; in release()
71 void* fMutex;
81 SkAutoExclusive(T& mutex) : fMutex(&mutex) { in SkAutoExclusive()
86 ~SkAutoExclusive() { fRelease(fMutex); } in ~SkAutoExclusive()
89 void* fMutex;
DGrSingleOwner.h31 SkAutoMutexAcquire lock(fMutex); in enter()
39 SkAutoMutexAcquire lock(fMutex); in exit()
47 SkMutex fMutex; variable
/external/skqp/include/private/
DSkMutex.h51 SkAutoMutexAcquire(T* mutex) : fMutex(mutex) { in SkAutoMutexAcquire()
64 if (fMutex) { in release()
65 fRelease(fMutex); in release()
67 fMutex = nullptr; in release()
71 void* fMutex;
81 SkAutoExclusive(T& mutex) : fMutex(&mutex) { in SkAutoExclusive()
86 ~SkAutoExclusive() { fRelease(fMutex); } in ~SkAutoExclusive()
89 void* fMutex;
DGrSingleOwner.h31 SkAutoMutexAcquire lock(fMutex); in enter()
39 SkAutoMutexAcquire lock(fMutex); in exit()
47 SkMutex fMutex; variable
/external/dng_sdk/source/
Ddng_mutex.cpp233 : fMutex (mutex) in dng_lock_mutex()
237 if (fMutex) in dng_lock_mutex()
238 fMutex->Lock (); in dng_lock_mutex()
247 if (fMutex) in ~dng_lock_mutex()
248 fMutex->Unlock (); in ~dng_lock_mutex()
256 : fMutex (mutex) in dng_unlock_mutex()
260 if (fMutex) in dng_unlock_mutex()
261 fMutex->Unlock (); in dng_unlock_mutex()
270 if (fMutex) in ~dng_unlock_mutex()
271 fMutex->Lock (); in ~dng_unlock_mutex()
Ddng_abort_sniffer.cpp31 dng_mutex fMutex; member in dng_priority_manager
76 : fMutex ("dng_priority_manager::fMutex") in dng_priority_manager()
97 dng_lock_mutex lock (&fMutex); in Increment()
108 dng_lock_mutex lock (&fMutex); in Decrement()
133 dng_lock_mutex lock (&fMutex); in Wait()
138 fCondition.Wait (fMutex); in Wait()
Ddng_ref_counted_block.cpp93 dng_lock_mutex lock (&blockHeader->fMutex); in Clear()
122 dng_lock_mutex lock (&blockHeader->fMutex); in dng_ref_counted_block()
141 dng_lock_mutex lock (&blockHeader->fMutex); in operator =()
165 dng_lock_mutex lock (&possiblySharedHeader->fMutex); in EnsureWriteable()
Ddng_jpeg_image.cpp62 dng_mutex fMutex; member in dng_jpeg_image_encode_task
81 , fMutex ("dng_jpeg_image_encode_task") in dng_jpeg_image_encode_task()
116 dng_lock_mutex lock (&fMutex); in Process()
253 dng_mutex fMutex; member in dng_jpeg_image_find_digest_task
266 , fMutex ("dng_jpeg_image_find_digest_task") in dng_jpeg_image_find_digest_task()
289 dng_lock_mutex lock (&fMutex); in Process()
Ddng_mutex.h91 dng_mutex *fMutex;
116 dng_mutex *fMutex;
Ddng_ref_counted_block.h42 dng_mutex fMutex; member
49 : fMutex ("dng_ref_counted_block") in header()
/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp56 SkMutex fMutex; member in __anon40f019be0111::DiscardableMemoryPool
142 fMutex.assertHeld(); in dumpDownTo()
172 SkAutoMutexAcquire autoMutexAcquire(fMutex); in make()
180 SkAutoMutexAcquire autoMutexAcquire(fMutex); in removeFromPool()
193 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()
212 SkAutoMutexAcquire autoMutexAcquire(fMutex); in unlock()
221 SkAutoMutexAcquire autoMutexAcquire(fMutex); in setRAMBudget()
226 SkAutoMutexAcquire autoMutexAcquire(fMutex); in dumpPool()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp56 SkMutex fMutex; member in __anonc1d8b6470111::DiscardableMemoryPool
142 fMutex.assertHeld(); in dumpDownTo()
172 SkAutoMutexAcquire autoMutexAcquire(fMutex); in make()
180 SkAutoMutexAcquire autoMutexAcquire(fMutex); in removeFromPool()
193 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()
212 SkAutoMutexAcquire autoMutexAcquire(fMutex); in unlock()
221 SkAutoMutexAcquire autoMutexAcquire(fMutex); in setRAMBudget()
226 SkAutoMutexAcquire autoMutexAcquire(fMutex); in dumpPool()
/external/icu/icu4c/source/common/
Dmutex.h59 UMutex *fMutex;
66 : fMutex(mutex) in Mutex()
68 umtx_lock(fMutex); in Mutex()
73 umtx_unlock(fMutex); in ~Mutex()
Dumutex.cpp197 int sysErr = pthread_mutex_lock(&mutex->fMutex); in umtx_lock()
209 int sysErr = pthread_mutex_unlock(&mutex->fMutex); in umtx_unlock()
220 int sysErr = pthread_cond_wait(&cond->fCondition, &mutex->fMutex); in umtx_condWait()
/external/skia/src/core/
DSkImageFilterCache.cpp61 SkAutoMutexAcquire mutex(fMutex); in get()
74 SkAutoMutexAcquire mutex(fMutex); in set()
99 SkAutoMutexAcquire mutex(fMutex); in purge()
108 SkAutoMutexAcquire mutex(fMutex); in purgeByImageFilter()
152 mutable SkMutex fMutex; member in __anonc5df79ec0311::CacheImpl
DSkCachedData.cpp48 fCD->fMutex.acquire(); in AutoMutexWritable()
53 fCD->fMutex.release(); in ~AutoMutexWritable()
118 fMutex.assertHeld(); in inMutexLock()
140 fMutex.assertHeld(); in inMutexUnlock()
DSkBitmapCache.cpp94 SkAutoMutexAcquire ama(fMutex); in canBePurged()
108 SkAutoMutexAcquire ama(rec->fMutex); in ReleaseProc()
124 SkAutoMutexAcquire ama(fMutex); in install()
158 SkMutex fMutex; member in SkBitmapCache::Rec
/external/skqp/src/core/
DSkImageFilterCache.cpp61 SkAutoMutexAcquire mutex(fMutex); in get()
74 SkAutoMutexAcquire mutex(fMutex); in set()
99 SkAutoMutexAcquire mutex(fMutex); in purge()
108 SkAutoMutexAcquire mutex(fMutex); in purgeByImageFilter()
152 mutable SkMutex fMutex; member in __anon89a617030311::CacheImpl
DSkCachedData.cpp48 fCD->fMutex.acquire(); in AutoMutexWritable()
53 fCD->fMutex.release(); in ~AutoMutexWritable()
118 fMutex.assertHeld(); in inMutexLock()
140 fMutex.assertHeld(); in inMutexUnlock()
DSkBitmapCache.cpp94 SkAutoMutexAcquire ama(fMutex); in canBePurged()
108 SkAutoMutexAcquire ama(rec->fMutex); in ReleaseProc()
124 SkAutoMutexAcquire ama(fMutex); in install()
158 SkMutex fMutex; member in SkBitmapCache::Rec
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DGalliumContext.cpp58 (void) mtx_init(&fMutex, mtx_plain); in GalliumContext()
72 mtx_destroy(&fMutex); in ~GalliumContext()
409 mtx_lock(&fMutex); in Lock()
417 mtx_unlock(&fMutex); in Unlock()
/external/skia/tools/trace/
DSkChromeTracingTracer.cpp74 SkAutoMutexAcquire lock(fMutex); in appendEvent()
152 SkAutoMutexAcquire lock(fMutex); in updateTraceEventDuration()
290 SkAutoMutexAcquire lock(fMutex); in flush()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp74 SkAutoMutexAcquire lock(fMutex); in appendEvent()
152 SkAutoMutexAcquire lock(fMutex); in updateTraceEventDuration()
290 SkAutoMutexAcquire lock(fMutex); in flush()
/external/skia/src/image/
DSkImage_Lazy.cpp51 SkMutex fMutex; member in SharedGenerator
106 , fAutoAquire(gen->fMutex) {} in ScopedGenerator()
109 fSharedGenerator->fMutex.assertHeld(); in operator ->()
114 fSharedGenerator->fMutex.assertHeld(); in operator SkImageGenerator*()
/external/skqp/src/image/
DSkImage_Lazy.cpp50 SkMutex fMutex; member in SharedGenerator
105 , fAutoAquire(gen->fMutex) {} in ScopedGenerator()
108 fSharedGenerator->fMutex.assertHeld(); in operator ->()
113 fSharedGenerator->fMutex.assertHeld(); in operator SkImageGenerator*()

12