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