Home
last modified time | relevance | path

Searched defs:arrayLength (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_array_test.cpp74 static void TestEtsPrimitiveArray(uint32_t arrayLength, ClassType element) in TestEtsPrimitiveArray()
91 uint32_t arrayLength = 100U; in TEST_F() local
103 static void TestEtsObjectArray(const char *className, const char *source, uint32_t arrayLength) in TestEtsObjectArray()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_runtime_test.cpp59 uint32_t arrayLength = 5; in HWTEST_F_L0() local
101 uint32_t arrayLength = 5; in HWTEST_F_L0() local
149 uint32_t arrayLength = 5; in HWTEST_F_L0() local
166 uint32_t arrayLength = 2; in HWTEST_F_L0() local
194 uint32_t arrayLength = 2; in HWTEST_F_L0() local
Dic_runtime_stub_test.cpp76 uint32_t arrayLength = 2U; in HWTEST_F_L0() local
107 uint32_t arrayLength = 2U; // 2 means ProfileTypeInfo length in HWTEST_F_L0() local
167 uint32_t arrayLength = 1U; in HWTEST_F_L0() local
191 uint32_t arrayLength = 2U; // 2 means ProfileTypeInfo length in HWTEST_F_L0() local
347 uint32_t arrayLength = bitOffset + 1U; in HWTEST_F_L0() local
405 uint32_t arrayLength = bitOffset + 1U; in HWTEST_F_L0() local
444 uint32_t arrayLength = bitOffset + 1U; in HWTEST_F_L0() local
479 uint32_t arrayLength = bitOffset + 1U; in HWTEST_F_L0() local
505 uint32_t arrayLength = bitOffset + 1U; in HWTEST_F_L0() local
551 uint32_t arrayLength = 3U; in HWTEST_F_L0() local
Dprofile_type_info_test.cpp80 uint32_t arrayLength = 6; in HWTEST_F_L0() local
324 uint32_t arrayLength = 2; in HWTEST_F_L0() local
354 uint32_t arrayLength = 2; in HWTEST_F_L0() local
382 uint32_t arrayLength = 2; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_array_test.cpp40 uint32_t arrayLength = 2; in HWTEST_F_L0() local
53 uint32_t arrayLength = 2; in HWTEST_F_L0() local
75 uint32_t arrayLength = 2; in HWTEST_F_L0() local
99 uint32_t arrayLength = 2; in HWTEST_F_L0() local
123 uint32_t arrayLength = 10; in HWTEST_F_L0() local
Dtemplate_string_test.cpp42 uint32_t arrayLength = 3; in HWTEST_F_L0() local
Djs_stable_array_test.cpp598 int64_t arrayLength = ARRAY_LENGTH_4; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/serializer/
Dvalue_serializer.cpp332 size_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in SerializeJSArrayBufferPrologue() local
374 size_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in SerializeJSSharedArrayBufferPrologue() local
397 size_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in SerializeJSSendableArrayBufferPrologue() local
Dbase_deserializer.cpp208 size_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in TransferArrayBufferAttach() local
218 size_t arrayLength = arrayBuffer->GetArrayBufferByteLength(); in IncreaseSharedArrayBufferReference() local
/arkcompiler/ets_runtime/ecmascript/base/tests/
Datomic_helper_test.cpp54 uint32_t arrayLength = 3; in HWTEST_F_L0() local
84 uint32_t arrayLength = 3; in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Doptimize_string_concat.cpp221LengthMethodInst *arrayLength, Inst *concatCall) in CreateAppendArgsLoop()
315 auto arrayLength = GetArrayLength(args); in ReplaceStringConcatWithStringBuilderAppend() local
323 auto arrayLength = CreateLenArray(GetGraph(), args); in ReplaceStringConcatWithStringBuilderAppend() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/static/
Dgc_marker_static-inl.h82 ArraySizeT arrayLength = arrayObject->GetLength(); in HandleArrayClass() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/dynamic/
Dgc_marker_dynamic-inl.h89 ArraySizeT arrayLength = arrayObject->GetLength(); in HandleArrayClass() local
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.cpp90 double arrayLength = length.GetNumber(); in ArrayCreate() local
125 int64_t arrayLength = length.GetNumber(); in ArraySpeciesCreate() local
302 uint32_t arrayLength = JSSharedArray::Cast(*array)->GetArrayLength(); in ArraySetLength() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sample.cpp1700 uint32_t arrayLength = arrayObject->Length(vm_); in HWTEST_F_L0() local
1730 uint32_t arrayLength = arrayObject->Length(vm_); in HWTEST_F_L0() local
1759 uint32_t arrayLength = arrayObject->Length(vm_); in HWTEST_F_L0() local
1788 uint32_t arrayLength = arrayObject->Length(vm_); in HWTEST_F_L0() local
1831 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
1856 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
1881 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
1906 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
1931 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
1956 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp76 double arrayLength = length.GetNumber(); in ArrayCreate() local
122 int64_t arrayLength = length.GetNumber(); in ArraySpeciesCreate() local
358 uint32_t arrayLength = JSArray::Cast(*array)->GetArrayLength(); in ArraySetLength() local
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddefault_inspector_extension.cpp202 ArraySizeT arrayLength = array.GetLength(); in EnumerateProperties() local
/arkcompiler/ets_runtime/ecmascript/ic/
Dprofile_type_info.cpp105 const int arrayLength = 2; in AddHandlerWithKey() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp106 uint32_t arrayLength = acc_.GetArraySize(gate); in LowerCreateArrayWithBuffer() local
190 GateRef NTypeHCRLowering::CreateElementsWithLength(GateRef gate, GateRef glue, size_t arrayLength) in CreateElementsWithLength()
Dtyped_native_inline_lowering.cpp2826 GateRef arrayLength = builder_.GetLengthOfJSArray(thisArray); in LowerArrayIncludesIndexOf() local
3009 …tiveInlineLowering::IncludesUndefinedLoop(GateRef elements, GateRef fromIndex, GateRef arrayLength) in IncludesUndefinedLoop()
3048GateRef arrayLength, BuiltinsStubCSigns::ID callID, GateRef gate) in NormalCompareLoop()
3589 GateRef arrayLength = builder_.GetLengthOfJSArray(thisValue); in LowerArrayPop() local
3894 GateRef arrayLength, in TargetIntCompareLoop()
4046 GateRef arrayLength, in TargetNumberCompareLoop()
4150 GateRef arrayLength, in TargetStringCompareLoop()
4211 GateRef arrayLength, in TargetEqualCompareLoop()
4259 GateRef arrayLength) in TargetBigIntCompareLopp()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp152 uint32_t arrayLength = static_cast<uint32_t>(length); in AllocateTypedArrayBuffer() local
208 uint32_t arrayLength = static_cast<uint32_t>(length); in AllocateTypedArrayBuffer() local
645 const uint32_t offset, const uint32_t arrayLength) in SetArrayBufferProperties()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp49 uint32_t arrayLength = argv->GetLength(); in MakeArgListWithHole() local
Dbuiltins_string.cpp1753 uint32_t arrayLength = 0; in CreateArrayThisStringAndSeperatorStringAreNotEmpty() local
2417 uint32_t arrayLength = cacheArray->GetLength(); in FindCachedResult() local
2435 uint32_t arrayLength = resultArray->GetLength(); in SetCachedResult() local
2489 uint32_t arrayLength = resultArray->GetLength(); in SetCachedResult() local
/arkcompiler/runtime_core/static_core/runtime/tests/
Dg1gc_test.cpp254 size_t arrayLength = GetHumongousArrayLength(ClassRoot::ARRAY_STRING); in TEST_F() local
711 size_t arrayLength = arraySize / elemSize + 1; in TEST_F() local
947 size_t arrayLength = arraySize / elemSize + 1; in TEST_F() local
1121 size_t arrayLength = GetHumongousArrayLength(ClassRoot::ARRAY_STRING) - 50; in TEST_F() local
1195 size_t arrayLength = GetHumongousArrayLength(ClassRoot::ARRAY_STRING); in TEST_F() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h359 auto arrayLength = graph_->CreateInstLenArray(DataType::INT32, bcAddr, nullCheck, false); in BuildStringLengthIntrinsic() local
931 auto arrayLength = graph_->CreateInstLenArray(DataType::INT32, pc, nullCheck); in BuildChecksBeforeArray() local
1566 auto arrayLength = graph_->CreateInstLenArray(DataType::INT32, bcAddr, nullCheck, false); in TryBuildStringCharAtIntrinsic() local

12