Home
last modified time | relevance | path

Searched refs:ReaderMutexLock (Results 1 – 25 of 30) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmutex.h119 class ReaderMutexLock {
121 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
122 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
126 ReaderMutexLock(const ReaderMutexLock&) = delete;
127 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
143 #define ReaderMutexLock(x) static_assert(false, "ReaderMutexLock declaration missing variable name") macro
/external/gflags/src/
Dmutex.h318 class ReaderMutexLock {
320 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function
321 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()
325 ReaderMutexLock(const ReaderMutexLock&);
326 void operator=(const ReaderMutexLock&);
342 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex.h553 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
555 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
559 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock() function
565 ReaderMutexLock(const ReaderMutexLock&) = delete;
566 ReaderMutexLock(ReaderMutexLock&&) = delete;
567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
720 absl::ReaderMutexLock lock(&mu, absl::Condition(cond_eq_10, &n)); in TEST()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex.h555 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
557 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
561 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock() function
567 ReaderMutexLock(const ReaderMutexLock&) = delete;
568 ReaderMutexLock(ReaderMutexLock&&) = delete;
569 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
570 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
572 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
720 absl::ReaderMutexLock lock(&mu, absl::Condition(cond_eq_10, &n)); in TEST()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex.h559 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
565 ReaderMutexLock(const ReaderMutexLock&) = delete;
566 ReaderMutexLock(ReaderMutexLock&&) = delete;
567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex.h559 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
565 ReaderMutexLock(const ReaderMutexLock&) = delete;
566 ReaderMutexLock(ReaderMutexLock&&) = delete;
567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
/external/abseil-cpp/absl/synchronization/
Dmutex.h560 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
562 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
566 ReaderMutexLock(const ReaderMutexLock&) = delete;
567 ReaderMutexLock(ReaderMutexLock&&) = delete;
568 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
569 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
571 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
Dmutex_test.cc115 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()
132 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex.h560 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {
562 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function
566 ReaderMutexLock(const ReaderMutexLock&) = delete;
567 ReaderMutexLock(ReaderMutexLock&&) = delete;
568 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;
569 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;
571 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
/external/tensorflow/tensorflow/stream_executor/
Dexecutor_cache.cc70 absl::ReaderMutexLock lock{&mutex_}; in Get()
81 absl::ReaderMutexLock lock{&entry->configurations_mutex}; in Get()
Dstream_executor_pimpl.cc99 absl::ReaderMutexLock lock{&stream_exec_->mu_}; in Trace()
222 absl::ReaderMutexLock lock(&mu_); in GetMemAllocs()
873 absl::ReaderMutexLock lock(&mu_); in SubmitTrace()
/external/protobuf/src/google/protobuf/stubs/
Dmutex.h126 typedef MutexLock ReaderMutexLock; typedef
174 using internal::ReaderMutexLock;
/external/llvm-project/clang/test/PCH/
Dthread-safety-attrs.cpp49 class __attribute__((scoped_lockable)) ReaderMutexLock { class
51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
52 ~ReaderMutexLock() __attribute__((unlock_function));
/external/clang/test/PCH/
Dthread-safety-attrs.cpp49 class __attribute__((scoped_lockable)) ReaderMutexLock { class
51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
52 ~ReaderMutexLock() __attribute__((unlock_function));
/external/tensorflow/tensorflow/compiler/jit/
Dxla_activity_listener.cc44 absl::ReaderMutexLock reader_lock(&listener_list->mutex); in ForEachListener()
/external/abseil-cpp/absl/flags/internal/
Dflag.cc247 absl::ReaderMutexLock l(DataGuard()); in Read()
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/
Dflag.cc247 absl::ReaderMutexLock l(DataGuard()); in Read()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp39 class SCOPED_LOCKABLE ReaderMutexLock { class
41 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);
42 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);
43 ~ReaderMutexLock() UNLOCK_FUNCTION();
1682 ReaderMutexLock mulock1(&mu1); in foo2()
2856 ReaderMutexLock outer(&mu); in innerUnlockShared()
3067 ReaderMutexLock lock(getMutexPtr().get()); in test()
5501 ReaderMutexLock slock(&mu, true); in test2()
5511 ReaderMutexLock slock(&mu, true); in test4()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp53 class SCOPED_LOCKABLE ReaderMutexLock { class
55 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);
56 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);
57 ~ReaderMutexLock() UNLOCK_FUNCTION();
1651 ReaderMutexLock mulock1(&mu1); in foo2()
2712 ReaderMutexLock lock(getMutexPtr().get()); in test()
5076 ReaderMutexLock slock(&mu, true); in test2()
5086 ReaderMutexLock slock(&mu, true); in test4()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc560 absl::ReaderMutexLock l(&gcs_file->block_cache_lock); in NewRandomAccessFile()
815 absl::ReaderMutexLock l(&gcs_file->block_cache_lock); in ClearFileCaches()
1132 absl::ReaderMutexLock l(&gcs_file->block_cache_lock); in FlushCaches()
/external/angle/third_party/abseil-cpp/absl/flags/internal/
Dflag.cc462 absl::ReaderMutexLock l(DataGuard()); in ReadSequenceLockedData()
/external/protobuf/src/google/protobuf/
Dmessage.cc615 ReaderMutexLock lock(&mutex_); in GetPrototype()

12