Searched refs:AllocatedBuffer (Results 1 – 1 of 1) sorted by relevance
1077 auto *AllocatedBuffer = Allocator.Allocate<char>(Source.size()); in allocateContent() local1078 llvm::copy(Source, AllocatedBuffer); in allocateContent()1079 return MutableArrayRef<char>(AllocatedBuffer, Source.size()); in allocateContent()1092 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateContent() local1093 llvm::copy(SourceStr, AllocatedBuffer); in allocateContent()1094 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateContent()1113 char *AllocatedBuffer = Allocator.Allocate<char>(Source.size() + 1); in allocateCString() local1114 llvm::copy(Source, AllocatedBuffer); in allocateCString()1115 AllocatedBuffer[Source.size()] = '\0'; in allocateCString()1116 return MutableArrayRef<char>(AllocatedBuffer, Source.size() + 1); in allocateCString()[all …]