Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 11 of 11) sorted by relevance

/art/runtime/base/
Dmutex.cc346 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 …]
Dmutex-inl.h134 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()
Dmutex.h286 AtomicInteger state_;
411 AtomicInteger state_; variable
/art/runtime/gc/space/
Dregion_space.h254 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 …]
Dregion_space-inl.h347 DCHECK(IsAllocated()) << static_cast<uint>(state_); in BytesAllocated()
Dregion_space.cc525 << " state=" << static_cast<uint>(state_) << " type=" << static_cast<uint>(type_) in Dump()
/art/test/115-native-bridge/
Dnativebridge.cc244 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/
Djdwp_priv.h113 JdwpState* state_; variable
Djdwp_adb.cc484 return state_->HandlePacket(); in ProcessIncoming()
Djdwp_socket.cc525 return state_->HandlePacket(); in ProcessIncoming()
Djdwp_main.cc44 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()