Home | History | Annotate | Download | only in utils

Lines Matching refs:swap_space_

116   explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {}
119 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {}
126 SwapSpace* swap_space_;
148 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {}
151 SwapAllocator(const SwapAllocator<U>& other) : swap_space_(other.swap_space_) {}
166 if (swap_space_ == nullptr) {
169 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T)));
173 if (swap_space_ == nullptr) {
176 swap_space_->Free(p, n * sizeof(T));
192 return swap_space_ == other.swap_space_;
199 SwapSpace* swap_space_;