Home
last modified time | relevance | path

Searched defs:newLength (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/common_interfaces/objects/string/
Dline_string-inl.h76 inline void LineString::Trim(uint32_t newLength) in Trim()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.h119 static bool ShouldTrim(uint32_t oldLength, uint32_t newLength) in ShouldTrim()
Dvtable.cpp69 void VTable::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dweak_vector.cpp130 uint32_t newLength = VectorToArrayIndex(capacity); in Copy() local
Dtagged_array.cpp205 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dobject_factory.cpp515 uint32_t newLength = old->GetLength(); in CloneProperties() local
621 uint32_t newLength = old->GetLength(); in CloneProperties() local
2892 …Array> ObjectFactory::NewAndCopyTaggedArray(JSHandle<TaggedArray> &srcElements, uint32_t newLength, in NewAndCopyTaggedArray()
2910 uint32_t newLength, uint32_t oldLength, uint32_t k) in NewAndCopyTaggedArraySkipBarrier()
2937 …bject> ObjectFactory::NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyJSArrayObject()
2957 … ObjectFactory::NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyTaggedArrayByObject()
2979uint32_t newLength, uint32_t oldLength, in NewAndCopyMutantTaggedArrayByObject()
3242 uint32_t newLength = end - start; in CopyPartArray() local
3264 … ObjectFactory::CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength, in CopyArray()
3311 uint32_t newLength = old->GetLength(); in CopyFromKeyArray() local
[all …]
Decma_string-inl.h114 inline void EcmaString::TrimLineString(uint32_t newLength) in TrimLineString()
Djs_stable_array.cpp35 uint32_t newLength = argc + oldLength; in Push() local
56 uint32_t newLength = argc + oldLength; in Push() local
1771 uint32_t newLength = std::max(JSHandle<JSArray>::Cast(thisObjVal)->GetArrayLength(), itemCount); in CopySortedListToReceiver() local
Dshared_object_factory.cpp417uint32_t newLength, JSTaggedValue initVal, ElementsKind kind) in CopySArray()
Djs_array.cpp1089 uint32_t newLength = TaggedArray::ExtendCapacityWithPadding(length); in Push() local
Decma_string.cpp46 uint32_t newLength = leftLength + rightLength; in Concat() local
/arkcompiler/ets_runtime/ecmascript/module/
Djs_shared_module.cpp152 uint32_t newLength = oldExports->GetLength(); in GenerateSharedExports() local
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.cpp225 int32_t newLength = length - (endIndex - fromIndex); in RemoveByRange() local
245 uint32_t newLength = static_cast<uint32_t>(toIndex - fromIndex); in SubVector() local
Djs_api_arraylist.cpp253 int32_t newLength = length - (endIndex - startIndex); in RemoveByRange() local
333 int newLength = toIndex == length ? length - fromIndex : endIndex - fromIndex; in SubArrayList() local
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dglobal_object_storage.h237 size_t newLength = storage_.size() * ENSURE_CAPACITY_MULTIPLIER; in EnsureCapacity() local
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp731 uint64_t newLength = 0; in CreateFromArrayBuffer() local
798 uint64_t newLength = 0; in CreateFromSendableArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp1103 auto newLength = baseLength + fieldNum; in DefineSendableInstanceHClass() local
1129 auto newLength = fieldNum + static_cast<uint32_t>(baseLength); in DefineSendableInstanceHClass() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_shared_array.cpp1490 uint32_t newLength = argc + static_cast<uint32_t>(len); in Push() local
2463 auto newLength = JSTaggedValue::ToUint32(thread, newLengthValue); in ShrinkTo() local
2501 auto newLength = JSTaggedValue::ToUint32(thread, newLengthValue); in ExtendTo() local
Dbuiltins_shared_typedarray.cpp1614 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
Dbuiltins_typedarray.cpp1717 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp524 int newLength = static_cast<int>(newSubArrayList->GetLength(thread).GetArrayLength()); in HWTEST_F_L0() local
Djs_api_bitvector_test.cpp478 int newLength = 10; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp2255 GateRef newLength = builder_.Int32Add(leftLength, rightLength); in StringAdd() local
2589 GateRef newLength = Int32Add(leftLength, rightLength); in StringConcat() local
3408 GateRef newLength = GetCallArg0(numArgs); in PadStart() local
3533 GateRef newLength = GetCallArg0(numArgs); in PadEnd() local
Dbuiltins_array_stub_builder.cpp2650 GateRef newLength = Int32Add(oldLength, ChangeIntPtrToInt32(numArgs)); in Push() local
2729 GateRef newLength = Int32Add(oldLength, ChangeIntPtrToInt32(numArgs)); in Push() local
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp1004 uint32_t newLength = length1 + length2; in Concat() local

12