Searched refs:locks_ (Results 1 – 5 of 5) sorted by relevance
47 locks_.reserve(num_locks); in OpenSSLInitSingleton()49 locks_.push_back(new base::Lock()); in OpenSSLInitSingleton()65 CHECK_LT(static_cast<size_t>(n), locks_.size()); in OnLockingCallback()67 locks_[n]->Acquire(); in OnLockingCallback()69 locks_[n]->Release(); in OnLockingCallback()73 ScopedVector<base::Lock> locks_; member in crypto::__anond50839930111::OpenSSLInitSingleton
52 locks_.reserve(num_locks); in OpenSSLInitSingleton()54 locks_.push_back(new base::Lock()); in OpenSSLInitSingleton()77 CHECK_LT(static_cast<size_t>(n), locks_.size()); in OnLockingCallback()79 locks_[n]->Acquire(); in OnLockingCallback()81 locks_[n]->Release(); in OnLockingCallback()85 ScopedVector<base::Lock> locks_; member in crypto::__anon67b4387a0111::OpenSSLInitSingleton
424 } else if (!locks_.Insert(fname)) { in LockFile()430 locks_.Remove(fname); in LockFile()446 locks_.Remove(my_lock->name_); in UnlockFile()523 PosixLockTable locks_; member in leveldb::__anon2c37141d0111::PosixEnv
239 LockTable locks_; variable
938 if (!locks_.Insert(fname)) { in LockFile()952 locks_.Remove(fname); in LockFile()982 bool removed = locks_.Remove(my_lock->name_); in UnlockFile()