Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.h82 static inline bool ShouldTrim(uint32_t oldLength, uint32_t newLength) in ShouldTrim()
Dvtable.cpp70 void VTable::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dweak_vector.cpp131 uint32_t newLength = VectorToArrayIndex(capacity); in Copy() local
Dtagged_array-inl.h244 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dobject_factory.cpp433 uint32_t newLength = old->GetLength(); in CloneProperties() local
537 uint32_t newLength = old->GetLength(); in CloneProperties() local
2405 …Array> ObjectFactory::NewAndCopyTaggedArray(JSHandle<TaggedArray> &srcElements, uint32_t newLength, in NewAndCopyTaggedArray()
2453 …bject> ObjectFactory::NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyJSArrayObject()
2472 … ObjectFactory::NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyTaggedArrayByObject()
2501uint32_t newLength, uint32_t oldLength, in NewAndCopyMutantTaggedArrayByObject()
2768 uint32_t newLength = end - start; in CopyPartArray() local
2790 … ObjectFactory::CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength, in CopyArray()
2842 uint32_t newLength = oldLength - EnumCache::ENUM_CACHE_HEADER_SIZE; in CopyFromEnumCache() local
2887 uint32_t newLength = old->GetLength(); in CopyLayoutInfo() local
[all …]
Decma_string-inl.h88 inline void EcmaString::TrimLineString(const JSThread *thread, uint32_t newLength) in TrimLineString()
Djs_stable_array.cpp45 uint32_t newLength = argc + oldLength; in Push() local
Decma_string.cpp31 uint32_t newLength = leftLength + rightLength; in Concat() local
Djs_bigint.cpp379 uint32_t newLength = bigintLength; in BitwiseAddOne() local
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_arraylist.cpp245 int32_t newLength = length - (endIndex - startIndex); in RemoveByRange() local
316 int newLength = toIndex == length ? length - fromIndex : endIndex - fromIndex; in SubArrayList() local
Djs_api_vector.cpp228 int32_t newLength = length - (endIndex - fromIndex); in RemoveByRange() local
248 uint32_t newLength = static_cast<uint32_t>(toIndex - fromIndex); in SubVector() local
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dglobal_object_storage.h235 size_t newLength = storage_.size() * ENSURE_CAPACITY_MULTIPLIER; in EnsureCapacity() local
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp330 uint64_t newLength = 0; in CreateFromArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp537 int newLength = static_cast<int>(newSubArrayList->GetLength().GetArrayLength()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp941 auto newLength = baseLength + fieldNum; in DefineSendableInstanceHClass() local
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp975 uint32_t newLength = length1 + length2; in Concat() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.cpp1396 GateRef elementSize, GateRef newLength, GateRef beginIndex, GateRef arrayCls, GateRef buffer) in NewTaggedSubArray()
Dtyped_hcr_lowering.cpp1738 GateRef newLength = builder_.Int32Add(leftLength, rightLength); in LowerStringAdd() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp1582 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp1386 GateRef newLength = Int32Add(oldLength, ChangeIntPtrToInt32(numArgs)); in Push() local
Dbuiltins_string_stub_builder.cpp1738 GateRef newLength = Int32Add(leftLength, rightLength); in StringConcat() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp424 uint32_t newLength = static_cast<uint32_t>(length.GetInt()); in DEF_RUNTIME_STUBS() local
3320 void RuntimeStubs::ArrayTrim(uintptr_t argGlue, TaggedArray *array, int64_t newLength) in ArrayTrim()