Lines Matching refs:backing_store
410 BackingStore* backing_store) { in HasElementImpl() argument
412 ElementsAccessorSubclass::GetImpl(receiver, holder, key, backing_store); in HasElementImpl()
419 FixedArrayBase* backing_store) { in HasElement() argument
420 if (backing_store == NULL) { in HasElement()
421 backing_store = holder->elements(); in HasElement()
424 receiver, holder, key, BackingStore::cast(backing_store)); in HasElement()
430 FixedArrayBase* backing_store) { in Get() argument
431 if (backing_store == NULL) { in Get()
432 backing_store = holder->elements(); in Get()
435 receiver, holder, key, BackingStore::cast(backing_store)); in Get()
441 BackingStore* backing_store) { in GetImpl() argument
442 return (key < ElementsAccessorSubclass::GetCapacityImpl(backing_store)) in GetImpl()
443 ? backing_store->get(key) in GetImpl()
444 : backing_store->GetHeap()->the_hole_value(); in GetImpl()
455 BackingStore* backing_store);
519 BackingStore* backing_store = BackingStore::cast(from); in AddElementsToFixedArray() local
520 uint32_t len1 = ElementsAccessorSubclass::GetCapacityImpl(backing_store); in AddElementsToFixedArray()
530 ElementsAccessorSubclass::GetKeyForIndexImpl(backing_store, y); in AddElementsToFixedArray()
532 receiver, holder, key, backing_store)) { in AddElementsToFixedArray()
535 key, backing_store); in AddElementsToFixedArray()
550 backing_store->GetHeap()->AllocateFixedArray(len0 + extra); in AddElementsToFixedArray()
567 ElementsAccessorSubclass::GetKeyForIndexImpl(backing_store, y); in AddElementsToFixedArray()
569 receiver, holder, key, backing_store)) { in AddElementsToFixedArray()
572 key, backing_store); in AddElementsToFixedArray()
586 static uint32_t GetCapacityImpl(BackingStore* backing_store) { in GetCapacityImpl() argument
587 return backing_store->length(); in GetCapacityImpl()
590 virtual uint32_t GetCapacity(FixedArrayBase* backing_store) { in GetCapacity() argument
592 BackingStore::cast(backing_store)); in GetCapacity()
595 static uint32_t GetKeyForIndexImpl(BackingStore* backing_store, in GetKeyForIndexImpl() argument
600 virtual uint32_t GetKeyForIndex(FixedArrayBase* backing_store, in GetKeyForIndex() argument
603 BackingStore::cast(backing_store), index); in GetKeyForIndex()
628 static MaybeObject* SetLengthWithoutNormalize(BackingStore* backing_store, in SetLengthWithoutNormalize() argument
632 uint32_t old_capacity = backing_store->length(); in SetLengthWithoutNormalize()
638 if (!maybe_obj->To(&backing_store)) return maybe_obj; in SetLengthWithoutNormalize()
645 backing_store->set_length(length); in SetLengthWithoutNormalize()
646 Address filler_start = backing_store->address() + in SetLengthWithoutNormalize()
655 backing_store->set_the_hole(i); in SetLengthWithoutNormalize()
693 FixedArray* backing_store = FixedArray::cast(obj->elements()); in DeleteCommon() local
694 if (backing_store->map() == heap->non_strict_arguments_elements_map()) { in DeleteCommon()
695 backing_store = FixedArray::cast(backing_store->get(1)); in DeleteCommon()
700 backing_store = FixedArray::cast(writable); in DeleteCommon()
705 : backing_store->length()); in DeleteCommon()
707 backing_store->set_the_hole(key); in DeleteCommon()
714 if (backing_store->length() >= kMinLengthForSparsenessCheck && in DeleteCommon()
715 !heap->InNewSpace(backing_store) && in DeleteCommon()
716 ((key > 0 && backing_store->get(key - 1) == hole) || in DeleteCommon()
717 (key + 1 < length && backing_store->get(key + 1) == hole))) { in DeleteCommon()
719 for (int i = 0; i < backing_store->length(); ++i) { in DeleteCommon()
720 if (backing_store->get(i) != hole) ++num_used; in DeleteCommon()
722 if (4 * num_used > backing_store->length()) break; in DeleteCommon()
724 if (4 * num_used <= backing_store->length()) { in DeleteCommon()
845 FixedDoubleArray* backing_store) { in HasElementImpl() argument
846 return key < static_cast<uint32_t>(backing_store->length()) && in HasElementImpl()
847 !backing_store->is_the_hole(key); in HasElementImpl()
872 BackingStore* backing_store) { in GetImpl() argument
874 key < ExternalElementsAccessorSubclass::GetCapacityImpl(backing_store) in GetImpl()
875 ? backing_store->get(key) in GetImpl()
876 : backing_store->GetHeap()->undefined_value(); in GetImpl()
881 BackingStore* backing_store) { in SetLengthImpl() argument
897 BackingStore* backing_store) { in HasElementImpl() argument
899 ExternalElementsAccessorSubclass::GetCapacityImpl(backing_store); in HasElementImpl()
1065 FixedArray* backing_store = FixedArray::cast(obj->elements()); in DeleteCommon() local
1069 backing_store = FixedArray::cast(backing_store->get(1)); in DeleteCommon()
1072 SeededNumberDictionary::cast(backing_store); in DeleteCommon()
1143 SeededNumberDictionary* backing_store) { in GetImpl() argument
1144 int entry = backing_store->FindEntry(key); in GetImpl()
1146 Object* element = backing_store->ValueAt(entry); in GetImpl()
1147 PropertyDetails details = backing_store->DetailsAt(entry); in GetImpl()
1163 SeededNumberDictionary* backing_store) { in HasElementImpl() argument
1164 return backing_store->FindEntry(key) != in HasElementImpl()
1363 typename ElementsKindTraits::BackingStore* backing_store) { in SetLengthImpl() argument
1374 SetLengthWithoutNormalize(backing_store, array, smi_length, value); in SetLengthImpl()