Home
last modified time | relevance | path

Searched refs:fLocked (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp90 bool fLocked; member in __anon84d28adc0111::PoolDiscardableMemory
98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
105 SkASSERT(!fLocked); // contract for SkDiscardableMemory in ~PoolDiscardableMemory()
110 SkASSERT(!fLocked); // contract for SkDiscardableMemory in lock()
115 SkASSERT(fLocked); // contract for SkDiscardableMemory in data()
120 SkASSERT(fLocked); // contract for SkDiscardableMemory in unlock()
150 if (!cur->fLocked) { in dumpDownTo()
201 dm->fLocked = true; in lock()
213 dm->fLocked = false; in unlock()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp89 bool fLocked; member in __anon05bb27650111::PoolDiscardableMemory
97 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
104 SkASSERT(!fLocked); // contract for SkDiscardableMemory in ~PoolDiscardableMemory()
109 SkASSERT(!fLocked); // contract for SkDiscardableMemory in lock()
114 SkASSERT(fLocked); // contract for SkDiscardableMemory in data()
119 SkASSERT(fLocked); // contract for SkDiscardableMemory in unlock()
149 if (!cur->fLocked) { in dumpDownTo()
200 dm->fLocked = true; in lock()
212 dm->fLocked = false; in unlock()
/external/skqp/include/private/
DSkSpinlock.h20 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
29 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
38 fLocked.store(false, std::memory_order_release); in release()
44 std::atomic<bool> fLocked{false};
/external/skia/include/private/
DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
39 fLocked.store(false, std::memory_order_release); in release()
45 std::atomic<bool> fLocked{false};
/external/skqp/src/core/
DSkSpinlock.cpp12 while (fLocked.exchange(true, std::memory_order_acquire)) { in contendedAcquire()
/external/skia/src/core/
DSkSpinlock.cpp46 while (fLocked.exchange(true, std::memory_order_acquire)) { in contendedAcquire()
/external/skqp/src/gpu/
DGrResourceCache.cpp733 int fLocked; in validate() member
750 ++fLocked; in validate()
/external/skia/src/gpu/
DGrResourceCache.cpp902 int fLocked; in validate() member
919 ++fLocked; in validate()