Searched refs:RegionState (Results 1 – 2 of 2) sorted by relevance
159 enum class RegionState : uint8_t { enum388 state_(RegionState::kRegionStateAllocated), in Region()396 state_ = RegionState::kRegionStateFree; in Init()408 RegionState State() const { 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).764 std::ostream& operator<<(std::ostream& os, const RegionSpace::RegionState& value);
351 RegionState state = r->State(); in SetFromSpace()356 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()357 state == RegionState::kRegionStateLarge) && in SetFromSpace()368 if (UNLIKELY(state == RegionState::kRegionStateLarge && in SetFromSpace()384 DCHECK(state == RegionState::kRegionStateLargeTail && in SetFromSpace()967 state_ = RegionState::kRegionStateFree; in Clear()1029 state_ = RegionState::kRegionStateAllocated; in Unfree()1034 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()1039 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()