Home | History | Annotate | Download | only in Analysis

Lines Matching refs:FS

37 static bool ParsePrecision(FormatStringHandler &H, PrintfSpecifier &FS,
41 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex));
47 FS.setPrecision(Amt);
52 static bool ParseObjCFlags(FormatStringHandler &H, PrintfSpecifier &FS,
57 FS.setHasObjCTechnicalTerm(FlagBeg);
111 PrintfSpecifier FS;
112 if (ParseArgPosition(H, FS, Start, I, E))
129 FS.setHasThousandsGrouping(I);
131 case '-': FS.setIsLeftJustified(I); break;
132 case '+': FS.setHasPlusPrefix(I); break;
133 case ' ': FS.setHasSpacePrefix(I); break;
134 case '#': FS.setHasAlternativeForm(I); break;
135 case '0': FS.setHasLeadingZeros(I); break;
149 if (ParseFieldWidth(H, FS, Start, I, E,
150 FS.usesPositionalArg() ? nullptr : &argIndex))
169 if (ParsePrecision(H, FS, Start, I, E,
170 FS.usesPositionalArg() ? nullptr : &argIndex))
182 if (ParseLengthModifier(FS, I, E, LO) && I == E) {
210 if (ParseObjCFlags(H, FS, flagStart, I, Warn))
306 FS.setConversionSpecifier(CS);
307 if (CS.consumesDataArgument() && !FS.usesPositionalArg())
308 FS.setArgIndex(argIndex++);
316 return !H.HandleInvalidPrintfConversionSpecifier(FS, Start, I - Start);
318 return PrintfSpecifierResult(Start, FS);
373 const analyze_printf::PrintfSpecifier &FS = FSR.getValue();
375 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg)