Home
last modified time | relevance | path

Searched refs:AllocatedBuffer (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h1055 auto *AllocatedBuffer = Allocator.Allocate<char>(Source.size()); in allocateContent() local
1056 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() local
1071 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() local
1082 llvm::copy(Source, AllocatedBuffer); in allocateCString()
1083 AllocatedBuffer[Source.size()] = '\0'; in allocateCString()
1084 return MutableArrayRef<char>(AllocatedBuffer, Source.size() + 1); in allocateCString()
[all …]