| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_typed_array_test.cpp | 330 HWTEST_F_L0(JSTypedArrayTest, SetArrayLength) in HWTEST_F_L0() argument 337 handleTypedArray->SetArrayLength(u32ArrayLength); in HWTEST_F_L0() 362 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0() 409 handleInt8Array->SetArrayLength(numElementsInt8Array); in HWTEST_F_L0() 459 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0() 506 handleUint8Array->SetArrayLength(numElementsUint8Array); in HWTEST_F_L0() 556 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0() 603 handleUint8ClampedArray->SetArrayLength(numElementsUint8ClampedArray); in HWTEST_F_L0() 654 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0() 703 handleInt16Array->SetArrayLength(numElementsInt16Array); in HWTEST_F_L0() [all …]
|
| D | js_serializer_test.cpp | 1318 array->SetArrayLength(thread, 20); in HWTEST_F_L0() 1691 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0() 1724 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0() 2089 int8Array->SetArrayLength(arrayLength); in HWTEST_F_L0()
|
| D | object_operator_test.cpp | 838 handleArr->SetArrayLength(thread, (elementIndex - 1)); 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 | 85 JSArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate() 213 JSArray::Cast(*array)->SetArrayLength(thread, newNumOfElements); in SetCapacity() 227 JSArray::Cast(*array)->SetArrayLength(thread, newLen); in SetCapacity() 355 JSArray::Cast(*obj)->SetArrayLength(thread, length); in CreateArrayFromList()
|
| D | js_array.h | 55 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() function
|
| D | js_stable_array.cpp | 50 receiver->SetArrayLength(thread, newLength); in Push() 78 receiver->SetArrayLength(thread, index); in Pop() 111 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, actualDeleteCount); in Splice() 211 receiver->SetArrayLength(thread, index); in Shift() 761 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in With() 814 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in ToSpliced() 845 JSHandle<JSArray>::Cast(newArrayHandle)->SetArrayLength(thread, insertCount); in ToReversed()
|
| D | tagged_list.cpp | 120 array->SetArrayLength(thread, numberOfNodes); in TaggedListToArray()
|
| D | js_serializer.cpp | 1721 typedArray->SetArrayLength(arrayLength.GetNumber()); in ReadJSTypedArray()
|
| D | object_factory.cpp | 457 cloneObject->SetArrayLength(thread_, object->GetArrayLength()); in CloneArrayLiteral() 1066 JSTypedArray::Cast(*obj)->SetArrayLength(0); in InitializeJSObject() 2294 array->SetArrayLength(length); in NewByteArray()
|
| D | js_object.cpp | 249 arr->SetArrayLength(thread, index + 1); in AddElementInternal()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 299 jsTypedArray->SetArrayLength(elementLength); in CreateFromTypedArray() 373 jsTypedArray->SetArrayLength(newByteLength / elementSize); in CreateFromArrayBuffer() 409 jsTypedArray->SetArrayLength(0); in AllocateTypedArray() 483 jsTypedArray->SetArrayLength(arrayLength); in AllocateTypedArrayBuffer()
|
| /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/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/ic/ |
| D | ic_runtime_stub-inl.h | 460 arr->SetArrayLength(thread, elementIndex + 1); in StoreElement()
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_lightweightset.cpp | 517 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/compiler/ |
| D | gate_meta_data.h | 1056 void SetArrayLength(uint32_t length) in SetArrayLength() function
|
| /arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
| D | containersvectorcommon_fuzzer.h | 810 array->SetArrayLength(thread, static_cast<uint32_t>(ELEMENT_NUMS)); in ContainersVectorCopyToArrayFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_array.cpp | 129 JSArray::Cast(*newArrayHandle)->SetArrayLength(thread, argc); in ArrayConstructor()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs-inl.h | 446 dstArray->SetArrayLength(thread, length); in RuntimeStArraySpread()
|