Lines Matching refs:old_length
8874 int old_length = string->length();
8875 if (old_length <= new_length) return string;
8878 old_size = SeqOneByteString::SizeFor(old_length);
8882 old_size = SeqTwoByteString::SizeFor(old_length);
9179 int old_length;
9185 old_length = kEntriesStart;
9190 old_length = old_code_map->length();
9192 old_code_map, old_length + kEntryLength);
9196 MemsetPointer(data, isolate->heap()->the_hole_value(), old_length);
9199 new_code_map->set(old_length + kContextOffset, *native_context);
9200 new_code_map->set(old_length + kCachedCodeOffset, *code);
9201 new_code_map->set(old_length + kLiteralsOffset, *literals);
9202 new_code_map->set(old_length + kOsrAstIdOffset,
11165 uint32_t old_length = 0;
11166 CHECK(old_length_handle->ToArrayIndex(&old_length));
11173 if (old_length == static_cast<uint32_t>(num_elements)) {
11175 for (uint32_t i = old_length - 1; i + 1 > new_length; --i) {
11199 if (old_length == new_length) return hresult;
11217 uint32_t index = Min(old_length, new_length);
11218 uint32_t add_count = new_length > old_length ? new_length - old_length : 0;
11219 uint32_t delete_count = new_length < old_length ? old_length - new_length : 0;
12415 uint32_t old_length = 0;
12417 CHECK(old_length_handle->ToArrayIndex(&old_length));
12426 EnqueueSpliceRecord(Handle<JSArray>::cast(object), old_length, deleted,
12427 new_length - old_length);