Home
last modified time | relevance | path

Searched refs:VectorToArrayIndex (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.cpp25 uint32_t length = VectorToArrayIndex(capacity); in Create()
55 …ggedArray> newVec = factory->CopyArray(JSHandle<TaggedArray>(old), VectorToArrayIndex(oldCapacity), in Grow()
56 VectorToArrayIndex(newCapacity)); in Grow()
120 uint32_t oldLength = VectorToArrayIndex(capacity); in Copy()
124 uint32_t newLength = VectorToArrayIndex(capacity); in Copy()
Dweak_vector.h73 return TaggedArray::Get(VectorToArrayIndex(index)); in Get()
79 TaggedArray::Set(thread, VectorToArrayIndex(index), value); in Set()
95 inline static constexpr uint32_t VectorToArrayIndex(uint32_t index) in VectorToArrayIndex() function