Searched refs:AllocatedBuffer (Results 1 – 1 of 1) sorted by relevance
1044 auto *AllocatedBuffer = Allocator.Allocate<char>(Source.size()); in allocateContent() local1045 llvm::copy(Source, AllocatedBuffer); in allocateContent()1046 return MutableArrayRef<char>(AllocatedBuffer, Source.size()); in allocateContent()1059 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateContent() local1060 llvm::copy(SourceStr, AllocatedBuffer); in allocateContent()1061 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateContent()1071 llvm::copy(Source, AllocatedBuffer); in allocateCString()1072 AllocatedBuffer[Source.size()] = '\0'; in allocateCString()1073 return MutableArrayRef<char>(AllocatedBuffer, Source.size() + 1); in allocateCString()1089 llvm::copy(SourceStr, AllocatedBuffer); in allocateCString()[all …]