Searched refs:regionNum (Results 1 – 2 of 2) sorted by relevance
238 size_t regionNum = region->Size() / regionSize_; in FreeRegion() local239 ASSERT(regionIdx + regionNum <= occupied_.Size()); in FreeRegion()240 for (size_t i = 0; i < regionNum; i++) { in FreeRegion()244 numUsedRegions_ -= regionNum; in FreeRegion()
543 size_t regionNum = regionAlignedSize / Region::GetRegionAvailableSize(); in AllocateMultiRegion() local544 while (regionNum > 1) { // 1: one region have allocated before in AllocateMultiRegion()551 regionNum--; in AllocateMultiRegion()