| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_typed_array_test.cpp | 309 HWTEST_F_L0(JSTypedArrayTest, SetArrayLength) in HWTEST_F_L0() argument 316 handleTypedArray->SetArrayLength(u32ArrayLength); in HWTEST_F_L0() 341 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0() 388 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0() 438 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0() 485 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0() 535 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0() 582 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0() 633 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0() 682 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0() [all …]
|
| D | object_operator_third_test.cpp | 162 handleArr->SetArrayLength(thread, (elementIndex - 1)); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | atomic_helper_test.cpp | 63 array->SetArrayLength(arrayLength); in HWTEST_F_L0() 93 array->SetArrayLength(arrayLength); in HWTEST_F_L0()
|
| D | array_helper_test.cpp | 108 handleTypeArray->SetArrayLength(11); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_array.cpp | 94 JSArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate() 236 JSArray::Cast(*array)->SetArrayLength(thread, newNumOfElements); in SetCapacity() 251 JSArray::Cast(*array)->SetArrayLength(thread, newLen); in SetCapacity() 416 JSArray::Cast(*obj)->SetArrayLength(thread, length); in CreateArrayFromList() 442 arr->SetArrayLength(thread, length); in CreateArrayFromList()
|
| D | js_stable_array.cpp | 46 receiver->SetArrayLength(thread, newLength); in Push() 68 receiver->SetArrayLength(thread, newLength); in Push() 100 receiver->SetArrayLength(thread, index); in Pop() 131 receiver->SetArrayLength(thread, index); in Pop() 152 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, actualDeleteCount); in HandleArray() 289 JSHandle<JSSharedArray>::Cast(newArrayHandle)->SetArrayLength(thread, actualDeleteCount); in Splice() 388 receiver->SetArrayLength(thread, index); in Shift() 416 receiver->SetArrayLength(thread, index); in Shift() 1420 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in With() 1471 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in ToSpliced() [all …]
|
| D | js_map_iterator.cpp | 164 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, k); in MapIteratorToList()
|
| D | js_array.h | 58 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() function
|
| D | tagged_list.cpp | 128 array->SetArrayLength(thread, numberOfNodes); in TaggedListToArray()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 187 jsTypedArray->SetArrayLength(arrayLength); in AllocateTypedArrayBuffer() 244 jsTypedArray->SetArrayLength(arrayLength); in AllocateTypedArrayBuffer() 478 jsTypedArray->SetArrayLength(elementLength); in CreateFromTypedArray() 538 jsTypedArray->SetArrayLength(elementLength); in SetTypedArrayProperties() 657 jsTypedArray->SetArrayLength(arrayLength); in SetArrayBufferProperties() 824 jsTypedArray->SetArrayLength(0); in AllocateTypedArray() 861 jsTypedArray->SetArrayLength(0); in AllocateSharedTypedArray()
|
| /arkcompiler/ets_runtime/ecmascript/shared_objects/ |
| D | js_shared_array.cpp | 109 JSSharedArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate() 230 JSSharedArray::Cast(*array)->SetArrayLength(thread, newLen); in SetCapacity() 366 JSSharedArray::Cast(*obj)->SetArrayLength(thread, length); in CreateArrayFromList()
|
| D | js_shared_array.h | 54 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() function
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_shared_map_test.cpp | 43 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
| D | builtins_set_test.cpp | 51 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
| D | builtins_map_test.cpp | 51 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
| D | builtins_shared_set_test.cpp | 52 jsArray->SetArrayLength(argv->GetThread(), length); in TestFunc()
|
| D | builtins_typedarray_test.cpp | 75 array->SetArrayLength(argv->GetThread(), len); in TestForEachFunc()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | share_gate_meta_data.h | 524 void SetArrayLength(uint32_t length) in SetArrayLength() function
|
| /arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
| D | serializer_test.cpp | 1713 array->SetArrayLength(thread, 20); in HWTEST_F_L0() 1896 array->SetArrayLength(thread, 1); in HWTEST_F_L0() 2058 array->SetArrayLength(thread, 1); in HWTEST_F_L0() 2192 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0() 2229 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0() 2429 array->SetArrayLength(thread, 1); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_vector_test.cpp | 604 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in HWTEST_F_L0() 629 longArray->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS * 2)); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_regexp.cpp | 718 array->SetArrayLength(thread, arrLen); in RegExpMatch() 1117 JSArray::Cast(*resultsList)->SetArrayLength(thread, resultsIndex + 1); in ReplaceInternal() 1735 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast() 1764 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast() 1786 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast()
|
| D | builtins_arraybuffer.cpp | 813 JSHandle<JSArray>(newArrayHandle)->SetArrayLength(thread, arrayLen); in TypedArrayToList()
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_lightweightset.cpp | 528 array->SetArrayLength(thread, length); in ToArray()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime_stub-inl.h | 564 arr->SetArrayLength(thread, elementIndex + 1); in StoreElement()
|
| /arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
| D | containersvectorcommon_fuzzer.h | 844 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in ContainersVectorCopyToArrayFuzzTest()
|