| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| 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_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_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 162 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local 181 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnEnumKeys() local
|
| D | js_api_deque.cpp | 98 uint32_t newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 204 uint32_t newCapacity = ComputeCapacity(oldCapacity); in OwnKeys() local 223 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 | 89 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 | 161 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 | 410 uint32_t newCapacity = isNew ? oldCapacity : (oldCapacity + (oldCapacity >> 1U)); in ComputeElementCapacity() local 416 uint32_t newCapacity = oldCapacity * 2; in ComputeElementCapacityHighGrowth() local 422 uint32_t newCapacity = 0; in ComputeElementCapacityWithHint() local 435 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 | 75 uint32_t newCapacity = capacity + (capacity >> 1U); in Push() local
|
| D | tagged_tree.cpp | 473 int newCapacity = ComputeCapacity(oldCapacity); in GrowCapacity() local 540 uint32_t newCapacity = static_cast<uint32_t>(oldCapacity - 1) >> 1; in Shrink() local
|
| D | tagged_hash_array.cpp | 110 uint32_t newCapacity = Capacity << 1; in Resize() local
|
| D | linked_hash_table.h | 157 int newCapacity = ComputeCapacity(atLeastSpaceFor); in ComputeCapacityWithShrink() local
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | proto_change_details.cpp | 55 uint32_t newCapacity = CalcNewCapacity(array->GetCapacity()); in Add() local
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | thread.h | 211 uint32_t newCapacity = capacity_ * 3U / 2U; // expand by 1.5 in ExtendIfNeeded() local
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_arraylist_test.cpp | 222 uint32_t newCapacity = JSAPIArrayList::GetCapacity(thread, arrayList); in GetCapacityCommon() local 239 auto newCapacity = GetCapacityCommon(thread, arrayList, addElementNums, currentCapacity); in HWTEST_F_L0() local 258 auto newCapacity = GetCapacityCommon(thread, arrayList, addElementNums, currentCapacity); in HWTEST_F_L0() local
|