| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | console_reporter.cc | 57 FormatString("%-*s %13s %15s %12s", static_cast<int>(name_field_width_), in PrintHeader() 62 str += FormatString(" %10s", c.first.c_str()); in PrintHeader() 97 out << FormatString(fmt, args); in IgnoreColorPrint() 104 return FormatString("%10.3f", time); in FormatTime() 107 return FormatString("%10.2f", time); in FormatTime() 110 return FormatString("%10.1f", time); in FormatTime() 112 return FormatString("%10.0f", time); in FormatTime()
|
| H A D | colorprint.cc | 85 std::string FormatString(const char* msg, va_list args) { in FormatString() function 113 std::string FormatString(const char* msg, ...) { in FormatString() function 116 auto tmp = FormatString(msg, args); in FormatString() 153 if (color_code) out << FormatString("\033[0;3%sm", color_code); in ColorPrintf() 154 out << FormatString(fmt, args) << "\033[m"; in ColorPrintf()
|
| H A D | colorprint.h | 20 std::string FormatString(const char* msg, va_list args); 21 std::string FormatString(const char* msg, ...);
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 119 std::string FormatString; in prepareValuesForPrinting() local 147 FormatString += "%f"; in prepareValuesForPrinting() 149 FormatString += "%ld"; in prepareValuesForPrinting() 151 FormatString += "%s"; in prepareValuesForPrinting() 156 return std::make_tuple(FormatString, ValuesToPrint); in prepareValuesForPrinting() 162 std::string FormatString; in createCPUPrinterT() local 165 std::tie(FormatString, ValuesToPrint) = in createCPUPrinterT() 168 createPrintF(Builder, FormatString, ValuesToPrint); in createCPUPrinterT() 261 Value *FormatString = Builder.CreateGlobalStringPtr(Format); in createPrintF() local 264 Arguments.push_back(FormatString); in createPrintF()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.cpp | 141 static void formatErrorString(StringRef FormatString, in formatErrorString() argument 144 while (!FormatString.empty()) { in formatErrorString() 145 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString() 150 FormatString = Pieces.second.drop_front(); in formatErrorString()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flag_parser.h | 37 inline bool FormatString(char *buffer, uptr size, const char *str_to_use) { in FormatString() function 79 return FormatString(buffer, size, *t_ ? "true" : "false"); in Format() 112 return FormatString(buffer, size, *t_); in Format()
|
| H A D | sanitizer_flags.cpp | 106 return FormatString(buffer, size, original_path_); in Format()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFCompileUnit.cpp | 24 << ", format = " << dwarf::FormatString(getFormat()) in dump()
|
| H A D | DWARFTypeUnit.cpp | 33 << ", format = " << dwarf::FormatString(getFormat()) in dump()
|
| H A D | DWARFDebugPubTable.cpp | 97 OS << ", format = " << dwarf::FormatString(S.Format); in dump()
|
| H A D | DWARFListTable.cpp | 85 << ", format = " << dwarf::FormatString(Format) in dump()
|
| H A D | DWARFDebugArangeSet.cpp | 167 << "format = " << dwarf::FormatString(HeaderData.Format) << ", " in dump()
|
| H A D | DWARFDebugAddr.cpp | 143 << ", format = " << dwarf::FormatString(Format) in dump()
|
| H A D | DWARFDebugMacro.cpp | 35 << ", format = " << FormatString(getDwarfFormat()); in dumpMacroHeader()
|
| H A D | DWARFDebugFrame.cpp | 955 << " Format: " << FormatString(IsDWARF64) << "\n"; in dump() 1003 OS << " Format: " << FormatString(IsDWARF64) << "\n"; in dump()
|
| H A D | DWARFAcceleratorTable.cpp | 367 W.printString("Format", dwarf::FormatString(Format)); in dump()
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 790 StringRef llvm::dwarf::FormatString(DwarfFormat Format) { in FormatString() function in llvm::dwarf 800 StringRef llvm::dwarf::FormatString(bool IsDWARF64) { in FormatString() function in llvm::dwarf 801 return FormatString(IsDWARF64 ? DWARF64 : DWARF32); in FormatString()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 786 auto FormatString = in checkDeprecatedOrUnsafeBufferHandling() local 788 if (FormatString && !FormatString->getString().contains("%s") && in checkDeprecatedOrUnsafeBufferHandling() 789 !FormatString->getString().contains("%[")) in checkDeprecatedOrUnsafeBufferHandling()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CMakeLists.txt | 63 FormatString.cpp
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.h | 582 StringRef FormatString(DwarfFormat Format); 583 StringRef FormatString(bool IsDWARF64);
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DiagnosticIDs.h | 190 unsigned getCustomDiagID(Level L, StringRef FormatString);
|
| H A D | Diagnostic.h | 868 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { in getCustomDiagID() 870 StringRef(FormatString, N - 1)); in getCustomDiagID()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/ |
| H A D | BUILD.gn | 91 "FormatString.cpp",
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 416 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID() argument 419 return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this); in getCustomDiagID()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan.cpp | 131 return FormatString(buffer, size, keep_going_str); in Format()
|