/arkcompiler/ets_runtime/ecmascript/ |
D | js_regexp.h | 35 ACCESSORS(GroupName, GROUP_NAME_OFFSET, LENGTH_OFFSET) 36 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET) 39 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, REGEXP_BYTE_CODE_OFFSET, LENGTH_OFFSET)
|
D | js_for_in_iterator.h | 39 ACCESSORS_PRIMITIVE_FIELD(Index, uint32_t, INDEX_OFFSET, LENGTH_OFFSET) 40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
|
D | tagged_array.h | 88 static constexpr size_t LENGTH_OFFSET = TaggedObjectSize(); variable 89 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, EXTRA_LENGTH_OFFSET) 101 static_assert(TaggedArray::LENGTH_OFFSET == sizeof(TaggedObject));
|
D | js_array.h | 70 static constexpr size_t LENGTH_OFFSET = JSObject::SIZE; variable 71 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, TRACE_INDEX_OFFSET) 82 return LENGTH_OFFSET; in DECL_DUMP()
|
D | js_function.h | 68 ACCESSORS(Method, METHOD_OFFSET, LENGTH_OFFSET) 69 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET) 72 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, METHOD_OFFSET, LENGTH_OFFSET)
|
D | js_bigint.h | 157 static constexpr size_t LENGTH_OFFSET = TaggedObjectSize(); variable 158 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, BIT_FIELD_OFFSET)
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_deque_stub_builder.h | 35 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetSize() 45 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() 65 return Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetElementsLength()
|
D | containers_queue_stub_builder.h | 52 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetArrayLength() 66 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() 76 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetNextPosition()
|
D | containers_lightweightset_stub_builder.h | 33 return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightSet::LENGTH_OFFSET)); in GetSize()
|
D | containers_arraylist_stub_builder.h | 32 GateRef len = Load(VariableType::JS_ANY(), obj, IntPtr(JSAPIArrayList::LENGTH_OFFSET)); in GetSize()
|
D | containers_plainarray_stub_builder.h | 32 return Load(VariableType::INT32(), obj, IntPtr(JSAPIPlainArray::LENGTH_OFFSET)); in GetSize()
|
D | builtins_array_stub_builder.cpp | 99 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in Concat() 200 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in Filter() 467 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in Pop() 1492 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in NewArray() 1672 Store(VariableType::INT32(), glue, newArray, IntPtr(JSArray::LENGTH_OFFSET), strLen); in From() 1697 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in CreateSpliceDeletedArray()
|
D | builtins_object_stub_builder.cpp | 1021 Store(VariableType::INT32(), glue, array, IntPtr(TaggedArray::LENGTH_OFFSET), *newLen); in CopyFromEnumCache() 1217 elementArray, IntPtr(TaggedArray::LENGTH_OFFSET), *elementIndex); in GetEnumElementKeys()
|
D | builtins_stubs.cpp | 661 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in DECLARE_BUILTINS()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_queue.h | 65 static constexpr size_t LENGTH_OFFSET = JSObject::SIZE; variable 66 ACCESSORS(Length, LENGTH_OFFSET, FRONT_OFFSET); 71 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, LENGTH_OFFSET, FRONT_OFFSET)
|
D | js_api_lightweightset.h | 73 ACCESSORS(Values, VALUES_OFFSET, LENGTH_OFFSET); 74 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET); 77 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, HASHES_OFFSET, LENGTH_OFFSET)
|
D | js_api_plain_array.h | 71 ACCESSORS(Values, VALUES_OFFSET, LENGTH_OFFSET); 72 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET); 75 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, KEYS_OFFSET, LENGTH_OFFSET) in DECL_VISIT_OBJECT_FOR_JS_OBJECT() argument
|
D | js_api_arraylist.h | 85 static constexpr size_t LENGTH_OFFSET = JSObject::SIZE; variable 86 ACCESSORS(Length, LENGTH_OFFSET, SIZE); 88 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSObject, LENGTH_OFFSET, SIZE) in DECL_VISIT_OBJECT_FOR_JS_OBJECT() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ntype_hcr_lowering.cpp | 169 builder_.StoreConstOffset(VariableType::INT32(), array, JSArray::LENGTH_OFFSET, length); in NewJSArrayLiteral() 188 builder_.StoreConstOffset(VariableType::JS_ANY(), elements, TaggedArray::LENGTH_OFFSET, in NewTaggedArray() 272 builder_.StoreConstOffset(VariableType::JS_ANY(), *array, TaggedArray::LENGTH_OFFSET, in NewTaggedArray()
|
D | circuit_builder.cpp | 199 return Load(VariableType::INT32(), array, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetLengthOfTaggedArray() 589 GateRef offset = IntPtr(JSForInIterator::LENGTH_OFFSET); in GetLengthFromForInIterator() 619 GateRef offset = IntPtr(JSForInIterator::LENGTH_OFFSET); in SetLengthOfForInIterator() 805 GateRef offset = IntPtr(JSFunction::LENGTH_OFFSET); in SetLengthToFunction()
|
D | new_object_stub_builder.cpp | 249 Store(VariableType::INT32(), glue, *array, IntPtr(TaggedArray::LENGTH_OFFSET), newLen); in ExtendArray() 365 Store(VariableType::INT32(), glue, array, IntPtr(TaggedArray::LENGTH_OFFSET), newLen); in CopyArray() 716 …Store(VariableType::INT32(), glue_, result->ReadVariable(), IntPtr(TaggedArray::LENGTH_OFFSET), nu… in NewArgumentsList() 784 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in NewJSArrayLiteral() 922 Store(VariableType::INT32(), glue_, array, IntPtr(TaggedArray::LENGTH_OFFSET), length); in InitializeTaggedArrayWithSpeicalValue()
|
D | typed_hcr_lowering.cpp | 870 GateRef result = builder_.LoadConstOffset(VariableType::INT32(), array, JSArray::LENGTH_OFFSET); in LowerLoadArrayLength() 2277 GateRef lengthOffset = builder_.IntPtr(JSArray::LENGTH_OFFSET); in LowerArrayConstructor() 2309 GateRef lengthOffset = builder_.IntPtr(JSArray::LENGTH_OFFSET); in NewArrayConstructorWithNoArgs() 2902 …capacity = builder_.LoadConstOffset(VariableType::INT32(), properties, TaggedArray::LENGTH_OFFSET); in LowerMonoStoreProperty()
|
D | stub_builder.cpp | 673 auto length = Load(VariableType::INT32(), holder, IntPtr(JSArray::LENGTH_OFFSET)); in CallGetterHelper() 2033 IntPtr(panda::ecmascript::JSArray::LENGTH_OFFSET), in ICStoreElement() 2101 GateRef lengthOffset = IntPtr(panda::ecmascript::JSArray::LENGTH_OFFSET); in GetArrayLength() 2108 GateRef lengthOffset = IntPtr(panda::ecmascript::JSArray::LENGTH_OFFSET); in SetArrayLength() 2472 Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetKeyFromDictionary() 5346 auto len = Load(VariableType::INT32(), value, IntPtr(BigInt::LENGTH_OFFSET)); in FastToBoolean() 5965 GateRef lengthOffset = IntPtr(panda::ecmascript::JSAPIArrayList::LENGTH_OFFSET); in JSAPIContainerGet()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | optimized_call.cpp | 594 __ Mov(Operand(rcx, TaggedArray::LENGTH_OFFSET), rcx); in JSBoundFunctionCallInternal() 622 __ Mov(Operand(rdx, TaggedArray::LENGTH_OFFSET), rax); in JSBoundFunctionCallInternal()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackinfo.cpp | 521 uintptr_t lengthAddr = constantpool + TaggedArray::LENGTH_OFFSET; in ArkGetMethodIdandJSPandaFileAddr()
|