Home
last modified time | relevance | path

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

/external/skia/include/private/
DSkMutex.h72 explicit SkAutoTAcquire(Lock& mutex) : fMutex(&mutex) { in SkAutoTAcquire()
73 SkASSERT(fMutex != nullptr); in SkAutoTAcquire()
77 explicit SkAutoTAcquire(Lock* mutex) : fMutex(mutex) { in SkAutoTAcquire()
85 if (fMutex) { in ~SkAutoTAcquire()
86 fMutex->release(); in ~SkAutoTAcquire()
92 if (fMutex) { in release()
93 fMutex->release(); in release()
94 fMutex = nullptr; in release()
100 SkASSERT(fMutex); in assertHeld()
101 fMutex->assertHeld(); in assertHeld()
[all …]
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()
Ddng_read_image.cpp2751 dng_mutex fMutex; member in dng_read_tiles_task
2788 , fMutex ("dng_read_tiles_task") in dng_read_tiles_task()
2826 dng_lock_mutex lock (&fMutex); in Process()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp55 SkBaseMutex* fMutex; member in __anon40a8347f0111::DiscardableMemoryPool
133 : fMutex(mutex) in DiscardableMemoryPool()
149 if (fMutex != nullptr) { in dumpDownTo()
150 fMutex->assertHeld(); in dumpDownTo()
182 SkAutoMutexAcquire autoMutexAcquire(fMutex); in create()
190 SkAutoMutexAcquire autoMutexAcquire(fMutex); in free()
205 SkAutoMutexAcquire autoMutexAcquire(fMutex); in lock()
224 SkAutoMutexAcquire autoMutexAcquire(fMutex); in unlock()
233 SkAutoMutexAcquire autoMutexAcquire(fMutex); in setRAMBudget()
238 SkAutoMutexAcquire autoMutexAcquire(fMutex); in dumpPool()
/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.h379 pthread_mutex_t fMutex;
/external/skia/src/core/
DSkCachedData.cpp69 fCD->fMutex.acquire(); in AutoMutexWritable()
74 fCD->fMutex.release(); in ~AutoMutexWritable()
139 fMutex.assertHeld(); in inMutexLock()
161 fMutex.assertHeld(); in inMutexUnlock()
DSkPixelRef.cpp116 fMutex.assertHeld(); in lockPixelsInsideMutex()
142 SkAutoMutexAcquire ac(fMutex); in lockPixels()
175 SkAutoMutexAcquire ac(fMutex); in unlockPixels()
208 SkAutoMutexAcquire ac(fMutex); in requestLock()
DSkImageFilter.cpp237 SkAutoMutexAcquire mutex(fMutex); in filterImageDeprecated()
547 SkAutoMutexAcquire mutex(fMutex); in get()
561 SkAutoMutexAcquire mutex(fMutex); in get()
574 SkAutoMutexAcquire mutex(fMutex); in set()
593 SkAutoMutexAcquire mutex(fMutex); in set()
612 SkAutoMutexAcquire mutex(fMutex); in purge()
621 SkAutoMutexAcquire mutex(fMutex); in purgeByKeys()
645 mutable SkMutex fMutex; member in __anonc1c06a500311::CacheImpl
DSkCachedData.h43 SkMutex fMutex; // could use a pool of these...
/external/skia/include/core/
DSkPixelRef.h332 SkBaseMutex* mutex() const { return &fMutex; } in mutex()
340 mutable SkMutex fMutex;
DSkImageFilter.h459 mutable SkMutex fMutex; variable