Searched refs:state_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/base/ |
D | mutex.cc | 318 DCHECK_EQ(0, state_.LoadRelaxed()); in Mutex() 335 if (state_.LoadRelaxed() != 0) { in ~Mutex() 368 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveLock() 371 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveLock() 376 if (futex(state_.Address(), FUTEX_WAIT, 1, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 386 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveLock() 411 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveTryLock() 414 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveTryLock() 419 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveTryLock() 468 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveUnlock() [all …]
|
D | mutex-inl.h | 131 int32_t cur_state = state_.LoadRelaxed(); in SharedLock() 134 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1); in SharedLock() 155 int32_t cur_state = state_.LoadRelaxed(); in SharedUnlock() 161 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1); in SharedUnlock() 166 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in SharedUnlock() 208 int32_t state = state_.LoadRelaxed(); in GetExclusiveOwnerTid()
|
D | mutex.h | 272 AtomicInteger state_; 395 AtomicInteger state_; variable
|
/art/runtime/gc/space/ |
D | region_space.h | 238 state_(RegionState::kRegionStateAllocated), type_(RegionType::kRegionTypeToSpace), in Region() 244 state_(RegionState::kRegionStateFree), type_(RegionType::kRegionTypeNone), in Region() 252 return state_; in State() 261 state_ = RegionState::kRegionStateFree; in Clear() 280 bool is_free = state_ == RegionState::kRegionStateFree; in IsFree() 292 state_ = RegionState::kRegionStateAllocated; in Unfree() 299 state_ = RegionState::kRegionStateLarge; in UnfreeLarge() 306 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail() 317 return state_ == RegionState::kRegionStateAllocated; in IsAllocated() 322 bool is_large = state_ == RegionState::kRegionStateLarge; in IsLarge() [all …]
|
D | region_space.cc | 413 << " state=" << static_cast<uint>(state_) << " type=" << static_cast<uint>(type_) in Dump()
|
/art/runtime/jdwp/ |
D | jdwp_priv.h | 113 JdwpState* state_; variable
|
D | jdwp_adb.cc | 436 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_socket.cc | 522 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_main.cc | 40 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()
|