Lines Matching refs:new_length
1647 uint32_t new_length = length - delete_count + add_count;
1650 if (new_length <= static_cast<uint32_t>(receiver->elements()->length()) &&
1658 if (new_length == 0) {
1678 delete_count, add_count, length, new_length);
1682 delete_count, add_count, length, new_length);
1688 receiver->set_length(Smi::FromInt(new_length));
1747 uint32_t new_length) {
1752 move_left_count, new_length, len);
1760 uint32_t new_length) {
1761 // Check we do not overflow the new_length.
1764 if (new_length <= static_cast<uint32_t>(backing_store->length())) {
1772 int capacity = JSObject::NewElementsCapacity(new_length);
1797 int new_length = length - 1;
1798 int remove_index = remove_position == AT_START ? 0 : new_length;
1801 Subclass::MoveElements(isolate, receiver, backing_store, 0, 1, new_length,
1804 Subclass::SetLengthImpl(isolate, receiver, new_length, backing_store);
1819 // Check we do not overflow the new_length.
1821 uint32_t new_length = length + add_size;
1823 if (new_length > elms_len) {
1825 uint32_t capacity = JSObject::NewElementsCapacity(new_length);
1845 receiver->set_length(Smi::FromInt(new_length));
1846 return new_length;