Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.h91 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.cpp212 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dobject_factory.cpp492 uint32_t newLength = old->GetLength(); in CloneProperties() local
596 uint32_t newLength = old->GetLength(); in CloneProperties() local
2825 …Array> ObjectFactory::NewAndCopyTaggedArray(JSHandle<TaggedArray> &srcElements, uint32_t newLength, in NewAndCopyTaggedArray()
2843 uint32_t newLength, uint32_t oldLength, uint32_t k) in NewAndCopyTaggedArraySkipBarrier()
2870 …bject> ObjectFactory::NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyJSArrayObject()
2890 … ObjectFactory::NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyTaggedArrayByObject()
2912uint32_t newLength, uint32_t oldLength, in NewAndCopyMutantTaggedArrayByObject()
3175 uint32_t newLength = end - start; in CopyPartArray() local
3197 … ObjectFactory::CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength, in CopyArray()
3245 uint32_t newLength = oldLength - EnumCache::ENUM_CACHE_HEADER_SIZE; in CopyFromEnumCache() local
[all …]
Decma_string-inl.h102 inline void EcmaString::TrimLineString(const JSThread *thread, uint32_t newLength) in TrimLineString()
Djs_stable_array.cpp34 uint32_t newLength = argc + oldLength; in Push() local
55 uint32_t newLength = argc + oldLength; in Push() local
1755 uint32_t newLength = std::max(JSHandle<JSArray>::Cast(thisObjVal)->GetArrayLength(), itemCount); in CopySortedListToReceiver() local
Dshared_object_factory.cpp356uint32_t newLength, JSTaggedValue initVal, ElementsKind kind) in CopySArray()
Djs_bigint.cpp393 uint32_t newLength = bigintLength; in BitwiseAddOne() local
Decma_string.cpp43 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_arraylist.cpp253 int32_t newLength = length - (endIndex - startIndex); in RemoveByRange() local
333 int newLength = toIndex == length ? length - fromIndex : endIndex - fromIndex; in SubArrayList() local
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
/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.cpp732 uint64_t newLength = 0; in CreateFromArrayBuffer() local
799 uint64_t newLength = 0; in CreateFromSendableArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp1089 auto newLength = baseLength + fieldNum; in DefineSendableInstanceHClass() local
1115 auto newLength = fieldNum + static_cast<uint32_t>(baseLength); in DefineSendableInstanceHClass() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_shared_array.cpp1497 uint32_t newLength = argc + static_cast<uint32_t>(len); in Push() local
2480 auto newLength = JSTaggedValue::ToUint32(thread, newLengthValue); in ShrinkTo() local
2518 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.cpp1740 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp523 int newLength = static_cast<int>(newSubArrayList->GetLength().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.cpp2305 GateRef newLength = builder_.Int32Add(leftLength, rightLength); in StringAdd() local
2700 GateRef newLength = Int32Add(leftLength, rightLength); in StringConcat() local
3513 GateRef newLength = GetCallArg0(numArgs); in PadStart() local
3638 GateRef newLength = GetCallArg0(numArgs); in PadEnd() local
Dbuiltins_array_stub_builder.cpp2643 GateRef newLength = Int32Add(oldLength, ChangeIntPtrToInt32(numArgs)); in Push() local
2721 GateRef newLength = Int32Add(oldLength, ChangeIntPtrToInt32(numArgs)); in Push() local
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp990 uint32_t newLength = length1 + length2; in Concat() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcommon_stubs.cpp1412 GateRef newLength = Int32Argument(2U); in GenerateCircuit() local

12