Lines Matching refs:backing_store

589                              Handle<FixedArrayBase> backing_store) {  in HasElementImpl()  argument
591 receiver, holder, key, backing_store) != ABSENT; in HasElementImpl()
598 Handle<FixedArrayBase> backing_store) FINAL OVERRIDE { in HasElement() argument
600 receiver, holder, key, backing_store); in HasElement()
607 Handle<FixedArrayBase> backing_store) FINAL OVERRIDE { in Get() argument
619 receiver, holder, key, backing_store); in Get()
626 Handle<FixedArrayBase> backing_store) { in GetImpl() argument
627 if (key < ElementsAccessorSubclass::GetCapacityImpl(backing_store)) { in GetImpl()
628 return BackingStore::get(Handle<BackingStore>::cast(backing_store), key); in GetImpl()
630 return backing_store->GetIsolate()->factory()->the_hole_value(); in GetImpl()
638 Handle<FixedArrayBase> backing_store) FINAL OVERRIDE { in GetAttributes() argument
640 receiver, holder, key, backing_store); in GetAttributes()
647 Handle<FixedArrayBase> backing_store) { in GetAttributesImpl() argument
648 if (key >= ElementsAccessorSubclass::GetCapacityImpl(backing_store)) { in GetAttributesImpl()
652 Handle<BackingStore>::cast(backing_store)->is_the_hole(key) in GetAttributesImpl()
660 Handle<FixedArrayBase> backing_store) FINAL OVERRIDE { in GetAccessorPair() argument
662 receiver, holder, key, backing_store); in GetAccessorPair()
669 Handle<FixedArrayBase> backing_store) { in GetAccessorPairImpl() argument
683 Handle<FixedArrayBase> backing_store);
828 static uint32_t GetCapacityImpl(Handle<FixedArrayBase> backing_store) { in GetCapacityImpl() argument
829 return backing_store->length(); in GetCapacityImpl()
832 virtual uint32_t GetCapacity(Handle<FixedArrayBase> backing_store) in GetCapacity() argument
834 return ElementsAccessorSubclass::GetCapacityImpl(backing_store); in GetCapacity()
837 static uint32_t GetKeyForIndexImpl(Handle<FixedArrayBase> backing_store, in GetKeyForIndexImpl() argument
842 virtual uint32_t GetKeyForIndex(Handle<FixedArrayBase> backing_store, in GetKeyForIndex() argument
844 return ElementsAccessorSubclass::GetKeyForIndexImpl(backing_store, index); in GetKeyForIndex()
869 Handle<FixedArrayBase> backing_store, in SetLengthWithoutNormalize() argument
874 uint32_t old_capacity = backing_store->length(); in SetLengthWithoutNormalize()
889 backing_store = JSObject::EnsureWritableFastElements(array); in SetLengthWithoutNormalize()
897 *backing_store, old_capacity - length); in SetLengthWithoutNormalize()
903 Handle<BackingStore>::cast(backing_store)->set_the_hole(i); in SetLengthWithoutNormalize()
930 Handle<BackingStore> backing_store = Handle<BackingStore>::cast(elements); in DeleteCommon() local
932 backing_store->map() == heap->sloppy_arguments_elements_map(); in DeleteCommon()
934 backing_store = handle( in DeleteCommon()
935 BackingStore::cast(Handle<FixedArray>::cast(backing_store)->get(1)), in DeleteCommon()
941 : backing_store->length()); in DeleteCommon()
950 backing_store = Handle<BackingStore>::cast(writable); in DeleteCommon()
953 backing_store->set_the_hole(key); in DeleteCommon()
959 if (backing_store->length() >= kMinLengthForSparsenessCheck && in DeleteCommon()
960 !heap->InNewSpace(*backing_store) && in DeleteCommon()
961 ((key > 0 && backing_store->is_the_hole(key - 1)) || in DeleteCommon()
962 (key + 1 < length && backing_store->is_the_hole(key + 1)))) { in DeleteCommon()
964 for (int i = 0; i < backing_store->length(); ++i) { in DeleteCommon()
965 if (!backing_store->is_the_hole(i)) ++num_used; in DeleteCommon()
967 if (4 * num_used > backing_store->length()) break; in DeleteCommon()
969 if (4 * num_used <= backing_store->length()) { in DeleteCommon()
988 Handle<FixedArrayBase> backing_store) { in HasElementImpl() argument
989 if (key >= static_cast<uint32_t>(backing_store->length())) { in HasElementImpl()
992 return !Handle<BackingStore>::cast(backing_store)->is_the_hole(key); in HasElementImpl()
1010 Handle<BackingStore> backing_store = Handle<BackingStore>::cast(elements); in ValidateContents() local
1012 BackingStore::get(backing_store, i)->IsSmi()) || in ValidateContents()
1014 backing_store->is_the_hole(i))); in ValidateContents()
1273 Handle<FixedArrayBase> backing_store) { in GetImpl() argument
1274 if (key < AccessorClass::GetCapacityImpl(backing_store)) { in GetImpl()
1275 return BackingStore::get(Handle<BackingStore>::cast(backing_store), key); in GetImpl()
1277 return backing_store->GetIsolate()->factory()->undefined_value(); in GetImpl()
1285 Handle<FixedArrayBase> backing_store) { in GetAttributesImpl() argument
1287 key < AccessorClass::GetCapacityImpl(backing_store) in GetAttributesImpl()
1294 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
1311 Handle<FixedArrayBase> backing_store) { in HasElementImpl() argument
1313 AccessorClass::GetCapacityImpl(backing_store); in HasElementImpl()
1406 Handle<FixedArray> backing_store(FixedArray::cast(obj->elements()), in DeleteCommon() local
1411 backing_store = handle(FixedArray::cast(backing_store->get(1)), isolate); in DeleteCommon()
1414 Handle<SeededNumberDictionary>::cast(backing_store); in DeleteCommon()
1469 Handle<SeededNumberDictionary> backing_store = in GetImpl() local
1471 Isolate* isolate = backing_store->GetIsolate(); in GetImpl()
1472 int entry = backing_store->FindEntry(key); in GetImpl()
1474 Handle<Object> element(backing_store->ValueAt(entry), isolate); in GetImpl()
1475 PropertyDetails details = backing_store->DetailsAt(entry); in GetImpl()
1490 Handle<FixedArrayBase> backing_store) { in GetAttributesImpl() argument
1492 Handle<SeededNumberDictionary>::cast(backing_store); in GetAttributesImpl()
1505 Handle<SeededNumberDictionary> backing_store = in GetAccessorPairImpl() local
1507 int entry = backing_store->FindEntry(key); in GetAccessorPairImpl()
1509 backing_store->DetailsAt(entry).type() == CALLBACKS && in GetAccessorPairImpl()
1510 backing_store->ValueAt(entry)->IsAccessorPair()) { in GetAccessorPairImpl()
1511 return handle(AccessorPair::cast(backing_store->ValueAt(entry))); in GetAccessorPairImpl()
1520 Handle<SeededNumberDictionary> backing_store = in HasElementImpl() local
1522 return backing_store->FindEntry(key) != SeededNumberDictionary::kNotFound; in HasElementImpl()
1591 Handle<FixedArrayBase> backing_store) { in GetAttributesImpl() argument
1592 Handle<FixedArray> parameter_map = Handle<FixedArray>::cast(backing_store); in GetAttributesImpl()
1667 static uint32_t GetCapacityImpl(Handle<FixedArrayBase> backing_store) { in GetCapacityImpl() argument
1668 Handle<FixedArray> parameter_map = Handle<FixedArray>::cast(backing_store); in GetCapacityImpl()
1751 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
1763 SetLengthWithoutNormalize(backing_store, array, smi_length, value); in SetLengthImpl()