Lines Matching refs:backing_store
542 FixedArrayBase backing_store,
603 bool HasElement(JSObject holder, uint32_t index, FixedArrayBase backing_store, in HasElement() argument
606 backing_store, filter); in HasElement()
610 FixedArrayBase backing_store, in HasElementImpl() argument
612 return Subclass::GetEntryForIndexImpl(isolate, holder, backing_store, index, in HasElementImpl()
622 static bool HasEntryImpl(Isolate* isolate, FixedArrayBase backing_store, in HasEntryImpl() argument
631 static bool HasAccessorsImpl(JSObject holder, FixedArrayBase backing_store) { in HasAccessorsImpl() argument
644 static Handle<Object> GetImpl(Isolate* isolate, FixedArrayBase backing_store, in GetImpl() argument
646 return handle(BackingStore::cast(backing_store).get(entry.as_int()), in GetImpl()
724 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
739 uint32_t capacity = backing_store->length(); in SetLengthImpl()
746 if (array->elements() != *backing_store) { in SetLengthImpl()
747 backing_store = handle(array->elements(), isolate); in SetLengthImpl()
758 isolate->heap()->RightTrimFixedArray(*backing_store, elements_to_trim); in SetLengthImpl()
760 BackingStore::cast(*backing_store) in SetLengthImpl()
765 BackingStore::cast(*backing_store).FillWithHoles(length, old_length); in SetLengthImpl()
784 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
1128 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in CollectElementIndices() argument
1131 return Subclass::CollectElementIndicesImpl(object, backing_store, keys); in CollectElementIndices()
1135 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in CollectElementIndicesImpl() argument
1139 size_t length = Subclass::GetMaxIndex(*object, *backing_store); in CollectElementIndicesImpl()
1144 if (Subclass::HasElementImpl(isolate, *object, i, *backing_store, in CollectElementIndicesImpl()
1155 Handle<FixedArrayBase> backing_store, GetKeysConversion convert, in DirectCollectElementIndicesImpl() argument
1158 size_t length = Subclass::GetMaxIndex(*object, *backing_store); in DirectCollectElementIndicesImpl()
1162 if (Subclass::HasElementImpl(isolate, *object, i, *backing_store, in DirectCollectElementIndicesImpl()
1181 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in PrependElementIndices() argument
1184 return Subclass::PrependElementIndicesImpl(object, backing_store, keys, in PrependElementIndices()
1189 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in PrependElementIndicesImpl() argument
1195 Subclass::GetMaxNumberOfEntries(*object, *backing_store); in PrependElementIndicesImpl()
1219 Subclass::NumberOfElementsImpl(*object, *backing_store); in PrependElementIndicesImpl()
1231 isolate, object, backing_store, in PrependElementIndicesImpl()
1274 FixedArrayBase backing_store) { in GetCapacityImpl() argument
1275 return backing_store.length(); in GetCapacityImpl()
1278 size_t GetCapacity(JSObject holder, FixedArrayBase backing_store) final { in GetCapacity() argument
1279 return Subclass::GetCapacityImpl(holder, backing_store); in GetCapacity()
1338 FixedArrayBase backing_store, in GetEntryForIndexImpl() argument
1343 size_t length = Subclass::GetMaxIndex(holder, backing_store); in GetEntryForIndexImpl()
1349 !BackingStore::cast(backing_store) in GetEntryForIndexImpl()
1359 FixedArrayBase backing_store, in GetEntryForIndex() argument
1361 return Subclass::GetEntryForIndexImpl(isolate, holder, backing_store, index, in GetEntryForIndex()
1365 static PropertyDetails GetDetailsImpl(FixedArrayBase backing_store, in GetDetailsImpl() argument
1403 FixedArrayBase backing_store) { in GetMaxNumberOfEntries() argument
1404 return NumberOfElementsImpl(receiver, backing_store); in GetMaxNumberOfEntries()
1408 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
1409 NumberDictionary dict = NumberDictionary::cast(backing_store); in NumberOfElementsImpl()
1415 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
1417 Handle<NumberDictionary>::cast(backing_store); in SetLengthImpl()
1483 static bool HasAccessorsImpl(JSObject holder, FixedArrayBase backing_store) { in HasAccessorsImpl() argument
1485 NumberDictionary dict = NumberDictionary::cast(backing_store); in HasAccessorsImpl()
1499 NumberDictionary backing_store = NumberDictionary::cast(store); in GetRaw() local
1500 return backing_store.ValueAt(entry); in GetRaw()
1503 static Handle<Object> GetImpl(Isolate* isolate, FixedArrayBase backing_store, in GetImpl() argument
1505 return handle(GetRaw(backing_store, entry), isolate); in GetImpl()
1513 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
1515 NumberDictionary::cast(backing_store).ValueAtPut(entry, value); in SetImpl()
1583 static PropertyDetails GetDetailsImpl(FixedArrayBase backing_store, in GetDetailsImpl() argument
1585 return NumberDictionary::cast(backing_store).DetailsAt(entry); in GetDetailsImpl()
1610 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in CollectElementIndicesImpl() argument
1615 Handle<NumberDictionary>::cast(backing_store); in CollectElementIndicesImpl()
1617 GetMaxNumberOfEntries(*object, *backing_store)); in CollectElementIndicesImpl()
1643 Handle<FixedArrayBase> backing_store, GetKeysConversion convert, in DirectCollectElementIndicesImpl() argument
1650 Handle<NumberDictionary>::cast(backing_store); in DirectCollectElementIndicesImpl()
1937 Handle<BackingStore> backing_store, uint32_t entry) { in DeleteAtEnd() argument
1938 uint32_t length = static_cast<uint32_t>(backing_store->length()); in DeleteAtEnd()
1941 if (!backing_store->is_the_hole(isolate, entry - 1)) break; in DeleteAtEnd()
1955 isolate->heap()->RightTrimFixedArray(*backing_store, length - entry); in DeleteAtEnd()
1963 Handle<BackingStore> backing_store = Handle<BackingStore>::cast(store); in DeleteCommon() local
1966 DeleteAtEnd(obj, backing_store, entry); in DeleteCommon()
1971 backing_store->set_the_hole(isolate, entry); in DeleteCommon()
1977 if (backing_store->length() < kMinLengthForSparsenessCheck) return; in DeleteCommon()
2005 if (!backing_store->is_the_hole(isolate, i)) break; in DeleteCommon()
2008 DeleteAtEnd(obj, backing_store, entry); in DeleteCommon()
2013 for (int i = 0; i < backing_store->length(); ++i) { in DeleteCommon()
2014 if (!backing_store->is_the_hole(isolate, i)) { in DeleteCommon()
2020 static_cast<uint32_t>(backing_store->length())) { in DeleteCommon()
2079 static bool HasEntryImpl(Isolate* isolate, FixedArrayBase backing_store, in HasEntryImpl() argument
2081 return !BackingStore::cast(backing_store) in HasEntryImpl()
2086 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
2087 size_t max_index = Subclass::GetMaxIndex(receiver, backing_store); in NumberOfElementsImpl()
2095 if (Subclass::HasEntryImpl(isolate, backing_store, InternalIndex(i))) { in NumberOfElementsImpl()
2135 BackingStore backing_store = BackingStore::cast(elements); in ValidateContents() local
2141 DCHECK(BackingStore::get(backing_store, i, isolate)->IsSmi() || in ValidateContents()
2143 backing_store.is_the_hole(isolate, i))); in ValidateContents()
2148 DCHECK(!backing_store.is_the_hole(isolate, i)); in ValidateContents()
2167 Handle<FixedArrayBase> backing_store(receiver->elements(), in PushImpl() local
2169 return Subclass::AddArguments(receiver, backing_store, args, push_size, in PushImpl()
2176 Handle<FixedArrayBase> backing_store(receiver->elements(), in UnshiftImpl() local
2178 return Subclass::AddArguments(receiver, backing_store, args, unshift_size, in UnshiftImpl()
2183 Handle<FixedArrayBase> backing_store, int dst_index, in MoveElements() argument
2187 BackingStore dst_elms = BackingStore::cast(*backing_store); in MoveElements()
2193 backing_store.PatchValue(dst_elms); in MoveElements()
2197 DCHECK_LE(hole_start, backing_store->length()); in MoveElements()
2198 DCHECK_LE(hole_end, backing_store->length()); in MoveElements()
2403 Handle<FixedArrayBase> backing_store(receiver->elements(), isolate); in RemoveElement() local
2409 Subclass::GetImpl(isolate, *backing_store, InternalIndex(remove_index)); in RemoveElement()
2411 Subclass::MoveElements(isolate, receiver, backing_store, 0, 1, new_length, in RemoveElement()
2415 Subclass::SetLengthImpl(isolate, receiver, new_length, backing_store)); in RemoveElement()
2424 Handle<FixedArrayBase> backing_store, in AddArguments() argument
2429 uint32_t elms_len = backing_store->length(); in AddArguments()
2442 isolate, backing_store, in AddArguments()
2443 Subclass::ConvertElementsWithCapacity(receiver, backing_store, in AddArguments()
2447 receiver->set_elements(*backing_store); in AddArguments()
2451 Subclass::MoveElements(isolate, receiver, backing_store, add_size, 0, in AddArguments()
2457 Subclass::CopyArguments(args, backing_store, add_size, 1, insertion_index); in AddArguments()
2489 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2491 FixedArray::cast(backing_store).set(entry.as_int(), value); in SetImpl()
2494 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2496 FixedArray::cast(backing_store).set(entry.as_int(), value, mode); in SetImpl()
2499 static Object GetRaw(FixedArray backing_store, InternalIndex entry) { in GetRaw() argument
2500 return backing_store.get(entry.as_int()); in GetRaw()
2665 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
2733 Handle<BackingStore> backing_store, uint32_t entry) { in DeleteAtEnd() argument
2763 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
2826 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2831 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2846 Handle<BackingStore> backing_store, uint32_t entry) { in DeleteAtEnd() argument
2873 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
2904 static Handle<Object> GetImpl(Isolate* isolate, FixedArrayBase backing_store, in GetImpl() argument
2906 return FixedDoubleArray::get(FixedDoubleArray::cast(backing_store), in GetImpl()
2915 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2917 FixedDoubleArray::cast(backing_store).set(entry.as_int(), value.Number()); in SetImpl()
2920 static inline void SetImpl(FixedArrayBase backing_store, InternalIndex entry, in SetImpl() argument
2922 FixedDoubleArray::cast(backing_store).set(entry.as_int(), value.Number()); in SetImpl()
3155 static Handle<Object> GetImpl(Isolate* isolate, FixedArrayBase backing_store, in GetImpl() argument
3215 static PropertyDetails GetDetailsImpl(FixedArrayBase backing_store, in GetDetailsImpl() argument
3222 FixedArrayBase backing_store, in HasElementImpl() argument
3224 return index < AccessorClass::GetCapacityImpl(holder, backing_store); in HasElementImpl()
3227 static bool HasAccessorsImpl(JSObject holder, FixedArrayBase backing_store) { in HasAccessorsImpl() argument
3233 Handle<FixedArrayBase> backing_store) { in SetLengthImpl() argument
3246 FixedArrayBase backing_store, in GetEntryForIndexImpl() argument
3249 return index < AccessorClass::GetCapacityImpl(holder, backing_store) in GetEntryForIndexImpl()
3254 static size_t GetCapacityImpl(JSObject holder, FixedArrayBase backing_store) { in GetCapacityImpl() argument
3260 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
3261 return AccessorClass::GetCapacityImpl(receiver, backing_store); in NumberOfElementsImpl()
4446 FixedArrayBase backing_store) { in GetMaxNumberOfEntries() argument
4448 SloppyArgumentsElements::cast(backing_store); in GetMaxNumberOfEntries()
4457 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
4460 SloppyArgumentsElements::cast(backing_store); in NumberOfElementsImpl()
4499 static bool HasAccessorsImpl(JSObject holder, FixedArrayBase backing_store) { in HasAccessorsImpl() argument
4501 SloppyArgumentsElements::cast(backing_store); in HasAccessorsImpl()
4571 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in CollectElementIndicesImpl() argument
4576 GetCapacityImpl(*object, *backing_store)); in CollectElementIndicesImpl()
4577 DirectCollectElementIndicesImpl(isolate, object, backing_store, in CollectElementIndicesImpl()
4589 Handle<FixedArrayBase> backing_store, GetKeysConversion convert, in DirectCollectElementIndicesImpl() argument
4593 Handle<SloppyArgumentsElements>::cast(backing_store); in DirectCollectElementIndicesImpl()
4966 FixedArrayBase backing_store, in GetEntryForIndexImpl() argument
4973 isolate, holder, backing_store, index, filter); in GetEntryForIndexImpl()
5045 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, in CollectElementIndicesImpl() argument
5054 backing_store, keys); in CollectElementIndicesImpl()
5094 FixedArrayBase backing_store) { in NumberOfElementsImpl() argument
5097 BackingStoreAccessor::NumberOfElementsImpl(object, backing_store); in NumberOfElementsImpl()
5125 static bool HasAccessorsImpl(JSObject holder, FixedArrayBase backing_store) { in HasAccessorsImpl() argument
5126 return DictionaryElementsAccessor::HasAccessorsImpl(holder, backing_store); in HasAccessorsImpl()