Home
last modified time | relevance | path

Searched refs:FixedArrayBase (Results 1 – 25 of 41) sorted by relevance

12

/external/v8/src/
Delements.cc105 typedef FixedArrayBase BackingStore;
131 void CopyObjectToObjectElements(Isolate* isolate, FixedArrayBase* from_base, in CopyObjectToObjectElements()
133 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements()
172 Isolate* isolate, FixedArrayBase* from_base, uint32_t from_start, in CopyDictionaryToObjectElements()
173 FixedArrayBase* to_base, ElementsKind to_kind, uint32_t to_start, in CopyDictionaryToObjectElements()
217 FixedArrayBase* from_base, in CopyDoubleToObjectElements()
219 FixedArrayBase* to_base, in CopyDoubleToObjectElements()
266 static void CopyDoubleToDoubleElements(FixedArrayBase* from_base, in CopyDoubleToDoubleElements()
268 FixedArrayBase* to_base, in CopyDoubleToDoubleElements()
299 static void CopySmiToDoubleElements(FixedArrayBase* from_base, in CopySmiToDoubleElements()
[all …]
Delements.h47 FixedArrayBase* backing_store,
85 Handle<FixedArrayBase> backing_store,
97 Handle<JSObject> object, Handle<FixedArrayBase> backing_store,
149 FixedArrayBase* backing_store) = 0;
173 virtual void CopyElements(Isolate* isolate, Handle<FixedArrayBase> source,
175 Handle<FixedArrayBase> destination, int size) = 0;
201 FixedArrayBase* backing_store,
206 Handle<FixedArrayBase> backing_store, uint32_t entry,
219 Handle<FixedArrayBase> destination,
Dcode-stub-assembler.h341 TNode<FixedArrayBase> UnsafeCastObjectToFixedArrayBase(TNode<Object> p_o) { in UnsafeCastObjectToFixedArrayBase()
852 TNode<FixedArrayBase> LoadElements(SloppyTNode<JSObject> object);
858 TNode<Smi> LoadFixedArrayBaseLength(SloppyTNode<FixedArrayBase> array);
861 SloppyTNode<FixedArrayBase> array);
967 void FixedArrayBoundsCheck(TNode<FixedArrayBase> array, Node* index,
1066 TNode<FixedArrayBase> elements, TNode<IntPtrT> index,
1172 Node* StoreElements(TNode<Object> object, TNode<FixedArrayBase> elements);
1402 TNode<FixedArrayBase> AllocateFixedArray(
1407 TNode<FixedArrayBase> AllocateFixedArray(
1500 ElementsKind from_kind, TNode<FixedArrayBase> from_array,
[all …]
Dobjects-inl.h1000 FixedArrayBase* JSObject::elements() const { in ACCESSORS()
1002 return static_cast<FixedArrayBase*>(array); in ACCESSORS()
1205 Handle<FixedArrayBase> elements, in EnsureCanContainElements()
1240 Handle<FixedArrayBase> value) { in SetMapAndElements()
1254 void JSObject::set_elements(FixedArrayBase* value, WriteBarrierMode mode) { in set_elements()
1261 FixedArrayBase* elements = map()->GetInitialElements(); in initialize_elements()
2522 FixedArrayBase* fixed_array = in ACCESSORS()
2523 reinterpret_cast<FixedArrayBase*>(READ_FIELD(this, kElementsOffset)); in ACCESSORS()
Dobjects.h694 class FixedArrayBase; variable
789 V(FixedArrayBase) \
1061 V(FixedArrayBase) \
2264 DECL_ACCESSORS(elements, FixedArrayBase)
2268 Handle<FixedArrayBase> elements);
2466 Handle<FixedArrayBase> elements,
2633 ElementsKind from_kind, Handle<FixedArrayBase> from_elements,
2634 ElementsKind to_kind, Handle<FixedArrayBase> to_elements);
/external/v8/src/builtins/
Darray-reverse.tq7 elements: FixedArrayBase, index: Smi): T;
10 elements: FixedArrayBase, index: Smi): Smi {
16 elements: FixedArrayBase, index: Smi): Object {
22 elements: FixedArrayBase, index: Smi): float64 {
35 elements: FixedArrayBase, index: Smi, value: T);
38 elements: FixedArrayBase, index: Smi, value: Smi) {
44 elements: FixedArrayBase, index: Smi, value: Object) {
50 elements: FixedArrayBase, index: Smi, value: float64) {
61 elements: FixedArrayBase, length: Smi) {
147 const elements: FixedArrayBase = array.elements;
Dbuiltins-call-gen.cc129 TVARIABLE(FixedArrayBase, var_elements); in CallOrConstructWithArrayLike()
169 TNode<FixedArrayBase> elements = LoadElements(js_arguments); in CallOrConstructWithArrayLike()
207 TNode<FixedArrayBase> elements = var_elements.value(); in CallOrConstructWithArrayLike()
285 TVARIABLE(FixedArrayBase, var_elements); in CallOrConstructWithSpread()
344 TNode<FixedArrayBase> elements = var_elements.value(); in CallOrConstructWithSpread()
Dbase.tq43 type FixedArrayBase extends HeapObject generates 'TNode<FixedArrayBase>';
44 type FixedArray extends FixedArrayBase generates 'TNode<FixedArray>';
45 type FixedDoubleArray extends FixedArrayBase generates
47 type FixedTypedArrayBase extends FixedArrayBase generates
541 extern macro UnsafeCastObjectToFixedArrayBase(Object): FixedArrayBase;
600 unsafe_cast<FixedArrayBase>(o: Object): FixedArrayBase {
605 const kEmptyFixedArray: FixedArrayBase =
606 unsafe_cast<FixedArrayBase>(LoadRoot(kEmptyFixedArrayRootIndex));
627 extern operator '.elements' macro LoadElements(JSObject): FixedArrayBase;
628 extern operator '.elements=' macro StoreElements(JSObject, FixedArrayBase);
[all …]
Dbuiltins-array.cc685 static_cast<uint32_t>(FixedArrayBase::cast(*storage_)->length())) { in increase_index_offset()
910 FixedArrayBase::cast(object->elements())->length()); in CollectElementIndices()
926 FixedArrayBase* elements = object->elements(); in CollectElementIndices()
1215 Handle<FixedArrayBase> storage = in Slow_ArrayConcat()
/external/v8/src/objects/
Dfixed-array.h70 class FixedArrayBase : public HeapObject {
82 DECL_CAST(FixedArrayBase)
104 class FixedArray : public FixedArrayBase {
219 class FixedDoubleArray : public FixedArrayBase {
464 class ByteArray : public FixedArrayBase {
558 class FixedTypedArrayBase : public FixedArrayBase {
571 static const int kBasePointerOffset = FixedArrayBase::kHeaderSize;
Dliteral-objects-inl.h51 ACCESSORS(ArrayBoilerplateDescription, constant_elements, FixedArrayBase,
Djs-array-inl.h39 Handle<FixedArrayBase> storage) { in SetContent()
Djs-array.h51 Handle<FixedArrayBase> storage);
Dliteral-objects.h56 DECL_ACCESSORS(constant_elements, FixedArrayBase)
Dfixed-array-inl.h23 CAST_ACCESSOR(FixedArrayBase) in CAST_ACCESSOR()
30 SMI_ACCESSORS(FixedArrayBase, length, kLengthOffset) in CAST_ACCESSOR()
31 SYNCHRONIZED_SMI_ACCESSORS(FixedArrayBase, length, kLengthOffset) in CAST_ACCESSOR()
39 Object* FixedArrayBase::unchecked_synchronized_length() const { in CAST_ACCESSOR()
Dcode.h690 class BytecodeArray : public FixedArrayBase {
804 DEFINE_FIELD_OFFSET_CONSTANTS(FixedArrayBase::kHeaderSize,
Dmap-inl.h180 FixedArrayBase* Map::GetInitialElements() const { in GetInitialElements()
181 FixedArrayBase* result = nullptr; in GetInitialElements()
/external/v8/src/heap/
Dobject-stats.cc356 bool CanRecordFixedArray(FixedArrayBase* array);
357 bool IsCowArray(FixedArrayBase* array);
483 FixedArrayBase* elements = boilerplate->elements(); in RecordVirtualAllocationSiteDetails()
511 FixedArrayBase* elements = object->elements(); in RecordVirtualJSGlobalObjectDetails()
544 FixedArrayBase* elements = object->elements(); in RecordVirtualJSObjectDetails()
744 bool ObjectStatsCollectorImpl::CanRecordFixedArray(FixedArrayBase* array) { in CanRecordFixedArray()
752 bool ObjectStatsCollectorImpl::IsCowArray(FixedArrayBase* array) { in IsCowArray()
Dfactory.h162 Handle<FixedArrayBase> NewFixedDoubleArray(
166 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(
203 ElementsKind elements_kind, Handle<FixedArrayBase> constant_values);
614 Handle<JSArray> NewJSArrayWithElements(Handle<FixedArrayBase> elements,
619 Handle<FixedArrayBase> elements,
Dfactory-inl.h155 Handle<JSArray> Factory::NewJSArrayWithElements(Handle<FixedArrayBase> elements, in NewJSArrayWithElements()
Dheap.cc2865 explicit LeftTrimmerVerifierRootVisitor(FixedArrayBase* to_check) in LeftTrimmerVerifierRootVisitor()
2876 FixedArrayBase* to_check_;
2894 FixedArrayBase* Heap::LeftTrimFixedArray(FixedArrayBase* object, in LeftTrimFixedArray()
2915 STATIC_ASSERT(FixedArrayBase::kMapOffset == 0); in LeftTrimFixedArray()
2916 STATIC_ASSERT(FixedArrayBase::kLengthOffset == kPointerSize); in LeftTrimFixedArray()
2917 STATIC_ASSERT(FixedArrayBase::kHeaderSize == 2 * kPointerSize); in LeftTrimFixedArray()
2944 FixedArrayBase* new_object = in LeftTrimFixedArray()
2945 FixedArrayBase::cast(HeapObject::FromAddress(new_start)); in LeftTrimFixedArray()
2950 new_object, FixedArrayBase::kLengthOffset)); in LeftTrimFixedArray()
2984 void Heap::RightTrimFixedArray(FixedArrayBase* object, int elements_to_trim) { in RightTrimFixedArray()
[all …]
Dheap.h542 FixedArrayBase* LeftTrimFixedArray(FixedArrayBase* obj, int elements_to_trim);
545 void RightTrimFixedArray(FixedArrayBase* obj, int elements_to_trim);
/external/v8/src/compiler/
Djs-heap-broker.cc188 Handle<FixedArrayBase> elements(boilerplate->elements(), isolate); in IsFastLiteralHelper()
389 FixedArrayBaseData(JSHeapBroker* broker_, Handle<FixedArrayBase> object_, in FixedArrayBaseData()
831 Handle<FixedArrayBase> object_elements = elements().object<FixedArrayBase>(); in EnsureElementsTenured()
1000 BIMODAL_ACCESSOR_C(FixedArrayBase, int, length) in BIMODAL_ACCESSOR()
1018 HANDLE_ACCESSOR(JSObject, FixedArrayBase, elements) in BIMODAL_ACCESSOR()
/external/v8/src/runtime/
Druntime-array.cc203 int array_length = FixedArrayBase::cast(object->elements())->length(); in RemoveArrayHoles()
213 Handle<FixedArrayBase> elements_base(object->elements(), isolate); in RemoveArrayHoles()
407 Handle<FixedArrayBase> new_elements(from->elements(), isolate); in RUNTIME_FUNCTION()
427 FixedArrayBase* elements = array->elements(); in RUNTIME_FUNCTION()
Druntime-literals.cc404 Handle<FixedArrayBase> constant_elements_values( in Create()
408 Handle<FixedArrayBase> copied_elements_values; in Create()

12