Searched refs:numberOfNodes (Results 1 – 4 of 4) sorted by relevance
32 JSHandle<Derived> TaggedList<Derived>::Create(const JSThread *thread, int numberOfNodes) in Create() argument34 ASSERT_PRINT(numberOfNodes > 0, "size must be a non-negative integer"); in Create()36 int length = ELEMENTS_START_INDEX + Derived::ENTRY_SIZE + numberOfNodes * Derived::ENTRY_SIZE; in Create()112 int numberOfNodes = NumberOfNodes(); in Clear() local114 for (int i = 0; i < numberOfNodes; i++) { in Clear()130 uint32_t numberOfNodes = static_cast<uint32_t>(list->NumberOfNodes()); in TaggedListToArray() local134 array->SetArrayLength(thread, numberOfNodes); in TaggedListToArray()135 if (numberOfNodes == 0) { in TaggedListToArray()138 JSHandle<TaggedArray> newElements = factory->ConvertListToArray(thread, list, numberOfNodes); in TaggedListToArray()
339 uint32_t numberOfNodes) in ConvertListToArray() argument341 …MemSpaceType spaceType = numberOfNodes < LENGTH_THRESHOLD ? MemSpaceType::SEMI_SPACE : MemSpaceTyp… in ConvertListToArray()342 JSHandle<TaggedArray> dstElements = NewTaggedArrayWithoutInit(numberOfNodes, spaceType); in ConvertListToArray()343 if (numberOfNodes == 0) { in ConvertListToArray()347 for (uint32_t i = 0; i < numberOfNodes; i++) { in ConvertListToArray()
38 … static JSHandle<Derived> Create(const JSThread *thread, int numberOfNodes = DEFAULT_ARRAY_LENGHT);
58 uint32_t numberOfNodes = static_cast<uint32_t>(srcDoubleList->NumberOfNodes()); in Clone() local61 … (numberOfNodes + numberOfDeletedNodes + 1) * TaggedDoubleList::ENTRY_SIZE; in Clone()