/third_party/skia/third_party/externals/angle2/src/common/ |
D | Spinlock.h | 39 std::atomic_bool mLock; 42 inline Spinlock::Spinlock() noexcept : mLock(false) {} in Spinlock() 47 return !mLock.load(std::memory_order_relaxed) && in try_lock() 48 !mLock.exchange(true, std::memory_order_acquire); in try_lock() 53 while (mLock.exchange(true, std::memory_order_acquire)) in lock() 56 while (mLock.load(std::memory_order_relaxed)) in lock() 66 mLock.store(false, std::memory_order_release); in unlock()
|
D | SynchronizedValue.h | 29 ConstStrictLockPtr(const T &value, Lockable &mutex) : mLock(mutex), mValue(value) {} in ConstStrictLockPtr() 31 : mLock(mutex, std::adopt_lock), mValue(value) in ConstStrictLockPtr() 35 : mLock(std::move(other.mLock)), mValue(other.mValue) in ConstStrictLockPtr() 47 std::unique_lock<Lockable> mLock; 337 DerefValue(DerefValue &&other) : mLock(std::move(other.mLock)), mValue(other.mValue) {} 351 explicit DerefValue(SynchronizedValue &outer) : mLock(outer.mMutex), mValue(outer.mValue) {} 353 std::unique_lock<Lockable> mLock; 363 : mLock(std::move(other.mLock)), mValue(other.mValue) 373 : mLock(outer.mMutex), mValue(outer.mValue) 376 std::unique_lock<Lockable> mLock;
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | AudioOutputStreamOpenSLES.cpp | 246 mLock.lock(); in close() 251 mLock.unlock(); // avoid recursive lock in close() 253 mLock.lock(); in close() 258 mLock.unlock(); // avoid recursive lock in close() 283 mLock.lock(); in requestStart() 288 mLock.unlock(); in requestStart() 291 mLock.unlock(); in requestStart() 305 mLock.unlock(); in requestStart() 313 mLock.unlock(); in requestStart() 321 std::lock_guard<std::mutex> lock(mLock); in requestPause() [all …]
|
D | AudioInputStreamOpenSLES.cpp | 217 mLock.lock(); in close() 222 mLock.unlock(); // avoid recursive lock in close() 224 mLock.lock(); in close() 229 mLock.unlock(); // avoid recursive lock in close() 253 std::lock_guard<std::mutex> lock(mLock); in requestStart() 298 std::lock_guard<std::mutex> lock(mLock); in requestStop() 334 if (mLock.try_lock()) { in updateServiceFrameCounter() 337 mLock.unlock(); in updateServiceFrameCounter() 349 mLock.unlock(); in updateServiceFrameCounter()
|
D | OutputMixerOpenSLES.cpp | 31 std::lock_guard<std::mutex> lock(mLock); in open() 58 std::lock_guard<std::mutex> lock(mLock); in close()
|
D | EngineOpenSLES.cpp | 29 std::lock_guard<std::mutex> lock(mLock); in open() 64 std::lock_guard<std::mutex> lock(mLock); in close()
|
D | OutputMixerOpenSLES.h | 50 std::mutex mLock; variable
|
D | EngineOpenSLES.h | 55 std::mutex mLock; variable
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | fifo.hpp | 39 OSALIGNLINE(volatile uint32_t) mLock{0}; in OSALIGNLINE() 62 mLock = 0; in clear() 69 if (mLock) in tryLock() 75 long initial = InterlockedCompareExchange(&mLock, 1, 0); in tryLock() 79 void unlock() { mLock = 0; } in unlock()
|
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
D | HelloOboeEngine.cpp | 45 std::lock_guard<std::mutex> lock(mLock); in getCurrentOutputLatencyMillis() 75 std::lock_guard<std::mutex> lock(mLock); in setBufferSizeInBursts() 136 std::lock_guard<std::mutex> lock(mLock); in start() 160 std::lock_guard<std::mutex> lock(mLock); in reopenStream()
|
D | HelloOboeEngine.h | 91 std::mutex mLock; variable
|
/third_party/skia/third_party/externals/oboe/src/aaudio/ |
D | AudioStreamAAudio.cpp | 292 std::lock_guard<std::mutex> lock(mLock); in close() 344 std::lock_guard<std::mutex> lock(mLock); in requestStart() 365 std::lock_guard<std::mutex> lock(mLock); in requestPause() 382 std::lock_guard<std::mutex> lock(mLock); in requestFlush() 399 std::lock_guard<std::mutex> lock(mLock); in requestStop() 461 mLock.lock(); in waitForStateChange() 505 mLock.unlock(); // Don't sleep while locked. in waitForStateChange() 511 mLock.lock(); in waitForStateChange() 514 mLock.unlock(); in waitForStateChange()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | SyncMtl.mm | 33 mLock = nullptr; 46 mLock.reset(new std::mutex()); 68 std::unique_lock<std::mutex> lg(*mLock); 89 std::shared_ptr<std::mutex> lockRef = mLock;
|
D | mtl_command_buffer.mm | 430 std::lock_guard<std::mutex> lg(mLock); 460 mLock.lock(); 465 mLock.unlock(); 471 mLock.lock(); 473 mLock.unlock(); 509 std::lock_guard<std::mutex> lg(mLock); 533 std::lock_guard<std::mutex> lg(mLock); 544 std::lock_guard<std::mutex> lg(mLock); 580 std::lock_guard<std::mutex> lg(mLock); 587 std::lock_guard<std::mutex> lg(mLock); [all …]
|
D | SyncMtl.h | 60 std::shared_ptr<std::mutex> mLock; variable
|
D | mtl_command_buffer.h | 98 mutable std::mutex mLock; variable 157 mutable std::mutex mLock; variable
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | AudioStream.h | 516 std::mutex mLock; // for synchronizing start/stop/close variable
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | AudioStream.cpp | 80 std::lock_guard<std::mutex> lock(mLock); in waitForStateTransition()
|
/third_party/sqlite/src/ |
D | sqlite3.c | 202858 u32 mLock; 205547 if( pRbu->mLock!=mReq ){ 206921 if( (1<<i) & p->pRbu->mLock ){ 206925 p->pRbu->mLock = 0; 207359 pRbu->mLock |= ((1<<n) - 1) << ofst;
|