Home
last modified time | relevance | path

Searched refs:FormatString (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dconsole_reporter.cc57 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 Dcolorprint.cc85 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 Dcolorprint.h20 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 DRuntimeDebugBuilder.cpp119 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 DDiagnostics.cpp141 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 Dsanitizer_flag_parser.h37 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 Dsanitizer_flags.cpp106 return FormatString(buffer, size, original_path_); in Format()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp24 << ", format = " << dwarf::FormatString(getFormat()) in dump()
H A DDWARFTypeUnit.cpp33 << ", format = " << dwarf::FormatString(getFormat()) in dump()
H A DDWARFDebugPubTable.cpp97 OS << ", format = " << dwarf::FormatString(S.Format); in dump()
H A DDWARFListTable.cpp85 << ", format = " << dwarf::FormatString(Format) in dump()
H A DDWARFDebugArangeSet.cpp167 << "format = " << dwarf::FormatString(HeaderData.Format) << ", " in dump()
H A DDWARFDebugAddr.cpp143 << ", format = " << dwarf::FormatString(Format) in dump()
H A DDWARFDebugMacro.cpp35 << ", format = " << FormatString(getDwarfFormat()); in dumpMacroHeader()
H A DDWARFDebugFrame.cpp955 << " Format: " << FormatString(IsDWARF64) << "\n"; in dump()
1003 OS << " Format: " << FormatString(IsDWARF64) << "\n"; in dump()
H A DDWARFAcceleratorTable.cpp367 W.printString("Format", dwarf::FormatString(Format)); in dump()
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DDwarf.cpp790 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 DCheckSecuritySyntaxOnly.cpp786 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 DCMakeLists.txt63 FormatString.cpp
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DDwarf.h582 StringRef FormatString(DwarfFormat Format);
583 StringRef FormatString(bool IsDWARF64);
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticIDs.h190 unsigned getCustomDiagID(Level L, StringRef FormatString);
H A DDiagnostic.h868 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 DBUILD.gn91 "FormatString.cpp",
/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnosticIDs.cpp416 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 Dmsan.cpp131 return FormatString(buffer, size, keep_going_str); in Format()

12