| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_stack.h | 73 uint32_t newCapacity = oldCapacity + (oldCapacity >> 1U); in DECL_VISIT_OBJECT_FOR_JS_OBJECT() local
|
| 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_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 205 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local 224 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
|
| D | js_api_lightweightset.cpp | 50 uint32_t newCapacity = capacity << 1U; in Add() local 150 uint32_t newCapacity = capacity; in EnsureCapacity() local 162 uint32_t capacity, uint32_t newCapacity) in SizeCopy()
|
| D | js_api_stack.cpp | 89 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
|
| /arkcompiler/ets_runtime/ecmascript/serializer/ |
| D | serialize_chunk.h | 56 size_t newCapacity = 0; in Expand() local
|
| D | serialize_data.h | 117 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 | 384 uint32_t newCapacity = isNew ? oldCapacity : (oldCapacity + (oldCapacity >> 1U)); in ComputeElementCapacity() local 390 uint32_t newCapacity = oldCapacity * 2; in ComputeElementCapacityHighGrowth() local 396 uint32_t newCapacity = 0; in ComputeElementCapacityWithHint() local 409 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 | 472 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 532 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/mem/ |
| D | linear_space.cpp | 446 size_t newCapacity = initialCapacity_ * GROWING_FACTOR; in AdjustCapacity() local 462 size_t newCapacity = initialCapacity_ / GROWING_FACTOR; in AdjustCapacity() 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
|
| D | gc_second_test.cpp | 196 auto newCapacity = heap->GetOldSpace()->GetInitialCapacity(); 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
|