Home
last modified time | relevance | path

Searched refs:Lock (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Dlock.cc23 Lock::Lock() { in Lock() function in sfntly::Lock
29 Lock::~Lock() { in ~Lock()
33 bool Lock::Try() { in Try()
40 void Lock::Acquire() { in Acquire()
44 void Lock::Unlock() { in Unlock()
50 Lock::Lock() {
54 Lock::~Lock() {
58 bool Lock::Try() {
62 void Lock::Acquire() {
66 void Lock::Unlock() {
Dlock.h37 class Lock {
39 Lock();
40 ~Lock();
55 NO_COPY_AND_ASSIGN(Lock);
61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock()
70 Lock& lock_;
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Dlock.cc23 Lock::Lock() { in Lock() function in sfntly::Lock
29 Lock::~Lock() { in ~Lock()
33 bool Lock::Try() { in Try()
40 void Lock::Acquire() { in Acquire()
44 void Lock::Unlock() { in Unlock()
50 Lock::Lock() {
54 Lock::~Lock() {
58 bool Lock::Try() {
62 void Lock::Acquire() {
66 void Lock::Unlock() {
Dlock.h37 class Lock {
39 Lock();
40 ~Lock();
55 NO_COPY_AND_ASSIGN(Lock);
61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock()
70 Lock& lock_;
/third_party/cef/include/base/
Dcef_lock.h53 class Lock {
56 Lock() : lock_() {} in Lock() function
58 Lock(const Lock&) = delete;
59 Lock& operator=(const Lock&) = delete;
61 ~Lock() {} in ~Lock()
62 void Acquire() { lock_.Lock(); } in Acquire()
74 Lock();
75 ~Lock();
81 lock_.Lock();
124 explicit AutoLock(Lock& lock) : lock_(lock) { lock_.Acquire(); } in AutoLock()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
DContext.cpp167 Lock lock() override;
195 Context::Lock Context::Impl::lock() in lock()
197 return Lock(this); in lock()
255 Context::Lock::Lock(Impl *ctx) in Lock() function in vk::dbg::Context::Lock
265 Context::Lock::Lock(Lock &&o) in Lock() function in vk::dbg::Context::Lock
271 Context::Lock::~Lock() in ~Lock()
276 Context::Lock &Context::Lock::operator=(Lock &&o) in operator =()
283 void Context::Lock::unlock() in unlock()
296 std::shared_ptr<Thread> Context::Lock::currentThread() in currentThread()
317 std::shared_ptr<Thread> Context::Lock::get(Thread::ID id) in get()
[all …]
DContext.hpp50 class Lock class in vk::dbg::Context
53 Lock(Impl *);
54 Lock(Lock &&);
55 ~Lock();
58 Lock &operator=(Lock &&);
146 Lock(const Lock &) = delete;
147 Lock &operator=(const Lock &) = delete;
158 virtual Lock lock() = 0;
/third_party/cef/libcef_dll/base/
Dcef_lock.cc17 Lock::Lock() : lock_() {} in Lock() function in base::cef_internal::Lock
19 Lock::~Lock() { in ~Lock()
23 void Lock::AssertAcquired() const { in AssertAcquired()
27 void Lock::CheckHeldAndUnmark() { in CheckHeldAndUnmark()
32 void Lock::CheckUnheldAndMark() { in CheckUnheldAndMark()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
55 Lock* lock_;
62 Lock lock; in BasicLockTest()
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
117 Lock* lock_;
124 Lock lock; in TryLockTest()
165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread()
168 static void DoStuff(Lock* lock, int* value) { in DoStuff()
183 Lock* lock_;
190 Lock lock; in MutexTwoThreads()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
55 Lock* lock_;
62 Lock lock; in BasicLockTest()
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
117 Lock* lock_;
124 Lock lock; in TryLockTest()
165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread()
168 static void DoStuff(Lock* lock, int* value) { in DoStuff()
183 Lock* lock_;
190 Lock lock; in MutexTwoThreads()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPassRegistry.cpp42 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo()
48 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo()
58 sys::SmartScopedWriter<true> Guard(Lock); in registerPass()
74 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith()
98 sys::SmartScopedWriter<true> Guard(Lock); in registerAnalysisGroup()
119 sys::SmartScopedWriter<true> Guard(Lock); in addRegistrationListener()
124 sys::SmartScopedWriter<true> Guard(Lock); in removeRegistrationListener()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex_test.cc346 mu->Lock(); in EndTest()
372 mu2.Lock(); in RunTestCommon()
441 state.release_mu.Lock(); in TEST()
443 state.barrier_mu.Lock(); in TEST()
454 state.release_mu.Lock(); in TEST()
482 state.release_mu.Lock(); in TEST()
484 state.barrier_mu.Lock(); in TEST()
495 state.release_mu.Lock(); in TEST()
558 mu.Lock(); in Waiter1()
596 mu.Lock(); in TEST_P()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DParallel.cpp47 std::lock_guard<std::mutex> Lock(Mutex); in ThreadPoolExecutor() local
61 std::lock_guard<std::mutex> Lock(Mutex); in stop() local
86 std::lock_guard<std::mutex> Lock(Mutex); in add() local
95 std::unique_lock<std::mutex> Lock(Mutex); in work() local
96 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work()
101 Lock.unlock(); in work()
DErrorHandling.cpp67 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in install_fatal_error_handler() local
76 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in remove_fatal_error_handler() local
101 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in report_fatal_error() local
132 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in install_bad_alloc_error_handler() local
141 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in remove_bad_alloc_error_handler() local
154 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in report_bad_alloc_error() local
DPluginLoader.cpp26 sys::SmartScopedLock<true> Lock(*PluginsLock); in operator =() local
37 sys::SmartScopedLock<true> Lock(*PluginsLock); in getNumPlugins() local
42 sys::SmartScopedLock<true> Lock(*PluginsLock); in getPlugin() local
/third_party/libphonenumber/cpp/src/phonenumbers/base/synchronization/
Dlock_win32.h28 class Lock {
30 Lock() { in Lock() function
34 ~Lock() { in ~Lock()
47 DISALLOW_COPY_AND_ASSIGN(Lock);
Dlock_posix.h28 class Lock {
30 Lock() { in Lock() function
36 ~Lock() { in ~Lock()
55 DISALLOW_COPY_AND_ASSIGN(Lock);
Dlock_stdmutex.h27 class Lock {
29 Lock() = default;
40 DISALLOW_COPY_AND_ASSIGN(Lock);
Dlock_unsafe.h29 class Lock {
31 Lock() {} in Lock() function
44 DISALLOW_COPY_AND_ASSIGN(Lock);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DThreadSafeModule.h40 class LLVM_NODISCARD Lock {
42 Lock(std::shared_ptr<State> S) : S(std::move(S)), L(this->S->Mutex) {} in Lock() function
67 Lock getLock() const { in getLock()
69 return Lock(S); in getLock()
136 auto Lock = TSCtx.getLock();
145 auto Lock = TSCtx.getLock();
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceDefs.h387 LockedPtr(T *Value, GlobalLockType *Lock) : Value(Value), Lock(Lock) { in LockedPtr() argument
388 Lock->lock(); in LockedPtr()
390 LockedPtr(LockedPtr &&Other) : Value(Other.Value), Lock(Other.Lock) { in LockedPtr()
392 Other.Lock = nullptr; in LockedPtr()
395 if (Lock != nullptr) in ~LockedPtr()
396 Lock->unlock(); in ~LockedPtr()
404 GlobalLockType *Lock; variable
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dcall_once_test.cc42 counters_mu.Lock(); in WaitAndIncrement()
52 counters_mu.Lock(); in ThreadBody()
58 counters_mu.Lock(); in ThreadBody()
98 counters_mu.Lock(); in TEST()
/third_party/python/Lib/test/test_zoneinfo/
D_support.py8 OS_ENV_LOCK = threading.Lock()
9 TZPATH_LOCK = threading.Lock()
10 TZPATH_TEST_LOCK = threading.Lock()
15 lock = threading.Lock()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestUtil.java139 static class Lock { class in TestUtil
168 Lock lock;
171 TestThread(Lock lock, Runnable target) { in TestThread()
200 Lock lock = new Lock(); in runUntilDone()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestUtil.java144 static class Lock { class in TestUtil
173 Lock lock;
176 TestThread(Lock lock, Runnable target) { in TestThread()
205 Lock lock = new Lock(); in runUntilDone()

12345678910>>...15