Searched refs:copyStr (Results 1 – 1 of 1) sorted by relevance
302 TChar* copyStr = reinterpret_cast<char*>(allocator->Alloc(bufferSize)); in AllocateAndCopyString() local303 NW_NULL_ASSERT(copyStr); in AllocateAndCopyString()304 NW_CHAR_TRAITS_COPY(TChar, copyStr, bufferSize, str, length); in AllocateAndCopyString()305 copyStr[length] = '\0'; in AllocateAndCopyString()307 return copyStr; in AllocateAndCopyString()