Home
last modified time | relevance | path

Searched defs:newCapacity (Results 1 - 25 of 34) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_deque.h86 uint32_t newCapacity = oldCapacity << 1U; in ComputeCapacity() local
H A Djs_api_arraylist.h94 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_plain_array.h81 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_queue.h81 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_stack.h73 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_bitvector.h90 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_lightweightmap.h103 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
H A Djs_api_stack.cpp89 uint32_t newCapacity = ComputeCapacity(capacity); in GrowCapacity() local
H A Djs_api_deque.cpp98 uint32_t newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local
205 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local
224 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
H A Djs_api_queue.cpp47 uint32_t newCapacity = 0; in GrowCapacity() local
163 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local
182 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
H A Djs_api_arraylist.cpp385 uint32_t newCapacity = ComputeCapacity(capacity); in GrowCapacity() local
H A Djs_api_lightweightset.cpp48 uint32_t newCapacity = capacity << 1U; in Add() local
148 uint32_t newCapacity = capacity; in EnsureCapacity() local
159 SizeCopy(const JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, uint32_t capacity, uint32_t newCapacity) SizeCopy() argument
[all...]
H A Djs_api_vector.cpp76 void JSAPIVector::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t newCapacity) in IncreaseCapacityTo() argument
355 uint32_t newCapacity = oldCapacity * 2; in GrowCapacity() local
/arkcompiler/ets_runtime/ecmascript/
H A Dweak_vector.cpp48 JSHandle<WeakVector> WeakVector::Grow(const JSThread *thread, const JSHandle<WeakVector> &old, uint32_t newCapacity) in Grow() argument
102 uint32_t newCapacity = vec->GetCapacity() + DEFAULT_GROW_SIZE; in AppendToFullVec() local
H A Dlinked_hash_table.cpp103 int newCapacity = ComputeCapacity(table->NumberOfElements() + numberOfAddedElements); in GrowCapacity() local
127 int newCapacity = ComputeCapacityWithShrink(table->Capacity(), table->NumberOfElements() + additionalCapacity); in Shrink() local
H A Dtagged_hash_array.cpp109 uint32_t newCapacity = Capacity << 1; in Resize() local
H A Dtagged_queue.h74 uint32_t newCapacity = capacity + (capacity >> 1U); in Push() local
H A Dlinked_hash_table.h140 int newCapacity = ComputeCapacity(atLeastSpaceFor); in ComputeCapacityWithShrink() local
H A Dtagged_tree.cpp473 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local
533 uint32_t newCapacity = static_cast<uint32_t>(oldCapacity - 1) >> 1; in Shrink() local
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_api_arraylist_test.cpp221 uint32_t newCapacity = JSAPIArrayList::GetCapacity(thread, arrayList); in GetCapacityCommon() local
238 auto newCapacity = GetCapacityCommon(thread, arrayList, addElementNums, currentCapacity); in HWTEST_F_L0() local
257 auto newCapacity = GetCapacityCommon(thread, arrayList, addElementNums, currentCapacity); in HWTEST_F_L0() local
H A Dgc_second_test.cpp216 auto newCapacity = heap->GetOldSpace()->GetInitialCapacity(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dlinear_space.cpp458 size_t newCapacity = initialCapacity_ * GROWING_FACTOR; in AdjustCapacity() local
474 size_t newCapacity = initialCapacity_ / GROWING_FACTOR; in AdjustCapacity() local
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_arraylist.cpp219 JSHandle<JSTaggedValue> newCapacity = GetCallArg(argv, 0); in IncreaseCapacityTo() local
H A Dcontainers_vector.cpp158 JSHandle<JSTaggedValue> newCapacity = GetCallArg(argv, 0); in IncreaseCapacityTo() local
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dthread.h207 uint32_t newCapacity = capacity_ * 3U / 2U; // expand by 1.5 in ExtendIfNeeded() local

Completed in 18 milliseconds

12