Searched refs:AllocatedBuffer (Results 1 – 1 of 1) sorted by relevance
1055 auto *AllocatedBuffer = Allocator.Allocate<char>(Source.size()); in allocateContent() local1056 llvm::copy(Source, AllocatedBuffer); in allocateContent()1057 return MutableArrayRef<char>(AllocatedBuffer, Source.size()); in allocateContent()1070 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateContent() local1071 llvm::copy(SourceStr, AllocatedBuffer); in allocateContent()1072 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateContent()1081 char *AllocatedBuffer = Allocator.Allocate<char>(Source.size() + 1); in allocateCString() local1082 llvm::copy(Source, AllocatedBuffer); in allocateCString()1083 AllocatedBuffer[Source.size()] = '\0'; in allocateCString()1084 return MutableArrayRef<char>(AllocatedBuffer, Source.size() + 1); in allocateCString()[all …]