Searched refs:old_capacity (Results 1 – 7 of 7) sorted by relevance
113 size_t old_capacity = capacity_; in EnsureStorage() local124 if (old_capacity) { in EnsureStorage()129 for (size_t i = 1; i < old_capacity; i++) { in EnsureStorage()
136 size_t const old_capacity = capacity_; in Grow() local144 for (size_t i = 0; i < old_capacity; ++i) { in Grow()
100 int old_capacity = layout_descriptor->capacity(); in EnsureCapacity() local101 if (new_capacity <= old_capacity) { in EnsureCapacity()
2252 static uint32_t NewElementsCapacity(uint32_t old_capacity) { in NewElementsCapacity() argument2254 return old_capacity + (old_capacity >> 1) + 16; in NewElementsCapacity()
2337 intptr_t old_capacity, new_capacity; in TEST() local2338 old_capacity = new_space->TotalCapacity(); in TEST()2341 CHECK(2 * old_capacity == new_capacity); in TEST()2343 old_capacity = new_space->TotalCapacity(); in TEST()2346 CHECK(old_capacity == new_capacity); in TEST()2349 old_capacity = new_space->TotalCapacity(); in TEST()2352 CHECK(old_capacity == new_capacity); in TEST()2356 CHECK_LE(new_space->Size(), old_capacity); in TEST()2359 old_capacity = new_space->TotalCapacity(); in TEST()2362 CHECK(old_capacity == 2 * new_capacity); in TEST()[all …]
1779 HValue* BuildNewElementsCapacity(HValue* old_capacity);
3092 HValue* HGraphBuilder::BuildNewElementsCapacity(HValue* old_capacity) { in BuildNewElementsCapacity() argument3093 HValue* half_old_capacity = AddUncasted<HShr>(old_capacity, in BuildNewElementsCapacity()3096 HValue* new_capacity = AddUncasted<HAdd>(half_old_capacity, old_capacity); in BuildNewElementsCapacity()