Home
last modified time | relevance | path

Searched refs:MutexImpl (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMutex.cpp26 MutexImpl::MutexImpl( bool recursive) { } in MutexImpl() function in llvm::MutexImpl
27 MutexImpl::~MutexImpl() { } in ~MutexImpl()
28 bool MutexImpl::acquire() { return true; } in acquire()
29 bool MutexImpl::release() { return true; } in release()
30 bool MutexImpl::tryacquire() { return true; } in tryacquire()
44 MutexImpl::MutexImpl( bool recursive) in MutexImpl() function in llvm::MutexImpl
75 MutexImpl::~MutexImpl() in ~MutexImpl()
84 MutexImpl::acquire() in acquire()
94 MutexImpl::release() in release()
104 MutexImpl::tryacquire() in tryacquire()
/external/llvm/lib/Support/
DMutex.cpp26 MutexImpl::MutexImpl( bool recursive) { } in MutexImpl() function in llvm::MutexImpl
27 MutexImpl::~MutexImpl() { } in ~MutexImpl()
28 bool MutexImpl::acquire() { return true; } in acquire()
29 bool MutexImpl::release() { return true; } in release()
30 bool MutexImpl::tryacquire() { return true; } in tryacquire()
44 MutexImpl::MutexImpl( bool recursive) in MutexImpl() function in llvm::MutexImpl
75 MutexImpl::~MutexImpl() in ~MutexImpl()
84 MutexImpl::acquire() in acquire()
94 MutexImpl::release() in release()
104 MutexImpl::tryacquire() in tryacquire()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DMutex.kt109 MutexImpl(locked) in Mutex()
134 internal open class MutexImpl(locked: Boolean) : SemaphoreImpl(1, if (locked) 1 else 0), Mutex { class
230 regFunc = MutexImpl::onLockRegFunction as RegistrationFunction,
231 processResFunc = MutexImpl::onLockProcessResult as ProcessResultFunction,
257 assert { this@MutexImpl.owner.value === NO_OWNER } in <lambda>()
259 assert { this@MutexImpl.owner.value.let { it === NO_OWNER ||it === owner } } in <lambda>()
260 this@MutexImpl.owner.value = owner in <lambda>()
264 assert { this@MutexImpl.owner.value === NO_OWNER } in <lambda>()
265 this@MutexImpl.owner.value = owner in <lambda>()
271 assert { this@MutexImpl.owner.value === NO_OWNER } in <lambda>()
[all …]
/external/webrtc/rtc_base/synchronization/
Dmutex_critical_section.h31 class RTC_LOCKABLE MutexImpl final {
33 MutexImpl() { InitializeCriticalSection(&critical_section_); } in MutexImpl() function
34 MutexImpl(const MutexImpl&) = delete;
35 MutexImpl& operator=(const MutexImpl&) = delete;
36 ~MutexImpl() { DeleteCriticalSection(&critical_section_); } in ~MutexImpl()
Dmutex_pthread.h27 class RTC_LOCKABLE MutexImpl final {
29 MutexImpl() { in MutexImpl() function
39 MutexImpl(const MutexImpl&) = delete;
40 MutexImpl& operator=(const MutexImpl&) = delete;
41 ~MutexImpl() { pthread_mutex_destroy(&mutex_); } in ~MutexImpl()
Dmutex_abseil.h20 class RTC_LOCKABLE MutexImpl final {
22 MutexImpl() = default;
23 MutexImpl(const MutexImpl&) = delete;
24 MutexImpl& operator=(const MutexImpl&) = delete;
Dmutex.h56 MutexImpl impl_;
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMutex.h26 class MutexImpl
37 explicit MutexImpl(bool recursive = true);
41 ~MutexImpl();
81 MutexImpl(const MutexImpl &) = delete;
82 void operator=(const MutexImpl &) = delete;
92 MutexImpl impl;
/external/llvm/include/llvm/Support/
DMutex.h26 class MutexImpl
37 explicit MutexImpl(bool recursive = true);
41 ~MutexImpl();
81 MutexImpl(const MutexImpl &) = delete;
82 void operator=(const MutexImpl &) = delete;
92 MutexImpl impl;
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DMutex.inc25 MutexImpl::MutexImpl(bool /*recursive*/)
31 MutexImpl::~MutexImpl()
39 MutexImpl::acquire()
46 MutexImpl::release()
53 MutexImpl::tryacquire()
/external/llvm/lib/Support/Windows/
DMutex.inc25 MutexImpl::MutexImpl(bool /*recursive*/)
31 MutexImpl::~MutexImpl()
39 MutexImpl::acquire()
46 MutexImpl::release()
53 MutexImpl::tryacquire()
/external/llvm/lib/Support/Unix/
DMutex.inc23 MutexImpl::MutexImpl( bool recursive)
27 MutexImpl::~MutexImpl()
32 MutexImpl::release()
38 MutexImpl::tryacquire( void )
DRWMutex.inc29 RWMutexImpl::RWMutexImpl() : data_(new MutexImpl(false)) { }
32 delete static_cast<MutexImpl *>(data_);
36 return static_cast<MutexImpl *>(data_)->acquire();
40 return static_cast<MutexImpl *>(data_)->release();
44 return static_cast<MutexImpl *>(data_)->acquire();
48 return static_cast<MutexImpl *>(data_)->release();
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMutex.inc23 MutexImpl::MutexImpl( bool recursive)
27 MutexImpl::~MutexImpl()
32 MutexImpl::release()
38 MutexImpl::tryacquire( void )
DRWMutex.inc29 RWMutexImpl::RWMutexImpl() : data_(new MutexImpl(false)) { }
32 delete static_cast<MutexImpl *>(data_);
36 return static_cast<MutexImpl *>(data_)->acquire();
40 return static_cast<MutexImpl *>(data_)->release();
44 return static_cast<MutexImpl *>(data_)->acquire();
48 return static_cast<MutexImpl *>(data_)->release();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRWMutex.cpp112 RWMutexImpl::RWMutexImpl() : data_(new MutexImpl(false)) { } in RWMutexImpl()
115 delete static_cast<MutexImpl *>(data_); in ~RWMutexImpl()
119 return static_cast<MutexImpl *>(data_)->acquire(); in lock_shared()
123 return static_cast<MutexImpl *>(data_)->release(); in unlock_shared()
127 return static_cast<MutexImpl *>(data_)->acquire(); in lock()
131 return static_cast<MutexImpl *>(data_)->release(); in unlock()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc5 // base::internal::MutexImpl - implementation helper for Mutex
44 class MutexImpl;
60 void Wait(MutexImpl* mutex);
61 bool WaitWithDeadline(MutexImpl* mutex, absl::Time deadline);
76 class MutexImpl {
78 MutexImpl();
79 MutexImpl(const MutexImpl&) = delete;
80 MutexImpl& operator=(const MutexImpl&) = delete;
81 ~MutexImpl();
/external/libcxxabi/test/
Dguard_test_basic.pass.cpp142 using MutexImpl = in main() typedef
145 Tests<uint32_t, MutexImpl>::test(); in main()
146 Tests<uint64_t, MutexImpl>::test(); in main()
Dguard_threaded_test.pass.cpp360 using MutexImpl = SelectImplementation<Implementation::GlobalLock>::type; in test_all_impls() typedef
368 MutexImpl in test_all_impls()
374 test_impl<MutexImpl>(); in test_all_impls()
/external/cronet/buildtools/third_party/libc++abi/trunk/test/
Dguard_test_basic.pass.cpp153 …using MutexImpl = GlobalMutexGuard<NopMutex, NopCondVar, global_nop_mutex, global_nop_cond, MockGe… in main() typedef
154 Tests<uint32_t, MutexImpl>::test(); in main()
155 Tests<uint64_t, MutexImpl>::test(); in main()
Dguard_threaded_test.pass.cpp329 using MutexImpl = SelectImplementation<Implementation::GlobalMutex>::type; in test_all_impls() typedef
337 MutexImpl in test_all_impls()
340 test_impl<MutexImpl>(); in test_all_impls()
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/selects/
DSelectMutexStressTest.kt15 val mutex = Mutex(true) as MutexImpl // locked in <lambda>()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex.h467 synchronization_internal::MutexImpl *impl() { return impl_.get(); } in impl()
470 synchronization_internal::MutexImpl>
/external/clang/lib/Frontend/
DASTUnit.cpp2843 Mutex = new llvm::sys::MutexImpl(/*recursive=*/true); in ConcurrencyState()
2847 delete static_cast<llvm::sys::MutexImpl *>(Mutex); in ~ConcurrencyState()
2851 bool acquired = static_cast<llvm::sys::MutexImpl *>(Mutex)->tryacquire(); in start()
2856 static_cast<llvm::sys::MutexImpl *>(Mutex)->release(); in finish()