Lines Matching refs:swap_space_
125 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
129 : swap_space_(other.swap_space_) {} in SwapAllocator()
136 SwapSpace* swap_space_;
161 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
165 : swap_space_(other.swap_space_) {} in SwapAllocator()
180 if (swap_space_ == nullptr) {
185 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T)));
189 if (swap_space_ == nullptr) { in deallocate()
192 swap_space_->Free(p, n * sizeof(T)); in deallocate()
208 return swap_space_ == other.swap_space_;
215 SwapSpace* swap_space_;
226 return lhs.swap_space_ == rhs.swap_space_;