Lines Matching refs:SourceSize

900     unsigned SourceSize = FW.getConstantAmount() + NulByte;  in HandleScanfSpecifier()  local
909 if (DestSize < SourceSize) in HandleScanfSpecifier()
910 Diagnose(FS.getArgIndex(), DestSize, SourceSize); in HandleScanfSpecifier()
1238 std::optional<llvm::APSInt> SourceSize; in checkFortifiedBuiltinMemoryFunction() local
1263 SourceSize = ComputeStrLenArgument(1); in checkFortifiedBuiltinMemoryFunction()
1270 SourceSize = ComputeStrLenArgument(1); in checkFortifiedBuiltinMemoryFunction()
1295 unsigned SourceSize) { in checkFortifiedBuiltinMemoryFunction() argument
1301 << DestSize << SourceSize); in checkFortifiedBuiltinMemoryFunction()
1335 SourceSize = llvm::APSInt::getUnsigned(H.getSizeLowerBound()) in checkFortifiedBuiltinMemoryFunction()
1359 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 2); in checkFortifiedBuiltinMemoryFunction()
1369 SourceSize = ComputeExplicitObjectSizeArgument(1); in checkFortifiedBuiltinMemoryFunction()
1387 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 1); in checkFortifiedBuiltinMemoryFunction()
1401 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 1); in checkFortifiedBuiltinMemoryFunction()
1410 SourceSize = ComputeExplicitObjectSizeArgument(1); in checkFortifiedBuiltinMemoryFunction()
1414 if (SourceSize && in checkFortifiedBuiltinMemoryFunction()
1424 if (FormatSize > *SourceSize && *SourceSize != 0) { in checkFortifiedBuiltinMemoryFunction()
1430 SourceSize->toString(SpecifiedSizeStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()
1443 if (!SourceSize || !DestinationSize || in checkFortifiedBuiltinMemoryFunction()
1444 llvm::APSInt::compareValues(*SourceSize, *DestinationSize) <= 0) in checkFortifiedBuiltinMemoryFunction()
1452 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()