Home
last modified time | relevance | path

Searched refs:RaiiLocker (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc46 class RaiiLocker { class
48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anond37819190111::RaiiLocker
49 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
55 class RaiiLocker<std::mutex> { class
57 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anond37819190111::RaiiLocker
58 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc46 class RaiiLocker { class
48 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anona2e9d28a0111::RaiiLocker
49 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
55 class RaiiLocker<std::mutex> { class
57 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anona2e9d28a0111::RaiiLocker
58 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
83 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc47 class RaiiLocker { class
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon22f6accb0111::RaiiLocker
50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
56 class RaiiLocker<std::mutex> { class
58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon22f6accb0111::RaiiLocker
59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex_benchmark.cc47 class RaiiLocker { class
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anond8454e8b0111::RaiiLocker
50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
56 class RaiiLocker<std::mutex> { class
58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anond8454e8b0111::RaiiLocker
59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc47 class RaiiLocker { class
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon579b7e5a0111::RaiiLocker
50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
56 class RaiiLocker<std::mutex> { class
58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon579b7e5a0111::RaiiLocker
59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
84 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc47 class RaiiLocker { class
49 explicit RaiiLocker(MutexType* mu) : mu_(mu) { mu_->Lock(); } in RaiiLocker() function in __anon017309f90111::RaiiLocker
50 ~RaiiLocker() { mu_->Unlock(); } in ~RaiiLocker()
56 class RaiiLocker<std::mutex> { class
58 explicit RaiiLocker(std::mutex* mu) : mu_(mu) { mu_->lock(); } in RaiiLocker() function in __anon017309f90111::RaiiLocker
59 ~RaiiLocker() { mu_->unlock(); } in ~RaiiLocker()
200 RaiiLocker<MutexType> locker(&shared->mu); in BM_Contended()