Searched refs:elementsLength (Results 1 - 9 of 9) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_function.cpp | 87 int elementsLength = static_cast<int>(ElementAccessor::GetElementsLength(obj)); in BuildArgumentsListFast() local 89 NewTaggedArray(elementsLength, JSTaggedValue::Undefined()); in BuildArgumentsListFast() 90 for (int i = 0; i < elementsLength; ++i) { in BuildArgumentsListFast()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_function_stub_builder.cpp | 288 GateRef elementsLength = GetLengthOfTaggedArray(*res);
in BuildArgumentsListFastElements() local 289 GateRef newTaggedArgList = newBuilder.NewTaggedArray(glue, elementsLength);
in BuildArgumentsListFastElements() 298 BRANCH(Int32UnsignedLessThan(*index, elementsLength), &storeValue, &afterLoop);
in BuildArgumentsListFastElements() 329 GateRef elementsLength = GetLengthOfTaggedArray(*res);
in BuildArgumentsListFastElements() local 330 GateRef newTaggedArgList = newBuilder.NewTaggedArray(glue, elementsLength);
in BuildArgumentsListFastElements() 339 BRANCH(Int32UnsignedLessThan(*index, elementsLength), &storeValue, &afterLoop);
in BuildArgumentsListFastElements()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_bitvector.cpp | 425 uint32_t elementsLength = static_cast<uint32_t>((length - 1) / BIT_SET_LENGTH + 1); in Resize() local 430 if (elementsLength == newElementsLength && length < newSize) { in Resize() 434 } else if (elementsLength < newElementsLength) { in Resize() 437 } else if (elementsLength > newElementsLength) { in Resize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ntype_hcr_lowering.cpp | 73 uint32_t elementsLength = acc_.GetArraySize(gate); in LowerCreateArrayWithOwn() local 74 GateRef length = builder_.IntPtr(elementsLength); in LowerCreateArrayWithOwn() 75 GateRef elements = CreateElementsWithLength(gate, glue, elementsLength); in LowerCreateArrayWithOwn()
|
H A D | hcr_circuit_builder.cpp | 516 GateRef elementsLength, RegionSpaceFlag flag) in CreateArray() 523 { currentControl, currentDepend, elementsLength }, in CreateArray() 515 CreateArray(ElementsKind kind, uint32_t arraySize, GateRef elementsLength, RegionSpaceFlag flag) CreateArray() argument
|
H A D | circuit_builder.h | 393 GateRef CreateArray(ElementsKind kind, uint32_t arraySize, GateRef elementsLength, RegionSpaceFlag flag);
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 158 uint32_t elementsLength = elements->GetLength(); in ExtractAndReturnWhetherWithElements() 160 TaggedArray::SetCapacityInOldSpace(thread, elements, elementsLength + 2); // 2: key-value pair in ExtractAndReturnWhetherWithElements() 161 elements->Set(thread, elementsLength, firstValue); in ExtractAndReturnWhetherWithElements() 162 elements->Set(thread, elementsLength + 1, secondValue); in ExtractAndReturnWhetherWithElements()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_stable_array.cpp | 509 uint32_t elementsLength = ElementAccessor::GetElementsLength(obj); in Join() local 510 uint32_t len = elementsLength > length ? length : elementsLength; in Join() 511 if (elementsLength == 0 && length != 0) { in Join() 522 if (k < elementsLength) { in Join()
|
H A D | object_factory.cpp | 543 uint32_t elementsLength = elements->GetLength(); in CloneArrayLiteral() local 544 MemSpaceType type = elementsLength > MAX_READ_ONLY_ARRAY_LENGTH ? in CloneArrayLiteral() 555 auto newElements = CopyArray(elements, elementsLength, elementsLength, JSTaggedValue::Hole(), type); in CloneArrayLiteral()
|
Completed in 24 milliseconds