Searched refs:ConversionSpecifier (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 23 using clang::analyze_format_string::ConversionSpecifier; 229 ConversionSpecifier::Kind k = ConversionSpecifier::InvalidSpecifier; in ParsePrintfSpecifier() 234 case '%': k = ConversionSpecifier::PercentArg; break; in ParsePrintfSpecifier() 235 case 'A': k = ConversionSpecifier::AArg; break; in ParsePrintfSpecifier() 236 case 'E': k = ConversionSpecifier::EArg; break; in ParsePrintfSpecifier() 237 case 'F': k = ConversionSpecifier::FArg; break; in ParsePrintfSpecifier() 238 case 'G': k = ConversionSpecifier::GArg; break; in ParsePrintfSpecifier() 239 case 'X': k = ConversionSpecifier::XArg; break; in ParsePrintfSpecifier() 240 case 'a': k = ConversionSpecifier::aArg; break; in ParsePrintfSpecifier() 241 case 'c': k = ConversionSpecifier::cArg; break; in ParsePrintfSpecifier() [all …]
|
D | FormatString.cpp | 26 using clang::analyze_format_string::ConversionSpecifier; 560 const char *ConversionSpecifier::toString() const { in toString() 609 Optional<ConversionSpecifier> 610 ConversionSpecifier::getStandardSpecifier() const { in getStandardSpecifier() 611 ConversionSpecifier::Kind NewKind; in getStandardSpecifier() 627 ConversionSpecifier FixedCS(*this); in getStandardSpecifier() 666 case ConversionSpecifier::cArg: in hasValidLengthModifier() 667 case ConversionSpecifier::CArg: in hasValidLengthModifier() 668 case ConversionSpecifier::sArg: in hasValidLengthModifier() 669 case ConversionSpecifier::SArg: in hasValidLengthModifier() [all …]
|
D | ScanfFormatString.cpp | 23 using clang::analyze_format_string::ConversionSpecifier; 164 case '%': k = ConversionSpecifier::PercentArg; break; in ParseScanfSpecifier() 165 case 'A': k = ConversionSpecifier::AArg; break; in ParseScanfSpecifier() 166 case 'E': k = ConversionSpecifier::EArg; break; in ParseScanfSpecifier() 167 case 'F': k = ConversionSpecifier::FArg; break; in ParseScanfSpecifier() 168 case 'G': k = ConversionSpecifier::GArg; break; in ParseScanfSpecifier() 169 case 'X': k = ConversionSpecifier::XArg; break; in ParseScanfSpecifier() 170 case 'a': k = ConversionSpecifier::aArg; break; in ParseScanfSpecifier() 171 case 'd': k = ConversionSpecifier::dArg; break; in ParseScanfSpecifier() 172 case 'e': k = ConversionSpecifier::eArg; break; in ParseScanfSpecifier() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | PrintfFormatString.cpp | 24 using clang::analyze_format_string::ConversionSpecifier; 301 ConversionSpecifier::Kind k = ConversionSpecifier::InvalidSpecifier; in ParsePrintfSpecifier() 306 case '%': k = ConversionSpecifier::PercentArg; break; in ParsePrintfSpecifier() 307 case 'A': k = ConversionSpecifier::AArg; break; in ParsePrintfSpecifier() 308 case 'E': k = ConversionSpecifier::EArg; break; in ParsePrintfSpecifier() 309 case 'F': k = ConversionSpecifier::FArg; break; in ParsePrintfSpecifier() 310 case 'G': k = ConversionSpecifier::GArg; break; in ParsePrintfSpecifier() 311 case 'X': k = ConversionSpecifier::XArg; break; in ParsePrintfSpecifier() 312 case 'a': k = ConversionSpecifier::aArg; break; in ParsePrintfSpecifier() 313 case 'c': k = ConversionSpecifier::cArg; break; in ParsePrintfSpecifier() [all …]
|
D | FormatString.cpp | 25 using clang::analyze_format_string::ConversionSpecifier; 620 const char *ConversionSpecifier::toString() const { in toString() 671 Optional<ConversionSpecifier> 672 ConversionSpecifier::getStandardSpecifier() const { in getStandardSpecifier() 673 ConversionSpecifier::Kind NewKind; in getStandardSpecifier() 689 ConversionSpecifier FixedCS(*this); in getStandardSpecifier() 733 case ConversionSpecifier::cArg: in hasValidLengthModifier() 734 case ConversionSpecifier::CArg: in hasValidLengthModifier() 735 case ConversionSpecifier::sArg: in hasValidLengthModifier() 736 case ConversionSpecifier::SArg: in hasValidLengthModifier() [all …]
|
D | ScanfFormatString.cpp | 22 using clang::analyze_format_string::ConversionSpecifier; 163 case '%': k = ConversionSpecifier::PercentArg; break; in ParseScanfSpecifier() 164 case 'A': k = ConversionSpecifier::AArg; break; in ParseScanfSpecifier() 165 case 'E': k = ConversionSpecifier::EArg; break; in ParseScanfSpecifier() 166 case 'F': k = ConversionSpecifier::FArg; break; in ParseScanfSpecifier() 167 case 'G': k = ConversionSpecifier::GArg; break; in ParseScanfSpecifier() 168 case 'X': k = ConversionSpecifier::XArg; break; in ParseScanfSpecifier() 169 case 'a': k = ConversionSpecifier::aArg; break; in ParseScanfSpecifier() 170 case 'd': k = ConversionSpecifier::dArg; break; in ParseScanfSpecifier() 171 case 'e': k = ConversionSpecifier::eArg; break; in ParseScanfSpecifier() [all …]
|
D | OSLog.cpp | 35 getKind(analyze_format_string::ConversionSpecifier::Kind K) { in getKind() 37 case clang::analyze_format_string::ConversionSpecifier::sArg: // "%s" in getKind() 39 case clang::analyze_format_string::ConversionSpecifier::SArg: // "%S" in getKind() 41 case clang::analyze_format_string::ConversionSpecifier::PArg: { // "%P" in getKind() 43 case clang::analyze_format_string::ConversionSpecifier::ObjCObjArg: // "%@" in getKind() 45 case clang::analyze_format_string::ConversionSpecifier::PrintErrno: // "%m" in getKind() 63 clang::analyze_format_string::ConversionSpecifier::PrintErrno) in HandlePrintfSpecifier() 81 case clang::analyze_format_string::ConversionSpecifier::sArg: // "%s" in HandlePrintfSpecifier() 82 case clang::analyze_format_string::ConversionSpecifier::SArg: { // "%S" in HandlePrintfSpecifier() 98 case clang::analyze_format_string::ConversionSpecifier::PArg: { // "%P" in HandlePrintfSpecifier()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | FormatString.h | 121 class ConversionSpecifier { 181 ConversionSpecifier(bool isPrintf = true) 185 ConversionSpecifier(bool isPrintf, const char *pos, Kind k) in ConversionSpecifier() function 227 Optional<ConversionSpecifier> getStandardSpecifier() const; 345 ConversionSpecifier CS; 410 public analyze_format_string::ConversionSpecifier { 413 : ConversionSpecifier(true, nullptr, InvalidSpecifier) {} in PrintfConversionSpecifier() 416 : ConversionSpecifier(true, pos, k) {} in PrintfConversionSpecifier() 422 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() 541 public analyze_format_string::ConversionSpecifier { [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | FormatString.h | 121 class ConversionSpecifier { 192 ConversionSpecifier(bool isPrintf = true) 196 ConversionSpecifier(bool isPrintf, const char *pos, Kind k) in ConversionSpecifier() function 240 Optional<ConversionSpecifier> getStandardSpecifier() const; 401 ConversionSpecifier CS; 478 public analyze_format_string::ConversionSpecifier { 481 : ConversionSpecifier(true, nullptr, InvalidSpecifier) {} in PrintfConversionSpecifier() 484 : ConversionSpecifier(true, pos, k) {} in PrintfConversionSpecifier() 490 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() 628 public analyze_format_string::ConversionSpecifier { [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 427 case analyze_format_string::ConversionSpecifier::cArg: in HandlePrintfSpecifier() 428 case analyze_format_string::ConversionSpecifier::CArg: in HandlePrintfSpecifier() 432 case analyze_format_string::ConversionSpecifier::dArg: in HandlePrintfSpecifier() 433 case analyze_format_string::ConversionSpecifier::DArg: in HandlePrintfSpecifier() 434 case analyze_format_string::ConversionSpecifier::iArg: in HandlePrintfSpecifier() 435 case analyze_format_string::ConversionSpecifier::oArg: in HandlePrintfSpecifier() 436 case analyze_format_string::ConversionSpecifier::OArg: in HandlePrintfSpecifier() 437 case analyze_format_string::ConversionSpecifier::uArg: in HandlePrintfSpecifier() 438 case analyze_format_string::ConversionSpecifier::UArg: in HandlePrintfSpecifier() 439 case analyze_format_string::ConversionSpecifier::xArg: in HandlePrintfSpecifier() [all …]
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4171 const analyze_format_string::ConversionSpecifier &CS, 4180 const analyze_format_string::ConversionSpecifier &CS, 4218 const analyze_format_string::ConversionSpecifier &CS, 4258 const analyze_format_string::ConversionSpecifier &CS, in HandleInvalidLengthModifier() 4321 const analyze_format_string::ConversionSpecifier &CS, in HandleNonStandardConversionSpecifier() 4326 Optional<ConversionSpecifier> FixedCS = CS.getStandardSpecifier(); in HandleNonStandardConversionSpecifier() 4498 const analyze_format_string::ConversionSpecifier &CS, in CheckNumArgs() 4914 if (CS.getKind() == ConversionSpecifier::FreeBSDbArg || in HandlePrintfSpecifier() 4915 CS.getKind() == ConversionSpecifier::FreeBSDDArg) { in HandlePrintfSpecifier() 4926 (CS.getKind() == ConversionSpecifier::FreeBSDbArg) ? in HandlePrintfSpecifier() [all …]
|