reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
159 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 165 Old.Slabs.clear(); 170 DeallocateSlabs(Slabs.begin(), Slabs.end()); 170 DeallocateSlabs(Slabs.begin(), Slabs.end()); 175 DeallocateSlabs(Slabs.begin(), Slabs.end()); 175 DeallocateSlabs(Slabs.begin(), Slabs.end()); 182 Slabs = std::move(RHS.Slabs); 182 Slabs = std::move(RHS.Slabs); 188 RHS.Slabs.clear(); 200 if (Slabs.empty()) 205 CurPtr = (char *)Slabs.front(); 209 DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); 209 DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); 210 Slabs.erase(std::next(Slabs.begin()), Slabs.end()); 210 Slabs.erase(std::next(Slabs.begin()), Slabs.end()); 210 Slabs.erase(std::next(Slabs.begin()), Slabs.end()); 289 size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } 299 for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { 300 const char *S = static_cast<const char *>(Slabs[Idx]); 347 for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) 347 for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) 348 TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); 361 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, 403 size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); 410 Slabs.push_back(NewSlab); 420 computeSlabSize(std::distance(Slabs.begin(), I)); 474 for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; 474 for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; 477 std::distance(Allocator.Slabs.begin(), I)); 479 char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr