Home
last modified time | relevance | path

Searched defs:newCapacity (Results 1 – 25 of 36) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_queue.h81 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
Djs_api_arraylist.h94 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
Djs_api_plain_array.h80 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
Djs_api_stack.h73 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
Djs_api_deque.h86 uint32_t newCapacity = oldCapacity << 1U; in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
Djs_api_queue.cpp52 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
Djs_api_deque.cpp104 uint32_t newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local
208 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local
227 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
Djs_api_lightweightmap.h103 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
Djs_api_lightweightset.cpp49 uint32_t newCapacity = capacity << 1U; in Add() local
149 uint32_t newCapacity = capacity; in EnsureCapacity() local
161 uint32_t capacity, uint32_t newCapacity) in SizeCopy()
Djs_api_stack.cpp90 uint32_t newCapacity = ComputeCapacity(capacity); in GrowCapacity() local
Djs_api_vector.cpp79 …tor::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t newCapacity) in IncreaseCapacityTo()
358 uint32_t newCapacity = oldCapacity * 2; in GrowCapacity() local
Djs_api_plain_array.cpp47 uint32_t newCapacity = capacity << 1U; in Add() local
/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.cpp49 …or> WeakVector::Grow(const JSThread *thread, const JSHandle<WeakVector> &old, uint32_t newCapacity) in Grow()
103 uint32_t newCapacity = vec->GetCapacity() + DEFAULT_GROW_SIZE; in AppendToFullVec() local
Djs_object-inl.h374 uint32_t newCapacity = isNew ? oldCapacity : (oldCapacity + (oldCapacity >> 1U)); in ComputeElementCapacity() local
380 uint32_t newCapacity = oldCapacity * 2; in ComputeElementCapacityHighGrowth() local
386 uint32_t newCapacity = 0; in ComputeElementCapacityWithHint() local
399 uint32_t newCapacity = oldCapacity + thread->GetPropertiesGrowStep(); in ComputeNonInlinedFastPropsCapacity() local
Dlinked_hash_table.cpp98 int newCapacity = ComputeCapacity(table->NumberOfElements() + numberOfAddedElements); in GrowCapacity() local
121 …int newCapacity = ComputeCapacityWithShrink(table->Capacity(), table->NumberOfElements() + additio… in Shrink() local
Dtagged_queue.h74 uint32_t newCapacity = capacity + (capacity >> 1U); in Push() local
Dtagged_tree.cpp416 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local
476 uint32_t newCapacity = static_cast<uint32_t>(oldCapacity - 1) >> 1; in Shrink() local
Dtagged_hash_array.cpp112 uint32_t newCapacity = Capacity << 1; in Resize() local
Dlinked_hash_table.h135 int newCapacity = ComputeCapacity(atLeastSpaceFor); in ComputeCapacityWithShrink() local
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_obj_layout_info.h90 uint64_t newCapacity = (static_cast<uint64_t>(oldCapacity) << INCREASE_CAPACITY_RATE); in ComputeGrowCapacity() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dlinear_space.cpp275 size_t newCapacity = initialCapacity_ * GROWING_FACTOR; in AdjustCapacity() local
291 size_t newCapacity = initialCapacity_ / GROWING_FACTOR; in AdjustCapacity() local
/arkcompiler/runtime_core/static_core/runtime/include/
Dthread.h206 uint32_t newCapacity = capacity_ * 3U / 2U; // expand by 1.5 in ExtendIfNeeded() local
/arkcompiler/ets_runtime/ecmascript/serializer/
Dserialize_data.h94 size_t newCapacity = bufferCapacity_ * CAPACITY_INCREASE_RATE; in ExpandBuffer() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dinst.cpp66 void DynamicOperands::Reallocate([[maybe_unused]] size_t newCapacity /* =0 */) in Reallocate()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dlinked_hashtable_stub_builder.cpp127 …GateRef newCapacity = ComputeCapacity(Int32Add(GetNumberOfElements(linkedTable), numberOfAddedElem… in GrowCapacity() local

12