Lines Matching refs:copy_size
159 int copy_size = raw_copy_size; in CopyObjectToObjectElements() local
163 copy_size = Min(from_base->length() - from_start, in CopyObjectToObjectElements()
166 int start = to_start + copy_size; in CopyObjectToObjectElements()
175 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyObjectToObjectElements()
176 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyObjectToObjectElements()
177 if (copy_size == 0) return; in CopyObjectToObjectElements()
186 static_cast<size_t>(copy_size)); in CopyObjectToObjectElements()
193 copy_size); in CopyObjectToObjectElements()
205 int copy_size = raw_copy_size; in CopyDictionaryToObjectElements() local
210 copy_size = from->max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements()
212 int start = to_start + copy_size; in CopyDictionaryToObjectElements()
223 if (copy_size == 0) return; in CopyDictionaryToObjectElements()
226 if (to_start + copy_size > to_length) { in CopyDictionaryToObjectElements()
227 copy_size = to_length - to_start; in CopyDictionaryToObjectElements()
229 for (int i = 0; i < copy_size; i++) { in CopyDictionaryToObjectElements()
243 copy_size); in CopyDictionaryToObjectElements()
257 int copy_size = raw_copy_size; in CopyDoubleToObjectElements() local
261 copy_size = Min(from_base->length() - from_start, in CopyDoubleToObjectElements()
276 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyDoubleToObjectElements()
277 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyDoubleToObjectElements()
278 if (copy_size == 0) return; in CopyDoubleToObjectElements()
282 for (int i = 0; i < copy_size; ++i) { in CopyDoubleToObjectElements()
300 int copy_size = raw_copy_size; in CopyDoubleToDoubleElements() local
304 copy_size = Min(from_base->length() - from_start, in CopyDoubleToDoubleElements()
307 for (int i = to_start + copy_size; i < to_base->length(); ++i) { in CopyDoubleToDoubleElements()
312 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyDoubleToDoubleElements()
313 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyDoubleToDoubleElements()
314 if (copy_size == 0) return; in CopyDoubleToDoubleElements()
324 static_cast<size_t>(words_per_double * copy_size)); in CopyDoubleToDoubleElements()
333 int copy_size = raw_copy_size; in CopySmiToDoubleElements() local
337 copy_size = from_base->length() - from_start; in CopySmiToDoubleElements()
339 for (int i = to_start + copy_size; i < to_base->length(); ++i) { in CopySmiToDoubleElements()
344 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopySmiToDoubleElements()
345 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopySmiToDoubleElements()
346 if (copy_size == 0) return; in CopySmiToDoubleElements()
350 for (uint32_t from_end = from_start + static_cast<uint32_t>(copy_size); in CopySmiToDoubleElements()
368 int copy_size = raw_copy_size; in CopyPackedSmiToDoubleElements() local
373 copy_size = packed_size - from_start; in CopyPackedSmiToDoubleElements()
376 for (uint32_t i = to_start + copy_size; i < to_end; ++i) { in CopyPackedSmiToDoubleElements()
380 to_end = to_start + static_cast<uint32_t>(copy_size); in CopyPackedSmiToDoubleElements()
383 to_end = to_start + static_cast<uint32_t>(copy_size); in CopyPackedSmiToDoubleElements()
386 DCHECK(packed_size >= 0 && packed_size <= copy_size); in CopyPackedSmiToDoubleElements()
387 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyPackedSmiToDoubleElements()
388 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyPackedSmiToDoubleElements()
389 if (copy_size == 0) return; in CopyPackedSmiToDoubleElements()
406 int copy_size = raw_copy_size; in CopyObjectToDoubleElements() local
410 copy_size = from_base->length() - from_start; in CopyObjectToDoubleElements()
412 for (int i = to_start + copy_size; i < to_base->length(); ++i) { in CopyObjectToDoubleElements()
417 DCHECK((copy_size + static_cast<int>(to_start)) <= to_base->length() && in CopyObjectToDoubleElements()
418 (copy_size + static_cast<int>(from_start)) <= from_base->length()); in CopyObjectToDoubleElements()
419 if (copy_size == 0) return; in CopyObjectToDoubleElements()
423 for (uint32_t from_end = from_start + copy_size; in CopyObjectToDoubleElements()
442 int copy_size = raw_copy_size; in CopyDictionaryToDoubleElements() local
443 if (copy_size < 0) { in CopyDictionaryToDoubleElements()
444 DCHECK(copy_size == ElementsAccessor::kCopyToEnd || in CopyDictionaryToDoubleElements()
445 copy_size == ElementsAccessor::kCopyToEndAndInitializeToHole); in CopyDictionaryToDoubleElements()
446 copy_size = from->max_number_key() + 1 - from_start; in CopyDictionaryToDoubleElements()
448 for (int i = to_start + copy_size; i < to_base->length(); ++i) { in CopyDictionaryToDoubleElements()
453 if (copy_size == 0) return; in CopyDictionaryToDoubleElements()
456 if (to_start + copy_size > to_length) { in CopyDictionaryToDoubleElements()
457 copy_size = to_length - to_start; in CopyDictionaryToDoubleElements()
459 for (int i = 0; i < copy_size; i++) { in CopyDictionaryToDoubleElements()
711 int copy_size) { in CopyElementsImpl() argument
721 int copy_size) FINAL OVERRIDE { in CopyElements() argument
725 copy_size); in CopyElements()
734 int copy_size) FINAL OVERRIDE { in CopyElements() argument
741 if (copy_size >= 0 && packed_size > copy_size) { in CopyElements()
742 packed_size = copy_size; in CopyElements()
747 from, from_start, to, from_kind, to_start, packed_size, copy_size); in CopyElements()
1063 int copy_size) { in CopyElementsImpl() argument
1071 to_start, copy_size); in CopyElementsImpl()
1076 from, from_start, to, to_kind, to_start, copy_size); in CopyElementsImpl()
1080 to_start, copy_size); in CopyElementsImpl()
1091 to_start, packed_size, copy_size); in CopyElementsImpl()
1188 int copy_size) { in CopyElementsImpl() argument
1192 packed_size, copy_size); in CopyElementsImpl()
1195 CopySmiToDoubleElements(*from, from_start, *to, to_start, copy_size); in CopyElementsImpl()
1199 CopyDoubleToDoubleElements(*from, from_start, *to, to_start, copy_size); in CopyElementsImpl()
1203 CopyObjectToDoubleElements(*from, from_start, *to, to_start, copy_size); in CopyElementsImpl()
1207 copy_size); in CopyElementsImpl()
1448 int copy_size) { in CopyElementsImpl() argument
1663 int copy_size) { in CopyElementsImpl() argument