Searched refs:SourceStr (Results 1 – 2 of 2) sorted by relevance
1058 auto SourceStr = Source.toStringRef(TmpBuffer); in allocateContent() local1059 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateContent()1060 llvm::copy(SourceStr, AllocatedBuffer); in allocateContent()1061 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateContent()1087 auto SourceStr = Source.toStringRef(TmpBuffer); in allocateCString() local1088 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size() + 1); in allocateCString()1089 llvm::copy(SourceStr, AllocatedBuffer); in allocateCString()1090 AllocatedBuffer[SourceStr.size()] = '\0'; in allocateCString()1091 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size() + 1); in allocateCString()
1421 SmallString<16> SourceStr; in checkFortifiedBuiltinMemoryFunction() local1423 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()1426 << FunctionName << DestinationStr << SourceStr); in checkFortifiedBuiltinMemoryFunction()