Lines Matching refs:FS
37 static bool ParsePrecision(FormatStringHandler &H, PrintfSpecifier &FS, in ParsePrecision() argument
41 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision()
47 FS.setPrecision(Amt); in ParsePrecision()
93 PrintfSpecifier FS; in ParsePrintfSpecifier() local
94 if (ParseArgPosition(H, FS, Start, I, E)) in ParsePrintfSpecifier()
111 FS.setHasThousandsGrouping(I); in ParsePrintfSpecifier()
113 case '-': FS.setIsLeftJustified(I); break; in ParsePrintfSpecifier()
114 case '+': FS.setHasPlusPrefix(I); break; in ParsePrintfSpecifier()
115 case ' ': FS.setHasSpacePrefix(I); break; in ParsePrintfSpecifier()
116 case '#': FS.setHasAlternativeForm(I); break; in ParsePrintfSpecifier()
117 case '0': FS.setHasLeadingZeros(I); break; in ParsePrintfSpecifier()
131 if (ParseFieldWidth(H, FS, Start, I, E, in ParsePrintfSpecifier()
132 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
151 if (ParsePrecision(H, FS, Start, I, E, in ParsePrintfSpecifier()
152 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
164 if (ParseLengthModifier(FS, I, E, LO) && I == E) { in ParsePrintfSpecifier()
244 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
245 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier()
246 FS.setArgIndex(argIndex++); in ParsePrintfSpecifier()
254 return !H.HandleInvalidPrintfConversionSpecifier(FS, Start, I - Start); in ParsePrintfSpecifier()
256 return PrintfSpecifierResult(Start, FS); in ParsePrintfSpecifier()
311 const analyze_printf::PrintfSpecifier &FS = FSR.getValue(); in ParseFormatStringHasSArg() local
313 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg) in ParseFormatStringHasSArg()