• Home
  • Raw
  • Download

Lines Matching refs:Subclass

556 template <typename Subclass, typename ElementsTraitsParam>
583 Subclass::ValidateContents(holder, length); in ValidateImpl()
588 Subclass::ValidateImpl(holder); in Validate()
597 if (!Subclass::HasElementImpl(isolate, holder, i, backing_store, in IsPackedImpl()
610 if (!Subclass::IsPackedImpl(*array, *backing_store, 0, length)) return; in TryTransitionResultArrayToPacked()
624 return Subclass::HasElementImpl(holder->GetIsolate(), holder, index, in HasElement()
631 return Subclass::GetEntryForIndexImpl(isolate, holder, backing_store, index, in HasElementImpl()
636 return Subclass::HasEntryImpl(holder->GetIsolate(), holder->elements(), in HasEntry()
646 return Subclass::HasAccessorsImpl(holder, holder->elements()); in HasAccessors()
655 return Subclass::GetInternalImpl(holder, entry); in Get()
660 return Subclass::GetImpl(holder->GetIsolate(), holder->elements(), entry); in GetInternalImpl()
670 Subclass::SetImpl(holder, entry, value); in Set()
676 Subclass::ReconfigureImpl(object, store, entry, value, attributes); in Reconfigure()
688 Subclass::AddImpl(object, index, value, attributes, new_capacity); in Add()
699 return Subclass::PushImpl(receiver, args, push_size); in Push()
709 return Subclass::UnshiftImpl(receiver, args, unshift_size); in Unshift()
719 return Subclass::SliceImpl(receiver, start, end); in Slice()
730 return Subclass::SpliceImpl(receiver, start, delete_count, args, add_count); in Splice()
740 return Subclass::PopImpl(receiver); in Pop()
748 return Subclass::ShiftImpl(receiver); in Shift()
756 Subclass::SetLengthImpl(array->GetIsolate(), array, length, in SetLength()
808 Subclass::GrowCapacityAndConvertImpl(array, capacity); in SetLengthImpl()
816 return Subclass::NumberOfElementsImpl(receiver, receiver->elements()); in NumberOfElements()
830 return Subclass::GetCapacityImpl(receiver, elements); in GetMaxIndex()
835 return Subclass::GetMaxIndex(receiver, elements); in GetMaxNumberOfEntries()
870 Subclass::CopyElementsImpl(isolate, *old_elements, src_index, *new_elements, in ConvertElementsWithCapacity()
931 Subclass::BasicGrowCapacityAndConvertImpl(object, old_elements, from_kind, in GrowCapacityAndConvertImpl()
957 Subclass::TransitionElementsKindImpl(object, map); in TransitionElementsKind()
962 Subclass::GrowCapacityAndConvertImpl(object, capacity); in GrowCapacityAndConvert()
991 Subclass::DeleteImpl(obj, entry); in Delete()
1023 Subclass::CopyElementsImpl(from_holder->GetIsolate(), from, from_start, *to, in CopyElements()
1030 Subclass::CopyElementsImpl(isolate, *source, 0, *destination, source_kind, in CopyElements()
1037 Subclass::CopyTypedArrayElementsSliceImpl(source, destination, start, end); in CopyTypedArrayElementsSlice()
1048 return Subclass::CopyElementsHandleImpl(source, destination, length, in CopyElements()
1059 return Subclass::NormalizeImpl( in Normalize()
1072 return Subclass::CollectValuesOrEntriesImpl( in CollectValuesOrEntries()
1083 Subclass::CollectElementIndicesImpl( in CollectValuesOrEntriesImpl()
1097 uint32_t entry = Subclass::GetEntryForIndexImpl( in CollectValuesOrEntriesImpl()
1100 PropertyDetails details = Subclass::GetDetailsImpl(*object, entry); in CollectValuesOrEntriesImpl()
1104 value = Subclass::GetImpl(isolate, object->elements(), entry); in CollectValuesOrEntriesImpl()
1150 Subclass::CollectElementIndicesImpl(object, backing_store, keys); in CollectElementIndices()
1158 uint32_t length = Subclass::GetMaxIndex(*object, *backing_store); in CollectElementIndicesImpl()
1163 if (Subclass::HasElementImpl(isolate, *object, i, *backing_store, in CollectElementIndicesImpl()
1175 uint32_t length = Subclass::GetMaxIndex(*object, *backing_store); in DirectCollectElementIndicesImpl()
1179 if (Subclass::HasElementImpl(isolate, *object, i, *backing_store, in DirectCollectElementIndicesImpl()
1200 return Subclass::PrependElementIndicesImpl(object, backing_store, keys, in PrependElementIndices()
1211 Subclass::GetMaxNumberOfEntries(*object, *backing_store); in PrependElementIndicesImpl()
1235 Subclass::NumberOfElementsImpl(*object, *backing_store); in PrependElementIndicesImpl()
1244 combined_keys = Subclass::DirectCollectElementIndicesImpl( in PrependElementIndicesImpl()
1283 Subclass::AddElementsToKeyAccumulatorImpl(receiver, accumulator, convert); in AddElementsToKeyAccumulator()
1292 return Subclass::GetCapacityImpl(holder, backing_store); in GetCapacity()
1302 return Subclass::FillImpl(receiver, obj_value, start, end); in Fill()
1315 return Subclass::IncludesValueImpl(isolate, receiver, value, start_from, in IncludesValue()
1329 return Subclass::IndexOfValueImpl(isolate, receiver, value, start_from, in IndexOfValue()
1342 return Subclass::LastIndexOfValueImpl(receiver, value, start_from); in LastIndexOfValue()
1347 void Reverse(JSObject* receiver) final { Subclass::ReverseImpl(receiver); } in Reverse()
1358 uint32_t length = Subclass::GetMaxIndex(holder, backing_store); in GetEntryForIndexImpl()
1373 return Subclass::GetEntryForIndexImpl(isolate, holder, backing_store, index, in GetEntryForIndex()
1387 return Subclass::GetDetailsImpl(holder, entry); in GetDetails()
1393 return Subclass::CreateListFromArrayLikeImpl(isolate, object, length); in CreateListFromArrayLike()
1941 template <typename Subclass, typename KindTraits>
1942 class FastElementsAccessor : public ElementsAccessorBase<Subclass, KindTraits> {
1945 : ElementsAccessorBase<Subclass, KindTraits>(name) {} in FastElementsAccessor()
1952 ElementsKind kind = Subclass::kind(); in NormalizeImpl()
1973 Handle<Object> value = Subclass::GetImpl(isolate, *store, i); in NormalizeImpl()
2094 ElementsKind to_kind = Subclass::kind(); in AddImpl()
2097 Subclass::GetCapacityImpl(*object, object->elements()) != in AddImpl()
2099 Subclass::GrowCapacityAndConvertImpl(object, new_capacity); in AddImpl()
2109 Subclass::SetImpl(object, index, *value); in AddImpl()
2130 uint32_t max_index = Subclass::GetMaxIndex(receiver, backing_store); in NumberOfElementsImpl()
2131 if (IsFastPackedElementsKind(Subclass::kind())) return max_index; in NumberOfElementsImpl()
2135 if (Subclass::HasEntryImpl(isolate, backing_store, i)) count++; in NumberOfElementsImpl()
2145 uint32_t length = Subclass::GetMaxNumberOfEntries(*receiver, *elements); in AddElementsToKeyAccumulatorImpl()
2149 accumulator->AddKey(Subclass::GetImpl(isolate, *elements, i), convert); in AddElementsToKeyAccumulatorImpl()
2192 return Subclass::RemoveElement(receiver, AT_END); in PopImpl()
2196 return Subclass::RemoveElement(receiver, AT_START); in ShiftImpl()
2203 return Subclass::AddArguments(receiver, backing_store, args, push_size, in PushImpl()
2211 return Subclass::AddArguments(receiver, backing_store, args, unshift_size, in UnshiftImpl()
2223 Subclass::CopyElementsImpl(isolate, *backing_store, start, in SliceImpl()
2226 Subclass::TryTransitionResultArrayToPacked(result_array); in SliceImpl()
2259 Subclass::CopyElementsImpl(isolate, *backing_store, start, in SpliceImpl()
2266 Subclass::SpliceShrinkStep(isolate, receiver, backing_store, start, in SpliceImpl()
2270 Subclass::SpliceGrowStep(isolate, receiver, backing_store, start, in SpliceImpl()
2275 Subclass::CopyArguments(args, backing_store, add_count, 3, start); in SpliceImpl()
2278 Subclass::TryTransitionResultArrayToPacked(deleted_elements); in SpliceImpl()
2321 if (IsSmiOrObjectElementsKind(Subclass::kind())) { in FillImpl()
2327 Subclass::GetCapacityImpl(*receiver, receiver->elements()); in FillImpl()
2329 Subclass::GrowCapacityAndConvertImpl(receiver, end); in FillImpl()
2330 CHECK_EQ(Subclass::kind(), receiver->GetElementsKind()); in FillImpl()
2332 DCHECK_LE(end, Subclass::GetCapacityImpl(*receiver, receiver->elements())); in FillImpl()
2335 Subclass::SetImpl(receiver, index, *obj_value); in FillImpl()
2365 if (!IsObjectElementsKind(Subclass::kind()) && in IncludesValueImpl()
2366 !IsHoleyElementsKind(Subclass::kind())) { in IncludesValueImpl()
2372 if (IsSmiOrObjectElementsKind(Subclass::kind())) { in IncludesValueImpl()
2378 if (IsHoleyElementsKind(Subclass::kind()) && in IncludesValueImpl()
2382 if (IsObjectElementsKind(Subclass::kind()) && in IncludesValueImpl()
2390 DCHECK_EQ(Subclass::kind(), HOLEY_DOUBLE_ELEMENTS); in IncludesValueImpl()
2394 if (IsHoleyElementsKind(Subclass::kind()) && in IncludesValueImpl()
2401 } else if (!IsObjectElementsKind(Subclass::kind())) { in IncludesValueImpl()
2410 DCHECK(IsObjectElementsKind(Subclass::kind())); in IncludesValueImpl()
2415 if (IsHoleyElementsKind(Subclass::kind()) && element_k == the_hole) { in IncludesValueImpl()
2426 if (IsDoubleElementsKind(Subclass::kind())) { in IncludesValueImpl()
2433 if (IsHoleyElementsKind(Subclass::kind()) && in IncludesValueImpl()
2457 if (IsSmiElementsKind(Subclass::kind())) return Just(false); in IncludesValueImpl()
2459 if (IsDoubleElementsKind(Subclass::kind())) { in IncludesValueImpl()
2466 if (IsHoleyElementsKind(Subclass::kind()) && in IncludesValueImpl()
2477 DCHECK(IsSmiOrObjectElementsKind(Subclass::kind())); in IncludesValueImpl()
2495 if (!Subclass::HasElementImpl(isolate, *object, i, *elements)) continue; in CreateListFromArrayLikeImpl()
2497 value = Subclass::GetImpl(isolate, *elements, i); in CreateListFromArrayLikeImpl()
2515 Subclass::MoveElements(isolate, receiver, backing_store, in SpliceShrinkStep()
2530 Subclass::MoveElements(isolate, receiver, backing_store, in SpliceGrowStep()
2539 Handle<FixedArrayBase> new_elms = Subclass::ConvertElementsWithCapacity( in SpliceGrowStep()
2542 Subclass::CopyElementsImpl(isolate, *backing_store, start + delete_count, in SpliceGrowStep()
2564 Subclass::GetImpl(isolate, *backing_store, remove_index); in RemoveElement()
2566 Subclass::MoveElements(isolate, receiver, backing_store, 0, 1, new_length, in RemoveElement()
2569 Subclass::SetLengthImpl(isolate, receiver, new_length, backing_store); in RemoveElement()
2594 backing_store = Subclass::ConvertElementsWithCapacity( in AddArguments()
2602 Subclass::MoveElements(isolate, receiver, backing_store, add_size, 0, in AddArguments()
2608 Subclass::CopyArguments(args, backing_store, add_size, 1, insertion_index); in AddArguments()
2624 Subclass::SetImpl(raw_backing_store, dst_index + i, argument, mode); in CopyArguments()
2629 template <typename Subclass, typename KindTraits>
2631 : public FastElementsAccessor<Subclass, KindTraits> {
2634 : FastElementsAccessor<Subclass, KindTraits>(name) {} in FastSmiOrObjectElementsAccessor()
2652 uint32_t index = Subclass::GetIndexForEntryImpl(backing_store, entry); in GetRaw()
2714 if (!Subclass::HasEntryImpl(isolate, *elements, index)) continue; in CollectValuesOrEntriesImpl()
2715 Handle<Object> value = Subclass::GetImpl(isolate, *elements, index); in CollectValuesOrEntriesImpl()
2725 if (!Subclass::HasEntryImpl(isolate, elements, index)) continue; in CollectValuesOrEntriesImpl()
2748 if (!value->IsNumber() && !IsObjectElementsKind(Subclass::kind())) { in IndexOfValueImpl()
2805 template <typename Subclass, typename KindTraits>
2807 : public FastElementsAccessor<Subclass, KindTraits> {
2810 : FastElementsAccessor<Subclass, KindTraits>(name) {} in FastDoubleElementsAccessor()
2882 if (!Subclass::HasEntryImpl(isolate, *elements, index)) continue; in CollectValuesOrEntriesImpl()
2883 Handle<Object> value = Subclass::GetImpl(isolate, *elements, index); in CollectValuesOrEntriesImpl()
3630 template <typename Subclass, typename ArgumentsAccessor, typename KindTraits>
3632 : public ElementsAccessorBase<Subclass, KindTraits> {
3635 : ElementsAccessorBase<Subclass, KindTraits>(name) { in SloppyArgumentsElementsAccessor()
3662 return Subclass::ConvertArgumentsStoreResult(isolate, elements, result); in GetImpl()
3833 Subclass::SloppyDeleteImpl(obj, elements, delete_or_entry); in DeleteImpl()
3910 Handle<Object> element_k = Subclass::GetImpl(isolate, *elements, entry); in IncludesValueImpl()
3950 Handle<Object> element_k = Subclass::GetImpl(isolate, *elements, entry); in IndexOfValueImpl()
4225 template <typename Subclass, typename BackingStoreAccessor, typename KindTraits>
4227 : public ElementsAccessorBase<Subclass, KindTraits> {
4230 : ElementsAccessorBase<Subclass, KindTraits>(name) { in StringWrapperElementsAccessor()
4367 Subclass::BasicGrowCapacityAndConvertImpl(object, old_elements, from_kind, in GrowCapacityAndConvertImpl()