Home
last modified time | relevance | path

Searched refs:LENGTH_OFFSET (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Djs_regexp.h35 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)
Djs_for_in_iterator.h39 ACCESSORS_PRIMITIVE_FIELD(Index, uint32_t, INDEX_OFFSET, LENGTH_OFFSET)
40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
Dtagged_array.h88 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));
Djs_array.h70 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()
Djs_function.h68 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)
Djs_bigint.h157 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/
Dcontainers_deque_stub_builder.h35 … 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()
Dcontainers_queue_stub_builder.h52 … 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()
Dcontainers_lightweightset_stub_builder.h33 return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightSet::LENGTH_OFFSET)); in GetSize()
Dcontainers_arraylist_stub_builder.h32 GateRef len = Load(VariableType::JS_ANY(), obj, IntPtr(JSAPIArrayList::LENGTH_OFFSET)); in GetSize()
Dcontainers_plainarray_stub_builder.h32 return Load(VariableType::INT32(), obj, IntPtr(JSAPIPlainArray::LENGTH_OFFSET)); in GetSize()
Dbuiltins_array_stub_builder.cpp99 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()
Dbuiltins_object_stub_builder.cpp1021 Store(VariableType::INT32(), glue, array, IntPtr(TaggedArray::LENGTH_OFFSET), *newLen); in CopyFromEnumCache()
1217 elementArray, IntPtr(TaggedArray::LENGTH_OFFSET), *elementIndex); in GetEnumElementKeys()
Dbuiltins_stubs.cpp661 GateRef lengthOffset = IntPtr(JSArray::LENGTH_OFFSET); in DECLARE_BUILTINS()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_queue.h65 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)
Djs_api_lightweightset.h73 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)
Djs_api_plain_array.h71 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
Djs_api_arraylist.h85 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/
Dntype_hcr_lowering.cpp169 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()
Dcircuit_builder.cpp199 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()
Dnew_object_stub_builder.cpp249 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()
Dtyped_hcr_lowering.cpp870 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()
Dstub_builder.cpp673 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/
Doptimized_call.cpp594 __ 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/
Djs_stackinfo.cpp521 uintptr_t lengthAddr = constantpool + TaggedArray::LENGTH_OFFSET; in ArkGetMethodIdandJSPandaFileAddr()

12