Home
last modified time | relevance | path

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

/openthread-latest/src/core/common/
Dheap_array.hpp492 Type *newArray; in Allocate() local
495 newArray = static_cast<Type *>(Heap::CAlloc(aCapacity, sizeof(Type))); in Allocate()
496 VerifyOrExit(newArray != nullptr, error = kErrorNoBufs); in Allocate()
500 new (&newArray[index]) Type(static_cast<Type &&>(mArray[index])); in Allocate()
505 mArray = newArray; in Allocate()