Lines Matching refs:oldAllocated
277 uint32_t oldAllocated = ObjectSlots::allocCount(oldCapacity); in growSlots() local
283 cx, this, reinterpret_cast<HeapSlot*>(oldHeaderSlots), oldAllocated, in growSlots()
391 uint32_t oldAllocated = ObjectSlots::allocCount(oldCapacity); in shrinkSlots() local
406 cx, this, reinterpret_cast<HeapSlot*>(oldHeaderSlots), oldAllocated, in shrinkSlots()
828 uint32_t oldAllocated = 0; in growElements() local
831 oldAllocated = oldCapacity + ObjectElements::VALUES_PER_HEADER + numShifted; in growElements()
834 cx, this, oldHeaderSlots, oldAllocated, newAllocated); in growElements()
847 if (oldAllocated) { in growElements()
848 RemoveCellMemory(this, oldAllocated * sizeof(HeapSlot), in growElements()
887 uint32_t oldAllocated = in shrinkElements() local
889 if (newAllocated == oldAllocated) { in shrinkElements()
901 cx, this, oldHeaderSlots, oldAllocated, newAllocated); in shrinkElements()
907 RemoveCellMemory(this, oldAllocated * sizeof(HeapSlot), in shrinkElements()
941 uint32_t oldAllocated = header->numAllocatedElements(); in shrinkCapacityToInitializedLength() local
948 RemoveCellMemory(this, oldAllocated * sizeof(HeapSlot), in shrinkCapacityToInitializedLength()