Lines Matching refs:SourceSize

871     unsigned SourceSize = FW.getConstantAmount() + NulByte;  in HandleScanfSpecifier()  local
880 if (DestSize < SourceSize) in HandleScanfSpecifier()
881 Diagnose(FS.getArgIndex(), DestSize, SourceSize); in HandleScanfSpecifier()
1209 std::optional<llvm::APSInt> SourceSize; in checkFortifiedBuiltinMemoryFunction() local
1234 SourceSize = ComputeStrLenArgument(1); in checkFortifiedBuiltinMemoryFunction()
1241 SourceSize = ComputeStrLenArgument(1); in checkFortifiedBuiltinMemoryFunction()
1266 unsigned SourceSize) { in checkFortifiedBuiltinMemoryFunction() argument
1272 << DestSize << SourceSize); in checkFortifiedBuiltinMemoryFunction()
1306 SourceSize = llvm::APSInt::getUnsigned(H.getSizeLowerBound()) in checkFortifiedBuiltinMemoryFunction()
1330 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 2); in checkFortifiedBuiltinMemoryFunction()
1340 SourceSize = ComputeExplicitObjectSizeArgument(1); in checkFortifiedBuiltinMemoryFunction()
1358 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 1); in checkFortifiedBuiltinMemoryFunction()
1372 SourceSize = ComputeExplicitObjectSizeArgument(TheCall->getNumArgs() - 1); in checkFortifiedBuiltinMemoryFunction()
1381 SourceSize = ComputeExplicitObjectSizeArgument(1); in checkFortifiedBuiltinMemoryFunction()
1385 if (SourceSize && in checkFortifiedBuiltinMemoryFunction()
1395 if (FormatSize > *SourceSize && *SourceSize != 0) { in checkFortifiedBuiltinMemoryFunction()
1401 SourceSize->toString(SpecifiedSizeStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()
1414 if (!SourceSize || !DestinationSize || in checkFortifiedBuiltinMemoryFunction()
1415 llvm::APSInt::compareValues(*SourceSize, *DestinationSize) <= 0) in checkFortifiedBuiltinMemoryFunction()
1423 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()