Lines Matching refs:StrLen
1093 StringRef &FormatStrRef, size_t &StrLen, in ProcessFormatStringLiteral() argument
1103 StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, FormatStrRef.find(0)); in ProcessFormatStringLiteral()
1261 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1262 if (!ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) in checkFortifiedBuiltinMemoryFunction()
1281 FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
1296 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1297 if (ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) { in checkFortifiedBuiltinMemoryFunction()
1301 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
1384 size_t StrLen; in checkFortifiedBuiltinMemoryFunction() local
1386 ProcessFormatStringLiteral(FormatExpr, FormatStrRef, StrLen, Context)) { in checkFortifiedBuiltinMemoryFunction()
1390 H, FormatBytes, FormatBytes + StrLen, getLangOpts(), in checkFortifiedBuiltinMemoryFunction()
12590 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() local
12595 Str, Str + StrLen, S.getLangOpts(), S.Context.getTargetInfo())) in CheckFormatString()
12610 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString()
12628 H, Str, Str + StrLen, S.getLangOpts(), S.Context.getTargetInfo(), in CheckFormatString()
12637 H, Str, Str + StrLen, S.getLangOpts(), S.Context.getTargetInfo())) in CheckFormatString()
12650 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg() local
12651 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg()
12949 template <std::size_t StrLen>
12951 const char (&Str)[StrLen]) { in IsStdFunction() argument