Searched refs:state_ (Results 1 – 13 of 13) sorted by relevance
/art/runtime/base/ |
D | mutex-inl.h | 180 int32_t cur_state = state_.load(std::memory_order_relaxed); in SharedLock() 183 done = state_.CompareAndSetWeakAcquire(cur_state, cur_state + 1); in SharedLock() 204 int32_t cur_state = state_.load(std::memory_order_relaxed); in SharedUnlock() 210 done = state_.CompareAndSetWeakSequentiallyConsistent(cur_state, cur_state - 1); in SharedUnlock() 215 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in SharedUnlock() 271 int32_t state = state_.load(std::memory_order_relaxed); in GetExclusiveOwnerTid()
|
D | mutex.cc | 545 , state_(0), num_pending_readers_(0), num_pending_writers_(0) in ReaderWriterMutex() 556 CHECK_EQ(state_.load(std::memory_order_relaxed), 0); in ~ReaderWriterMutex() 578 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveLock() 581 done = state_.CompareAndSetWeakAcquire(0 /* cur_state*/, -1 /* new state */); in ExclusiveLock() 589 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 599 DCHECK_EQ(state_.load(std::memory_order_relaxed), -1); in ExclusiveLock() 617 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveUnlock() 625 done = state_.CompareAndSetWeakSequentiallyConsistent(-1 /* cur_state*/, 0 /* new state */); in ExclusiveUnlock() 630 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in ExclusiveUnlock() 651 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveLockWithTimeout() [all …]
|
D | mutex.h | 363 AtomicInteger state_; variable
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 81 state_(TransportState::kClosed), in FdForwardTransport() 87 if (old_state == state_) { in ChangeState() 88 state_ = new_state; in ChangeState() 142 state_ == TransportState::kOpen) { in StopListening() 206 if (state_ != TransportState::kOpen || seq_num != current_seq_num_) { in ReadFully() 280 if (state_ != TransportState::kOpen) { in WriteFully() 366 if (state_ == TransportState::kClosed || in Accept() 367 state_ == TransportState::kOpen) { in Accept() 642 return state_ == TransportState::kOpen; in IsOpen()
|
D | dt_fd_forward.h | 142 TransportState state_; // GUARDED_BY(state_mutex_); variable
|
/art/runtime/gc/space/ |
D | region_space.h | 388 state_(RegionState::kRegionStateAllocated), in Region() 396 state_ = RegionState::kRegionStateFree; in Init() 409 return state_; in State() 424 bool is_free = (state_ == RegionState::kRegionStateFree); in IsFree() 454 return state_ == RegionState::kRegionStateAllocated; in IsAllocated() 459 bool is_large = (state_ == RegionState::kRegionStateLarge); in IsLarge() 472 bool is_large_tail = (state_ == RegionState::kRegionStateLargeTail); in IsLargeTail() 619 RegionState state_; // The region state (see RegionState). variable
|
D | region_space.cc | 193 DCHECK(IsLarge() || IsLargeTail()) << static_cast<uint>(state_); in SetAsUnevacFromSpace() 908 << " state=" << state_ in Dump() 967 state_ = RegionState::kRegionStateFree; in Clear() 1029 state_ = RegionState::kRegionStateAllocated; in Unfree() 1034 state_ = RegionState::kRegionStateLarge; in UnfreeLarge() 1039 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()
|
D | region_space-inl.h | 502 DCHECK(IsAllocated()) << "state=" << state_; in BytesAllocated() 525 DCHECK(IsAllocated()) << "state=" << state_; in ObjectsAllocated()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 262 SignalHandlerTestStatus() : state_(TestStatus::kNone) { in SignalHandlerTestStatus() 266 return state_; in Get() 300 state_ = state; in Set() 304 TestStatus state_; member in SignalHandlerTestStatus 307 if (state_ != expected) { in AssertState() 308 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 | 478 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_socket.cc | 525 return state_->HandlePacket(); in ProcessIncoming()
|
D | jdwp_main.cc | 157 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()
|