/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_typed_array_test.cpp | 331 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 …]
|
D | object_operator_third_test.cpp | 194 handleArr->SetArrayLength(thread, (elementIndex - 1)); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 1418 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/ |
D | atomic_helper_test.cpp | 86 array->SetArrayLength(arrayLength); in HWTEST_F_L0() 116 array->SetArrayLength(arrayLength); in HWTEST_F_L0()
|
D | array_helper_test.cpp | 131 handleTypeArray->SetArrayLength(11); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_array.cpp | 100 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()
|
D | js_stable_array.cpp | 57 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()
|
D | js_array.h | 55 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() function
|
D | js_map_iterator.cpp | 170 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, k); in MapIteratorToList()
|
D | tagged_list.cpp | 134 array->SetArrayLength(thread, numberOfNodes); in TaggedListToArray()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | typed_array_helper.cpp | 302 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/ |
D | serializer_test.cpp | 1449 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/ |
D | builtins_set_test.cpp | 75 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
D | builtins_map_test.cpp | 75 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
D | builtins_typedarray_test.cpp | 99 jsArray->SetArrayLength(argv->GetThread(), length); in TestForEachFunc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | share_gate_meta_data.h | 580 void SetArrayLength(uint32_t length) in SetArrayLength() function
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_vector_test.cpp | 603 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/ |
D | containers_lightweightset.cpp | 521 array->SetArrayLength(thread, length); in ToArray()
|
D | containers_vector.cpp | 714 array->SetArrayLength(thread, length); in ConvertToArray()
|
D | containers_arraylist.cpp | 660 array->SetArrayLength(thread, length); in ConvertToArray()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime_stub-inl.h | 574 arr->SetArrayLength(thread, elementIndex + 1); in StoreElement()
|
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
D | containersvectorcommon_fuzzer.h | 811 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in ContainersVectorCopyToArrayFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_arraybuffer.cpp | 786 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, arrayLen); in TypedArrayToList()
|
D | builtins_regexp.cpp | 1607 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/ |
D | builtins_array_stub_builder.cpp | 1428 SetArrayLength(glue, thisValue, newLength); in Push() 1979 SetArrayLength(glue, thisValue, newCapacity); in Splice()
|