Lines Matching defs:old_length
9150 int old_length = string->length();
9151 if (old_length <= new_length) return string;
9154 old_size = SeqOneByteString::SizeFor(old_length);
9158 old_size = SeqTwoByteString::SizeFor(old_length);
9591 int old_length = old_code_map->length();
9592 int new_length = old_length + kEntryLength;
9595 new_code_map->set(old_length + 0, native_context);
9596 new_code_map->set(old_length + 1, code);
9597 new_code_map->set(old_length + 2, literals);
9601 MemsetPointer(data, heap->the_hole_value(), old_length);
11490 uint32_t old_length = 0;
11491 CHECK(old_length_handle->ToArrayIndex(&old_length));
11499 if (old_length == static_cast<uint32_t>(num_elements)) {
11501 for (uint32_t i = old_length - 1; i + 1 > new_length; --i) {
11524 if (old_length == new_length) return *hresult;
11539 uint32_t index = Min(old_length, new_length);
11540 uint32_t add_count = new_length > old_length ? new_length - old_length : 0;
11541 uint32_t delete_count = new_length < old_length ? old_length - new_length : 0;
12645 uint32_t old_length = 0;
12647 CHECK(old_length_handle->ToArrayIndex(&old_length));
12656 EnqueueSpliceRecord(Handle<JSArray>::cast(object), old_length, deleted,
12657 new_length - old_length);