Searched refs:MutexLockMaybe (Results 1 – 4 of 4) sorted by relevance
130 class PROTOBUF_EXPORT MutexLockMaybe {132 explicit MutexLockMaybe(Mutex *mu) : in MutexLockMaybe() function134 ~MutexLockMaybe() { if (this->mu_ != nullptr) { this->mu_->Unlock(); } } in ~MutexLockMaybe()137 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLockMaybe);176 using internal::MutexLockMaybe;
874 class ABSL_SCOPED_LOCKABLE MutexLockMaybe {876 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe() function883 explicit MutexLockMaybe(Mutex *mu, const Condition &cond) in MutexLockMaybe() function891 ~MutexLockMaybe() ABSL_UNLOCK_FUNCTION() { in ABSL_UNLOCK_FUNCTION()897 MutexLockMaybe(const MutexLockMaybe&) = delete;898 MutexLockMaybe(MutexLockMaybe&&) = delete;899 MutexLockMaybe& operator=(const MutexLockMaybe&) = delete;900 MutexLockMaybe& operator=(MutexLockMaybe&&) = delete;
865 class ABSL_SCOPED_LOCKABLE MutexLockMaybe {867 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe() function873 ~MutexLockMaybe() ABSL_UNLOCK_FUNCTION() { in ABSL_UNLOCK_FUNCTION()879 MutexLockMaybe(const MutexLockMaybe&) = delete;880 MutexLockMaybe(MutexLockMaybe&&) = delete;881 MutexLockMaybe& operator=(const MutexLockMaybe&) = delete;882 MutexLockMaybe& operator=(MutexLockMaybe&&) = delete;
924 MutexLockMaybe lock(pool->mutex_); in FindByNameHelper()1306 MutexLockMaybe lock(mutex_); in InternalIsFileLoaded()1383 MutexLockMaybe lock(mutex_); in FindFileByName()1403 MutexLockMaybe lock(mutex_); in FindFileContainingSymbol()1492 MutexLockMaybe lock(mutex_); in FindExtensionByNumber()1561 MutexLockMaybe lock(mutex_); in FindAllExtensions()3706 MutexLockMaybe lock((pool == pool_) ? nullptr : pool->mutex_); in FindSymbolNotEnforcingDepsHelper()3892 MutexLockMaybe lock(mutex_); in NewPlaceholder()3996 MutexLockMaybe lock(mutex_); in NewPlaceholderFile()