Home
last modified time | relevance | path

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

123

/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/skia/include/private/
DSkIDChangeListener.h52 void add(sk_sp<SkIDChangeListener> listener) SK_EXCLUDES(fMutex);
58 int count() const SK_EXCLUDES(fMutex);
61 void changed() SK_EXCLUDES(fMutex);
64 void reset() SK_EXCLUDES(fMutex);
67 mutable SkMutex fMutex;
68 SkTDArray<SkIDChangeListener*> fListeners SK_GUARDED_BY(fMutex); // pointers are reffed
DGrSingleOwner.h39 SkAutoMutexExclusive lock(fMutex); in enter()
48 SkAutoMutexExclusive lock(fMutex); in exit()
56 SkMutex fMutex; variable
57 SkThreadID fOwner SK_GUARDED_BY(fMutex);
58 int fReentranceCount SK_GUARDED_BY(fMutex);
DSkMutex.h43 SkAutoMutexExclusive(SkMutex& mutex) SK_ACQUIRE(mutex) : fMutex(mutex) { fMutex.acquire(); } in SkAutoMutexExclusive()
44 ~SkAutoMutexExclusive() SK_RELEASE_CAPABILITY() { fMutex.release(); } in SK_RELEASE_CAPABILITY()
53 SkMutex& fMutex;
/external/skia/bench/
DSkGlyphCacheBench.cpp129 SkAutoMutexExclusive l(fMutex); in createHandle()
136 SkAutoMutexExclusive l(fMutex); in lockHandle()
145 SkAutoMutexExclusive l(fMutex); in deleteHandle()
151 SkAutoMutexExclusive l(fMutex); in notifyCacheMiss()
156 SkAutoMutexExclusive l(fMutex); in isHandleDeleted()
162 SkAutoMutexExclusive l(fMutex); in unlockAll()
167 SkAutoMutexExclusive l(fMutex); in unlockAndDeleteAll()
173 SkAutoMutexExclusive l(fMutex); in lockedHandles()
178 SkAutoMutexExclusive l(fMutex); in handleCount()
183 SkAutoMutexExclusive l(fMutex); in cacheMissCount()
[all …]
/external/icu/libicu/cts_headers/
Dmutex.h58 Mutex(UMutex *mutex = nullptr) : fMutex(mutex) { in fMutex() function
59 umtx_lock(fMutex); in fMutex()
62 umtx_unlock(fMutex); in ~Mutex()
70 UMutex *fMutex;
Dumutex.h234 std::mutex *m = fMutex.load(std::memory_order_acquire);
238 void unlock() { fMutex.load(std::memory_order_relaxed)->unlock(); }
244 std::atomic<std::mutex *> fMutex { nullptr };
/external/icu/icu4c/source/common/
Dmutex.h58 Mutex(UMutex *mutex = nullptr) : fMutex(mutex) { in fMutex() function
59 umtx_lock(fMutex); in fMutex()
62 umtx_unlock(fMutex); in ~Mutex()
70 UMutex *fMutex;
Dumutex.cpp81 std::mutex *retPtr = fMutex.load(std::memory_order_acquire); in getMutex()
85 retPtr = fMutex.load(std::memory_order_acquire); in getMutex()
87 fMutex = new(fStorage) std::mutex(); in getMutex()
88 retPtr = fMutex; in getMutex()
102 (*m->fMutex).~mutex(); in cleanup()
103 m->fMutex = nullptr; in cleanup()
Dumutex.h234 std::mutex *m = fMutex.load(std::memory_order_acquire);
238 void unlock() { fMutex.load(std::memory_order_relaxed)->unlock(); }
244 std::atomic<std::mutex *> fMutex { nullptr };
/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp56 SkMutex fMutex; member in __anon84d28adc0111::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.cpp55 SkMutex fMutex; member in __anon05bb27650111::DiscardableMemoryPool
141 fMutex.assertHeld(); in dumpDownTo()
171 SkAutoMutexExclusive autoMutexAcquire(fMutex); in make()
179 SkAutoMutexExclusive autoMutexAcquire(fMutex); in removeFromPool()
192 SkAutoMutexExclusive autoMutexAcquire(fMutex); in lock()
211 SkAutoMutexExclusive autoMutexAcquire(fMutex); in unlock()
220 SkAutoMutexExclusive autoMutexAcquire(fMutex); in setRAMBudget()
225 SkAutoMutexExclusive autoMutexAcquire(fMutex); in dumpPool()
/external/skia/src/core/
DSkIDChangeListener.cpp43 SkAutoMutexExclusive lock(fMutex); in add()
55 SkAutoMutexExclusive lock(fMutex); in count()
60 SkAutoMutexExclusive lock(fMutex); in changed()
72 SkAutoMutexExclusive lock(fMutex); in reset()
DSkCachedData.cpp48 fCD->fMutex.acquire(); in AutoMutexWritable()
53 fCD->fMutex.release(); in ~AutoMutexWritable()
118 fMutex.assertHeld(); in inMutexLock()
140 fMutex.assertHeld(); in inMutexUnlock()
DSkImageFilterCache.cpp57 SkAutoMutexExclusive mutex(fMutex); in get()
72 SkAutoMutexExclusive mutex(fMutex); in set()
97 SkAutoMutexExclusive mutex(fMutex); in purge()
106 SkAutoMutexExclusive mutex(fMutex); in purgeByImageFilter()
149 mutable SkMutex fMutex; member in __anon4e71404a0311::CacheImpl
/external/skqp/src/core/
DSkCachedData.cpp48 fCD->fMutex.acquire(); in AutoMutexWritable()
53 fCD->fMutex.release(); in ~AutoMutexWritable()
118 fMutex.assertHeld(); in inMutexLock()
140 fMutex.assertHeld(); in inMutexUnlock()
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 __anon1237dd610311::CacheImpl
/external/skia/tests/
DSkRemoteGlyphCacheTest.cpp37 SkAutoMutexExclusive l(fMutex); in createHandle()
44 SkAutoMutexExclusive l(fMutex); in lockHandle()
53 SkAutoMutexExclusive l(fMutex); in deleteHandle()
59 SkAutoMutexExclusive l(fMutex); in notifyCacheMiss()
64 SkAutoMutexExclusive l(fMutex); in isHandleDeleted()
70 SkAutoMutexExclusive l(fMutex); in unlockAll()
75 SkAutoMutexExclusive l(fMutex); in unlockAndDeleteAll()
81 SkAutoMutexExclusive l(fMutex); in lockedHandles()
86 SkAutoMutexExclusive l(fMutex); in handleCount()
91 SkAutoMutexExclusive l(fMutex); in cacheMissCount()
[all …]

123