Home
last modified time | relevance | path

Searched refs:acquired_ (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/test/cpp/qps/
Dqps_worker.cc102 : acquired_(false), server_port_(server_port), worker_(worker) {} in WorkerServiceImpl()
153 : impl_(impl), acquired_(impl->TryAcquireInstance()) {} in InstanceGuard()
155 if (acquired_) { in ~InstanceGuard()
160 bool Acquired() const { return acquired_; } in Acquired()
164 const bool acquired_; member in grpc::testing::WorkerServiceImpl::InstanceGuard
169 if (acquired_) return false; in TryAcquireInstance()
170 acquired_ = true; in TryAcquireInstance()
176 GPR_ASSERT(acquired_); in ReleaseInstance()
177 acquired_ = false; in ReleaseInstance()
266 bool acquired_; member in grpc::testing::WorkerServiceImpl
/external/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
34 acquired_++; in ThreadMain()
39 acquired_++; in ThreadMain()
45 acquired_++; in ThreadMain()
52 int acquired() const { return acquired_; } in acquired()
56 int acquired_; member in sfntly::BasicLockTestThread
/external/libchrome/base/synchronization/
Dlock_unittest.cc21 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
26 acquired_++; in ThreadMain()
31 acquired_++; in ThreadMain()
37 acquired_++; in ThreadMain()
44 int acquired() const { return acquired_; } in acquired()
48 int acquired_; member in base::BasicLockTestThread
/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc29 acquired_(0) {} in BasicLockTestThread()
31 int acquired() const { return acquired_; } in acquired()
37 acquired_++; in Run()
42 acquired_++; in Run()
49 int acquired_; member in base::internal::__anon722ac9020111::BasicLockTestThread