Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 54) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_deque.cpp37 uint32_t capacity = elements->GetLength(); in InsertFront() local
58 uint32_t capacity = elements->GetLength(); in InsertEnd() local
93 uint32_t capacity = elements->GetLength(); in GetTail() local
120 uint32_t capacity = elements->GetLength(); in PopFirst() local
136 uint32_t capacity = elements->GetLength(); in PopLast() local
154 uint32_t capacity = elements->GetLength(); in GetSize() local
165 uint32_t capacity = elements->GetLength(); in Get() local
176 uint32_t capacity = elements->GetLength(); in Set() local
189 uint32_t capacity = elements->GetLength(); in Has() local
Djs_api_lightweightset.cpp45 uint32_t capacity = hashArray->GetLength(); in Add() local
67 …andle<TaggedArray> JSAPILightWeightSet::CreateSlot(const JSThread *thread, const uint32_t capacity) in CreateSlot()
147 uint32_t capacity = hashes->GetLength(); in EnsureCapacity() local
160 uint32_t capacity, uint32_t newCapacity) in SizeCopy()
293 uint32_t capacity = TaggedArray::Cast(obj->GetValues().GetTaggedObject())->GetLength(); in IncreaseCapacityTo() local
Djs_api_queue.cpp44 uint32_t capacity) in GrowCapacity()
116 uint32_t capacity = elements->GetLength(); in Get() local
143 uint32_t capacity = elements->GetLength(); in Has() local
Djs_api_deque_iterator.cpp56 uint32_t capacity = elements->GetLength(); in Next() local
Djs_api_arraylist.cpp95 uint32_t capacity = elements->GetLength(); in GetCapacity() local
100 int capacity) in IncreaseCapacityTo()
117 uint32_t capacity = JSAPIArrayList::GetCapacity(thread, arrayList); in TrimToCurrentLength() local
362 uint32_t capacity) in GrowCapacity()
Djs_api_stack.cpp83 uint32_t capacity) in GrowCapacity()
Djs_api_plain_array.cpp45 uint32_t capacity = valueArray->GetLength(); in Add() local
61 JSHandle<TaggedArray> JSAPIPlainArray::CreateSlot(const JSThread *thread, const uint32_t capacity) in CreateSlot()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_queue.h42 uint32_t capacity = GetCapacity().GetArrayLength(); in Pop() local
51 uint32_t capacity = queue->GetCapacity().GetArrayLength(); in Push() local
99 uint32_t capacity = queue->GetCapacity().GetArrayLength(); in PushFixedQueue() local
129 uint32_t capacity = GetCapacity().GetArrayLength(); in Size() local
163 inline void SetCapacity(const JSThread *thread, JSTaggedValue capacity) in SetCapacity()
Dweak_vector.cpp21 JSHandle<WeakVector> WeakVector::Create(const JSThread *thread, uint32_t capacity) in Create()
Dlinked_hash_table.h70 int capacity = Capacity(); in HasSufficientCapacity() local
123 int capacity = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawCap)); in ComputeCapacity() local
186 inline void SetCapacity(const JSThread *thread, int capacity) in SetCapacity()
Ddump.cpp1217 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1231 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1248 int capacity = NumberOfNodes(); in Dump() local
1278 int capacity = NumberOfNodes(); in Dump() local
1578 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1655 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1881 int capacity = GetSize(); in Dump() local
4070 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4085 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4101 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_deque_stub_builder.h35 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetSize() local
45 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() local
Dcontainers_queue_stub_builder.h66 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() local
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_table.cpp37 uint32_t capacity = table->GetLength(); // can't be 0 due to RESERVE_TABLE_LENGTH in PushBackTypeToTable() local
/arkcompiler/ets_runtime/ecmascript/mem/
Darea.h22 Area(uintptr_t begin, size_t capacity) in Area()
Dheap_region_allocator.cpp27 Region *HeapRegionAllocator::AllocateAlignedRegion(Space *space, size_t capacity, JSThread* thread) in AllocateAlignedRegion()
Dnative_area_allocator.cpp22 Area *NativeAreaAllocator::AllocateArea(size_t capacity) in AllocateArea()
Dnative_area_allocator.h121 static inline Area *AllocateSpace(size_t capacity) in AllocateSpace()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_iterator_test.cpp101 uint32_t capacity = JSAPIArrayList::GetCapacity(thread, arrayList); in HWTEST_F_L0() local
Djs_api_list_iterator_test.cpp111 uint32_t capacity = static_cast<uint32_t>(list->Length()); in HWTEST_F_L0() local
Djs_api_linked_list_iterator_test.cpp111 uint32_t capacity = static_cast<uint32_t>(linkedList->Length()); in HWTEST_F_L0() local
/arkcompiler/runtime_core/runtime/mem/refstorage/
Dreference_storage.cpp228 bool ReferenceStorage::PushLocalFrame(uint32_t capacity) in PushLocalFrame()
295 bool ReferenceStorage::EnsureLocalCapacity(size_t capacity) in EnsureLocalCapacity()
/arkcompiler/runtime_core/libpandabase/utils/
Dring_buffer.h405 constexpr size_type capacity() const noexcept // NOLINT(readability-identifier-naming) in capacity() function
Dsmall_vector.h410 size_t capacity() const in capacity() function
/arkcompiler/ets_runtime/ecmascript/jobs/tests/
Dmicro_job_queue_test.cpp67 uint32_t capacity = 4; in HWTEST_F_L0() local

123