Home
last modified time | relevance | path

Searched refs:elementLength (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp59 uint32_t elementLength = 0; in TypedArrayConstructor() local
64 elementLength = static_cast<uint32_t>(index.GetNumber()); in TypedArrayConstructor()
67 elementLength, arrayType); in TypedArrayConstructor()
226 uint32_t elementLength = srcObj->GetArrayLength(); in CreateFromTypedArray() local
237 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); in CreateFromTypedArray()
275 for (uint32_t count = elementLength; count > 0; count--) { in CreateFromTypedArray()
299 jsTypedArray->SetArrayLength(elementLength); in CreateFromTypedArray()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_mcr_lowering.cpp99 uint32_t elementLength = static_cast<uint32_t>(acc_.GetArraySize(gate)); in LowerCreateArrayWithBuffer() local
112 uint32_t arrayLength = std::max(literialLength, elementLength); in LowerCreateArrayWithBuffer()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp1895 int32_t elementLength; in DefinePropertiesAndElements() local
1896 if (!JudgeType(SerializationUID::INT32) || !ReadInt(&elementLength)) { in DefinePropertiesAndElements()
1899 for (int32_t i = 0; i < elementLength; i++) { in DefinePropertiesAndElements()