Searched refs:state_ (Results 1 – 11 of 11) sorted by relevance
/art/runtime/base/ |
D | mutex.cc | 346 DCHECK_EQ(0, state_.LoadRelaxed()); in Mutex() 363 if (state_.LoadRelaxed() != 0) { in ~Mutex() 397 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveLock() 400 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveLock() 408 if (futex(state_.Address(), FUTEX_WAIT, 1, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 418 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveLock() 443 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveTryLock() 446 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveTryLock() 451 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveTryLock() 500 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveUnlock() [all …]
|
D | mutex-inl.h | 134 int32_t cur_state = state_.LoadRelaxed(); in SharedLock() 137 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1); in SharedLock() 158 int32_t cur_state = state_.LoadRelaxed(); in SharedUnlock() 164 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1); in SharedUnlock() 169 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in SharedUnlock() 211 int32_t state = state_.LoadRelaxed(); in GetExclusiveOwnerTid()
|
D | mutex.h | 286 AtomicInteger state_; 411 AtomicInteger state_; variable
|
/art/runtime/gc/space/ |
D | region_space.h | 254 state_(RegionState::kRegionStateAllocated), type_(RegionType::kRegionTypeToSpace), in Region() 263 state_ = RegionState::kRegionStateFree; in Init() 276 return state_; in State() 285 state_ = RegionState::kRegionStateFree; in Clear() 303 bool is_free = state_ == RegionState::kRegionStateFree; in IsFree() 316 state_ = RegionState::kRegionStateAllocated; in Unfree() 325 state_ = RegionState::kRegionStateLarge; in UnfreeLarge() 334 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail() 346 return state_ == RegionState::kRegionStateAllocated; in IsAllocated() 351 bool is_large = state_ == RegionState::kRegionStateLarge; in IsLarge() [all …]
|
D | region_space-inl.h | 347 DCHECK(IsAllocated()) << static_cast<uint>(state_); in BytesAllocated()
|
D | region_space.cc | 525 << " state=" << static_cast<uint>(state_) << " type=" << static_cast<uint>(type_) in Dump()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 244 SignalHandlerTestStatus() : state_(TestStatus::kNone) { in SignalHandlerTestStatus() 248 return state_; in Get() 282 state_ = state; in Set() 286 TestStatus state_; member in SignalHandlerTestStatus 289 if (state_ != expected) { in AssertState() 290 printf("ERROR: unexpected state, was %d, expected %d\n", state_, expected); in AssertState()
|
/art/runtime/jdwp/ |
D | jdwp_priv.h | 113 JdwpState* state_; variable
|
D | jdwp_adb.cc | 484 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_socket.cc | 525 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_main.cc | 44 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()
|