Home
last modified time | relevance | path

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

1234

/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, MemSpaceType typ… in Create()
125 uint32_t capacity = vec->GetCapacity(); in Copy() local
Dlinked_hash_table.h75 int capacity = Capacity(); in HasSufficientCapacity() local
128 int capacity = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawCap)); in ComputeCapacity() local
191 inline void SetCapacity(const JSThread *thread, int capacity) in SetCapacity()
Ddump.cpp1432 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1446 int capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1463 int capacity = NumberOfNodes(); in Dump() local
1493 int capacity = NumberOfNodes(); in Dump() local
1902 uint32_t capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
1986 uint32_t capacity = NumberOfElements() + NumberOfDeletedElements(); in Dump() local
2270 uint32_t capacity = GetSize(); in Dump() local
4563 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4578 int capacity = NumberOfElements() + NumberOfDeletedElements(); in DumpForSnapshot() local
4599 int capacity = static_cast<int>(GetLength()); in DumpForSnapshot() local
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_deque.cpp31 uint32_t capacity = elements->GetLength(); in InsertFront() local
52 uint32_t capacity = elements->GetLength(); in InsertEnd() local
87 uint32_t capacity = elements->GetLength(); in GetTail() local
114 uint32_t capacity = elements->GetLength(); in PopFirst() local
131 uint32_t capacity = elements->GetLength(); in PopLast() local
150 uint32_t capacity = elements->GetLength(); in GetSize() local
161 uint32_t capacity = elements->GetLength(); in Get() local
175 uint32_t capacity = elements->GetLength(); in Set() local
188 uint32_t capacity = elements->GetLength(); in Has() local
Djs_api_deque_iterator.cpp50 uint32_t capacity = elements->GetLength(); in Next() 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.cpp39 uint32_t capacity) in GrowCapacity()
113 uint32_t capacity = elements->GetLength(); in Get() local
144 uint32_t capacity = elements->GetLength(); in Has() local
Djs_api_arraylist.cpp90 uint32_t capacity = elements->GetLength(); in GetCapacity() local
95 int capacity) in IncreaseCapacityTo()
112 uint32_t capacity = JSAPIArrayList::GetCapacity(thread, arrayList); in TrimToCurrentLength() local
377 uint32_t capacity) in GrowCapacity()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_deque_stub_builder.h40 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in BUILTINS_WITH_CONTAINERS_DEQUE_STUB_BUILDER() local
50 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() local
Dcontainers_queue_stub_builder.h71 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() local
Dcontainers_deque_stub_builder.cpp100 GateRef capacity = GetElementsLength(*thisObj); in ForEach() local
/arkcompiler/ets_runtime/ecmascript/mem/
Darea.h22 Area(uintptr_t begin, size_t capacity) in Area()
Dnative_area_allocator.cpp25 Area *NativeAreaAllocator::AllocateArea(size_t capacity) in AllocateArea()
Dheap_region_allocator.cpp29 Region *HeapRegionAllocator::AllocateAlignedRegion(Space *space, size_t capacity, JSThread* thread,… in AllocateAlignedRegion()
Dnative_area_allocator.h193 static inline Area *AllocateSpace(size_t capacity) in AllocateSpace()
Dmem_map_allocator.h151 void Initialize(MemMap memMap, size_t capacity) in Initialize()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_iterator_test.cpp54 uint32_t capacity = JSAPIArrayList::GetCapacity(thread, arrayList); in HWTEST_F_L0() local
Djs_api_linked_list_iterator_test.cpp65 uint32_t capacity = static_cast<uint32_t>(linkedList->Length()); in HWTEST_F_L0() local
Djs_api_list_iterator_test.cpp65 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
/arkcompiler/jsvm/src/inspector/
Dinspector_utils.h247 size_t capacity; variable

1234