Searched refs:newArray (Results 1 – 1 of 1) sorted by relevance
492 Type *newArray; in Allocate() local495 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()