Home | History | Annotate | Download | only in src

Lines Matching defs:new_capacity

9147   uint32_t new_capacity = capacity;
9163 new_capacity = NewElementsCapacity(index + 1);
9164 ASSERT(new_capacity > index);
9165 if (!ShouldConvertToSlowElements(new_capacity)) {
9179 SetFastDoubleElementsCapacityAndLength(new_capacity, array_length);
9198 if (new_capacity != capacity) {
9205 SetFastElementsCapacityAndLength(new_capacity,
9427 int new_capacity = NewElementsCapacity(index+1);
9428 if (!ShouldConvertToSlowElements(new_capacity)) {
9429 ASSERT(static_cast<uint32_t>(new_capacity) > index);
9432 SetFastDoubleElementsCapacityAndLength(new_capacity,
9865 bool JSObject::ShouldConvertToSlowElements(int new_capacity) {
9868 if (new_capacity <= kMaxUncheckedOldFastElementsLength ||
9869 (new_capacity <= kMaxUncheckedFastElementsLength &&
9881 return 3 * dictionary_size <= new_capacity;