Home | History | Annotate | Download | only in utils

Lines Matching defs:swap_space_

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