Searched refs:AllocationRegion (Results 1 – 2 of 2) sorted by relevance
279 class AllocationRegion {281 AllocationRegion(void* ptr, size_t memory_size) in AllocationRegion() function292 AllocationRegion() = default;293 AllocationRegion(AllocationRegion&& other) { Swap(&other); } in AllocationRegion() function294 AllocationRegion& operator=(AllocationRegion&& other) {318 void Swap(AllocationRegion* other) { in Swap()343 TF_DISALLOW_COPY_AND_ASSIGN(AllocationRegion);360 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddAllocationRegion()367 AllocationRegion* AddOrExtendAllocationRegion(void* ptr, in AddOrExtendAllocationRegion()390 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddOrExtendAllocationRegion()[all …]
163 AllocationRegion* maybe_extended_region = nullptr; in Extend()307 for (const AllocationRegion& region : region_manager_.regions()) { in DeallocateFreeRegions()360 const_cast<std::vector<AllocationRegion>*>(®ion_manager_.regions()); in DeallocateRegions()