Lines Matching defs:new_capacity
11959 uint32_t new_capacity = capacity;
11990 new_capacity = NewElementsCapacity(index + 1);
11991 DCHECK(new_capacity > index);
11992 if (!object->ShouldConvertToSlowElements(new_capacity)) {
12011 SetFastDoubleElementsCapacityAndLength(object, new_capacity, array_length);
12028 if (new_capacity != capacity) {
12034 SetFastElementsCapacityAndLength(object, new_capacity, array_length,
12265 int new_capacity = NewElementsCapacity(index+1);
12266 if (!object->ShouldConvertToSlowElements(new_capacity)) {
12267 DCHECK(static_cast<uint32_t>(new_capacity) > index);
12268 SetFastDoubleElementsCapacityAndLength(object, new_capacity, index + 1);
12945 uint32_t new_capacity = NewElementsCapacity(index + 1);
12946 return ShouldConvertToSlowElements(new_capacity);
12953 bool JSObject::ShouldConvertToSlowElements(int new_capacity) {
12956 if (new_capacity <= kMaxUncheckedOldFastElementsLength ||
12957 (new_capacity <= kMaxUncheckedFastElementsLength &&
12969 return 3 * dictionary_size <= new_capacity;
15473 Handle<Derived> table, int new_capacity) {
15478 new_capacity,