Lines Matching refs:swap_space_
114 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
117 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {} in SwapAllocator()
124 SwapSpace* swap_space_;
149 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
152 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {} in SwapAllocator()
167 if (swap_space_ == nullptr) {
172 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T)));
176 if (swap_space_ == nullptr) { in deallocate()
179 swap_space_->Free(p, n * sizeof(T)); in deallocate()
195 return swap_space_ == other.swap_space_;
202 SwapSpace* swap_space_;
213 return lhs.swap_space_ == rhs.swap_space_;