Lines Matching refs:new_length
3011 int new_length = length + ((length >> 1) & ~1) + 2; in UpdateCodeCache() local
3012 ASSERT((new_length & 1) == 0); // must be a multiple of two in UpdateCodeCache()
3013 Object* result = cache->CopySize(new_length); in UpdateCodeCache()
3155 Object* FixedArray::CopySize(int new_length) { in CopySize() argument
3156 if (new_length == 0) return Heap::empty_fixed_array(); in CopySize()
3157 Object* obj = Heap::AllocateFixedArray(new_length); in CopySize()
3163 if (new_length < len) len = new_length; in CopySize()
5166 uint32_t new_length = static_cast<uint32_t>(len->Number()); in SetSlowElements() local
5172 new_length); in SetSlowElements()
5184 element_dictionary()->RemoveNumberEntries(new_length, old_length), in SetSlowElements()
5774 uint32_t new_length = 0; in SetElementWithoutInterceptor() local
5777 &new_length)); in SetElementWithoutInterceptor()
5778 JSArray::cast(this)->set_length(Smi::FromInt(new_length)); in SetElementWithoutInterceptor()
5780 new_length = NumberDictionary::cast(elements())->max_number_key() + 1; in SetElementWithoutInterceptor()
5782 Object* obj = Heap::AllocateFixedArrayWithHoles(new_length); in SetElementWithoutInterceptor()