Home
last modified time | relevance | path

Searched refs:SetArrayLength (Results 1 – 25 of 37) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp331 HWTEST_F_L0(JSTypedArrayTest, SetArrayLength) in HWTEST_F_L0() argument
338 handleTypedArray->SetArrayLength(u32ArrayLength); in HWTEST_F_L0()
363 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0()
410 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0()
460 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0()
507 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0()
557 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0()
604 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0()
655 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0()
704 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0()
[all …]
Dobject_operator_third_test.cpp194 handleArr->SetArrayLength(thread, (elementIndex - 1)); in HWTEST_F_L0()
Djs_serializer_test.cpp1418 array->SetArrayLength(thread, 20); in HWTEST_F_L0()
1791 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
1824 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
2260 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Datomic_helper_test.cpp86 array->SetArrayLength(arrayLength); in HWTEST_F_L0()
116 array->SetArrayLength(arrayLength); in HWTEST_F_L0()
Darray_helper_test.cpp131 handleTypeArray->SetArrayLength(11); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp100 JSArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate()
230 JSArray::Cast(*array)->SetArrayLength(thread, newNumOfElements); in SetCapacity()
244 JSArray::Cast(*array)->SetArrayLength(thread, newLen); in SetCapacity()
374 JSArray::Cast(*obj)->SetArrayLength(thread, length); in CreateArrayFromList()
Djs_stable_array.cpp57 receiver->SetArrayLength(thread, newLength); in Push()
89 receiver->SetArrayLength(thread, index); in Pop()
121 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, actualDeleteCount); in Splice()
217 receiver->SetArrayLength(thread, index); in Shift()
990 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in With()
1041 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in ToSpliced()
1072 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in ToReversed()
Djs_array.h55 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() function
Djs_map_iterator.cpp170 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, k); in MapIteratorToList()
Dtagged_list.cpp134 array->SetArrayLength(thread, numberOfNodes); in TaggedListToArray()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp302 jsTypedArray->SetArrayLength(elementLength); in CreateFromTypedArray()
374 jsTypedArray->SetArrayLength(newByteLength / elementSize); in CreateFromArrayBuffer()
410 jsTypedArray->SetArrayLength(0); in AllocateTypedArray()
489 jsTypedArray->SetArrayLength(arrayLength); in AllocateTypedArrayBuffer()
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp1449 array->SetArrayLength(thread, 20); in HWTEST_F_L0()
1626 array->SetArrayLength(thread, 1); in HWTEST_F_L0()
1761 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
1797 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
1841 array->SetArrayLength(thread, 1); in HWTEST_F_L0()
1880 array->SetArrayLength(thread, 1); in HWTEST_F_L0()
1912 array->SetArrayLength(thread, 1); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_set_test.cpp75 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
Dbuiltins_map_test.cpp75 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
Dbuiltins_typedarray_test.cpp99 jsArray->SetArrayLength(argv->GetThread(), length); in TestForEachFunc()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dshare_gate_meta_data.h580 void SetArrayLength(uint32_t length) in SetArrayLength() function
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_vector_test.cpp603 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in HWTEST_F_L0()
628 longArray->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS * 2)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_lightweightset.cpp521 array->SetArrayLength(thread, length); in ToArray()
Dcontainers_vector.cpp714 array->SetArrayLength(thread, length); in ConvertToArray()
Dcontainers_arraylist.cpp660 array->SetArrayLength(thread, length); in ConvertToArray()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h574 arr->SetArrayLength(thread, elementIndex + 1); in StoreElement()
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/
Dcontainersvectorcommon_fuzzer.h811 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in ContainersVectorCopyToArrayFuzzTest()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.cpp786 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, arrayLen); in TypedArrayToList()
Dbuiltins_regexp.cpp1607 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast()
1636 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast()
1658 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp1428 SetArrayLength(glue, thisValue, newLength); in Push()
1979 SetArrayLength(glue, thisValue, newCapacity); in Splice()

12