Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 73) 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_deque_iterator.cpp56 uint32_t capacity = elements->GetLength(); in Next() 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_lightweightset.cpp46 uint32_t capacity = hashArray->GetLength(); in Add() local
68 …andle<TaggedArray> JSAPILightWeightSet::CreateSlot(const JSThread *thread, const uint32_t capacity) in CreateSlot()
148 uint32_t capacity = hashes->GetLength(); in EnsureCapacity() local
161 uint32_t capacity, uint32_t newCapacity) in SizeCopy()
294 uint32_t capacity = TaggedArray::Cast(obj->GetValues().GetTaggedObject())->GetLength(); in IncreaseCapacityTo() 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
360 uint32_t capacity) in GrowCapacity()
Djs_api_stack.cpp83 uint32_t capacity) in GrowCapacity()
/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.cpp22 JSHandle<WeakVector> WeakVector::Create(const JSThread *thread, uint32_t capacity, MemSpaceType typ… in Create()
126 uint32_t capacity = vec->GetCapacity(); in Copy() local
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.cpp1426 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1440 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1457 int capacity = NumberOfNodes(); in Dump() local
1487 int capacity = NumberOfNodes(); in Dump() local
1838 uint32_t capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1917 uint32_t capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
2140 uint32_t capacity = GetSize(); in Dump() local
4532 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4547 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4568 int capacity = GetLength(); in DumpForSnapshot() local
[all …]
Djs_object-inl.h337 inline bool JSObject::ShouldTransToDict(uint32_t capacity, uint32_t index) in ShouldTransToDict()
359 uint32_t capacity, uint32_t index) in ShouldTransToFastElements()
/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.cpp30 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.h191 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_linked_list_iterator_test.cpp111 uint32_t capacity = static_cast<uint32_t>(linkedList->Length()); 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
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/mem/
Dets_reference.h135 bool PushLocalEtsFrame(uint32_t capacity) in PushLocalEtsFrame()
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dreference_storage.cpp229 bool ReferenceStorage::PushLocalFrame(uint32_t capacity) in PushLocalFrame()
296 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
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dring_buffer.h365 constexpr size_type capacity() const noexcept // NOLINT(readability-identifier-naming) in capacity() function

123