• Home
  • Raw
  • Download

Lines Matching refs:new_capacity

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