| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_queue.h | 81 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in ComputeCapacity() local
|
| D | js_api_plain_array.h | 81 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_arraylist.h | 94 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_bitvector.h | 92 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_DUMP() local
|
| D | js_api_lightweightmap.h | 103 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
| D | js_api_queue.cpp | 47 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 | 98 uint32_t newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 206 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local 225 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
|
| D | js_api_lightweightset.cpp | 48 uint32_t newCapacity = capacity << 1U; in Add() local 148 uint32_t newCapacity = capacity; in EnsureCapacity() local 160 uint32_t capacity, uint32_t newCapacity) in SizeCopy()
|
| D | js_api_stack.cpp | 91 uint32_t newCapacity = ComputeCapacity(capacity); in GrowCapacity() local
|
| D | js_api_vector.cpp | 76 …tor::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t newCapacity) in IncreaseCapacityTo() 355 uint32_t newCapacity = oldCapacity * 2; in GrowCapacity() local
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | linear_space.cpp | 286 size_t newCapacity = initialCapacity_ * GROWING_FACTOR; in AdjustCapacity() local 303 size_t newCapacity = initialCapacity_ * GROWING_FACTOR; in AdjustCapacity() local 318 size_t newCapacity = initialCapacity_ / GROWING_FACTOR; in AdjustCapacity() local
|
| /arkcompiler/ets_runtime/ecmascript/serializer/ |
| D | serialize_chunk.h | 62 size_t newCapacity = 0; in Expand() local
|
| D | serialize_data.h | 137 size_t newCapacity = bufferCapacity_ * CAPACITY_INCREASE_RATE; in ExpandBuffer() local
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | weak_vector.cpp | 48 …or> WeakVector::Grow(const JSThread *thread, const JSHandle<WeakVector> &old, uint32_t newCapacity) in Grow() 102 uint32_t newCapacity = vec->GetCapacity() + DEFAULT_GROW_SIZE; in AppendToFullVec() local
|
| D | js_object-inl.h | 409 uint32_t newCapacity = isNew ? oldCapacity : (oldCapacity + (oldCapacity >> 1U)); in ComputeElementCapacity() local 415 uint32_t newCapacity = oldCapacity * 2; in ComputeElementCapacityHighGrowth() local 421 uint32_t newCapacity = 0; in ComputeElementCapacityWithHint() local 434 uint32_t newCapacity = oldCapacity + thread->GetPropertiesGrowStep(); in ComputeNonInlinedFastPropsCapacity() local
|
| D | linked_hash_table.cpp | 103 int newCapacity = ComputeCapacity(table->NumberOfElements() + numberOfAddedElements); in GrowCapacity() local 127 …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 | 473 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 533 uint32_t newCapacity = static_cast<uint32_t>(oldCapacity - 1) >> 1; in Shrink() local
|
| D | tagged_hash_array.cpp | 109 uint32_t newCapacity = Capacity << 1; in Resize() local
|
| D | linked_hash_table.h | 140 int newCapacity = ComputeCapacity(atLeastSpaceFor); in ComputeCapacityWithShrink() local
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_arraylist_test.cpp | 221 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
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | thread.h | 207 uint32_t newCapacity = capacity_ * 3U / 2U; // expand by 1.5 in ExtendIfNeeded() local
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | inst.cpp | 220 void DynamicOperands::Reallocate([[maybe_unused]] size_t newCapacity /* =0 */) in Reallocate()
|