Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.h90 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.cpp223 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim()
Dobject_factory.cpp493 uint32_t newLength = old->GetLength(); in CloneProperties() local
597 uint32_t newLength = old->GetLength(); in CloneProperties() local
2626 …Array> ObjectFactory::NewAndCopyTaggedArray(JSHandle<TaggedArray> &srcElements, uint32_t newLength, in NewAndCopyTaggedArray()
2646 uint32_t newLength, uint32_t oldLength, uint32_t k) in NewAndCopyTaggedArraySkipBarrier()
2675 …bject> ObjectFactory::NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyJSArrayObject()
2695 … ObjectFactory::NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyTaggedArrayByObject()
2717uint32_t newLength, uint32_t oldLength, in NewAndCopyMutantTaggedArrayByObject()
2980 uint32_t newLength = end - start; in CopyPartArray() local
3002 … ObjectFactory::CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength, in CopyArray()
3054 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
56 uint32_t newLength = argc + oldLength; in Push() local
Dshared_object_factory.cpp324uint32_t newLength, JSTaggedValue initVal, ElementsKind kind) in CopySArray()
Decma_string.cpp43 uint32_t newLength = leftLength + rightLength; in Concat() local
Djs_bigint.cpp395 uint32_t newLength = bigintLength; in BitwiseAddOne() 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.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.h237 size_t newLength = storage_.size() * ENSURE_CAPACITY_MULTIPLIER; in EnsureCapacity() local
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp682 uint64_t newLength = 0; in CreateFromArrayBuffer() local
749 uint64_t newLength = 0; in CreateFromSendableArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp1015 auto newLength = baseLength + fieldNum; in DefineSendableInstanceHClass() local
1041 auto newLength = fieldNum + static_cast<uint32_t>(baseLength); in DefineSendableInstanceHClass() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp501 int newLength = static_cast<int>(newSubArrayList->GetLength().GetArrayLength()); in HWTEST_F_L0() local
Djs_api_bitvector_test.cpp472 int newLength = 10; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_shared_array.cpp2279 auto newLength = JSTaggedValue::ToUint32(thread, newLengthValue); in ShrinkTo() local
2318 auto newLength = JSTaggedValue::ToUint32(thread, newLengthValue); in ExtendTo() local
Dbuiltins_shared_typedarray.cpp1587 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
Dbuiltins_typedarray.cpp1705 uint32_t newLength = endIndex > beginIndex ? (endIndex - beginIndex) : 0; in Subarray() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp2189 GateRef newLength = Int32Add(leftLength, rightLength); in StringConcat() local
3015 GateRef newLength = GetCallArg0(numArgs); in PadStart() local
3140 GateRef newLength = GetCallArg0(numArgs); in PadEnd() local
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp990 uint32_t newLength = length1 + length2; in Concat() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp502 uint32_t newLength = static_cast<uint32_t>(length.GetInt()); in DEF_RUNTIME_STUBS() local
3842 void RuntimeStubs::ArrayTrim(uintptr_t argGlue, TaggedArray *array, int64_t newLength) in ArrayTrim()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.cpp2194 GateRef elementSize, GateRef newLength, GateRef beginIndex, GateRef arrayCls, GateRef buffer) in NewTaggedSubArray()

12