Home | History | Annotate | Download | only in src

Lines Matching defs:to

15 // several abstract ElementsAccessor classes are used to allow sharing
61 // the |accessor_array[]| below to work.
136 FixedArray* to = FixedArray::cast(to_base);
146 to->set(to_start + i, value, write_barrier_mode);
174 FixedArray* to = FixedArray::cast(to_base);
175 uint32_t to_length = to->length();
187 to->set(i + to_start, value, write_barrier_mode);
189 to->set_the_hole(i + to_start);
212 // existing heap objects to be propertly initialized.
231 Handle<FixedArray> to(FixedArray::cast(to_base), isolate);
233 // create an outer loop to not waste too much time on creating HandleScopes
242 to->set(i + to_start, *value, UPDATE_WRITE_BARRIER);
269 FixedDoubleArray* to = FixedDoubleArray::cast(to_base);
270 Address to_address = to->address() + FixedDoubleArray::kHeaderSize;
301 FixedDoubleArray* to = FixedDoubleArray::cast(to_base);
307 to->set_the_hole(to_start);
309 to->set(to_start, Smi::cast(hole_or_smi)->value());
344 FixedDoubleArray* to = FixedDoubleArray::cast(to_base);
349 to->set(to_start, Smi::cast(smi)->value());
374 FixedDoubleArray* to = FixedDoubleArray::cast(to_base);
380 to->set_the_hole(to_start);
382 to->set(to_start, hole_or_object->Number());
407 FixedDoubleArray* to = FixedDoubleArray::cast(to_base);
408 uint32_t to_length = to->length();
415 to->set(i + to_start, from->ValueAt(entry)->Number());
417 to->set_the_hole(i + to_start);
448 // This class is intended to be used in the following way:
458 // CRTP to guarantee aggressive compile time optimizations (i.e. inlining and
773 // always returning undefined. If there is a store to the initial
778 // This method should only be called if there's a reason to update the
811 FixedArrayBase* to, ElementsKind from_kind,
818 ElementsKind from_kind, Handle<FixedArrayBase> to,
824 // intentionally to avoid ArrayConcat() builtin performance degradation.
827 ElementsAccessorSubclass::CopyElementsImpl(*from, from_start, *to,
833 ElementsKind from_kind, Handle<FixedArrayBase> to,
849 // intentionally to avoid ArrayConcat() builtin performance degradation.
852 // copying from object with fast double elements to object with object
856 from, from_start, *to, from_kind, to_start, packed_size, copy_size);
987 // Find last non-deletable element in range of elements to be
1031 FixedArrayBase* to, ElementsKind from_kind,
1215 // To avoid doing the check on every delete we require at least
1216 // one adjacent hole to the value being deleted.
1242 // Bail out if a number dictionary wouldn't be able to save at least
1318 if (length == 0) return; // nothing to do!
1407 // Delete and move elements to make space for add_count new elements.
1460 // Partially copy all elements up to start.
1511 // If we add arguments to the start we have to shift the existing objects.
1513 // Copy over all objects to a new backing_store.
1519 // If the backing store has enough capacity and we add elements to the
1520 // start we have to shift the existing objects.
1527 // Copy the arguments to the start.
1603 // This method could actually allocate if copying from double elements to
1606 FixedArrayBase* to, ElementsKind from_kind,
1616 CopyObjectToObjectElements(from, from_kind, from_start, to, to_kind,
1623 CopyDoubleToObjectElements(from, from_start, to, to_start, copy_size);
1627 CopyDictionaryToObjectElements(from, from_start, to, to_kind, to_start,
1736 FixedArrayBase* to, ElementsKind from_kind,
1742 CopyPackedSmiToDoubleElements(from, from_start, to, to_start,
1746 CopySmiToDoubleElements(from, from_start, to, to_start, copy_size);
1750 CopyDoubleToDoubleElements(from, from_start, to, to_start, copy_size);
1754 CopyObjectToDoubleElements(from, from_start, to, to_start, copy_size);
1757 CopyDictionaryToDoubleElements(from, from_start, to, to_start,
1899 // Object is not mapped, defer to the arguments.
2020 // parameter, and revert to normal elements in that case. That
2148 // sure that there's enough space to store the value. We cannot convert
2149 // index to entry explicitly since the slot still contains the hole, so the
2171 FixedArrayBase* to, ElementsKind from_kind,
2174 DCHECK(!to->IsDictionary());
2176 CopyDictionaryToObjectElements(from, from_start, to, FAST_HOLEY_ELEMENTS,
2180 CopyObjectToObjectElements(from, FAST_HOLEY_ELEMENTS, from_start, to,
2190 // This method should only be called if there's a reason to update the
2394 // elements array needs to be initialized to contain proper holes, since
2407 // It is crucial to keep |array| in a raw pointer form to avoid