/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_queue.h | 81 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
|
D | js_api_arraylist.h | 94 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
D | js_api_plain_array.h | 80 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
D | js_api_stack.h | 73 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
D | js_api_deque.h | 86 uint32_t newCapacity = oldCapacity << 1U; in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
D | js_api_queue.cpp | 52 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
|
D | js_api_deque.cpp | 104 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
|
D | js_api_lightweightmap.h | 103 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
D | js_api_lightweightset.cpp | 49 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()
|
D | js_api_stack.cpp | 90 uint32_t newCapacity = ComputeCapacity(capacity); in GrowCapacity() local
|
D | js_api_vector.cpp | 79 …tor::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t newCapacity) in IncreaseCapacityTo() 358 uint32_t newCapacity = oldCapacity * 2; in GrowCapacity() local
|
D | js_api_plain_array.cpp | 47 uint32_t newCapacity = capacity << 1U; in Add() local
|
/arkcompiler/ets_runtime/ecmascript/ |
D | weak_vector.cpp | 49 …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
|
D | js_object-inl.h | 374 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
|
D | linked_hash_table.cpp | 98 int newCapacity = ComputeCapacity(table->NumberOfElements() + numberOfAddedElements); in GrowCapacity() local 121 …int newCapacity = ComputeCapacityWithShrink(table->Capacity(), table->NumberOfElements() + additio… in Shrink() local
|
D | tagged_queue.h | 74 uint32_t newCapacity = capacity + (capacity >> 1U); in Push() local
|
D | tagged_tree.cpp | 416 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 476 uint32_t newCapacity = static_cast<uint32_t>(oldCapacity - 1) >> 1; in Shrink() local
|
D | tagged_hash_array.cpp | 112 uint32_t newCapacity = Capacity << 1; in Resize() local
|
D | linked_hash_table.h | 135 int newCapacity = ComputeCapacity(atLeastSpaceFor); in ComputeCapacityWithShrink() local
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_obj_layout_info.h | 90 uint64_t newCapacity = (static_cast<uint64_t>(oldCapacity) << INCREASE_CAPACITY_RATE); in ComputeGrowCapacity() local
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | linear_space.cpp | 275 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/ |
D | thread.h | 206 uint32_t newCapacity = capacity_ * 3U / 2U; // expand by 1.5 in ExtendIfNeeded() local
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
D | serialize_data.h | 94 size_t newCapacity = bufferCapacity_ * CAPACITY_INCREASE_RATE; in ExpandBuffer() local
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
D | inst.cpp | 66 void DynamicOperands::Reallocate([[maybe_unused]] size_t newCapacity /* =0 */) in Reallocate()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | linked_hashtable_stub_builder.cpp | 127 …GateRef newCapacity = ComputeCapacity(Int32Add(GetNumberOfElements(linkedTable), numberOfAddedElem… in GrowCapacity() local
|