Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dconsole_reporter.cc56 std::string str = FormatString("%-*s %13s %15s %12s", static_cast<int>(name_field_width_), in PrintHeader()
61 str += FormatString(" %10s", c.first.c_str()); in PrintHeader()
97 out << FormatString(fmt, args); in IgnoreColorPrint()
105 return FormatString("%10.3f", time); in FormatTime()
108 return FormatString("%10.2f", time); in FormatTime()
111 return FormatString("%10.1f", time); in FormatTime()
113 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, ...);
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
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, ...);
H A Dconsole_reporter.cc56 std::string str = FormatString("%-*s %13s %13s %10s", static_cast<int>(name_field_width_), in PrintHeader()
61 str += FormatString(" %10s", c.first.c_str()); in PrintHeader()
97 out << FormatString(fmt, args); in IgnoreColorPrint()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp21 << ", format = " << dwarf::FormatString(getFormat()) in dump()
H A DDWARFTypeUnit.cpp35 << ", 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.cpp168 << "format = " << dwarf::FormatString(HeaderData.Format) << ", " in dump()
H A DDWARFDebugAddr.cpp144 << ", format = " << dwarf::FormatString(Format) in dump()
H A DDWARFDebugMacro.cpp32 << ", format = " << FormatString(getDwarfFormat()); in dumpMacroHeader()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp786 auto FormatString = in checkDeprecatedOrUnsafeBufferHandling() local
788 if (FormatString && in checkDeprecatedOrUnsafeBufferHandling()
789 FormatString->getString().find("%s") == StringRef::npos && in checkDeprecatedOrUnsafeBufferHandling()
790 FormatString->getString().find("%[") == StringRef::npos) in checkDeprecatedOrUnsafeBufferHandling()
/netbsd-src/external/apache2/llvm/lib/libclangAST/
H A DMakefile48 FormatString.cpp \
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCMakeLists.txt57 FormatString.cpp
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DDwarf.h577 StringRef FormatString(DwarfFormat Format);
578 StringRef FormatString(bool IsDWARF64);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticIDs.h188 unsigned getCustomDiagID(Level L, StringRef FormatString);
H A DDiagnostic.h863 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { in getCustomDiagID()
865 StringRef(FormatString, N - 1)); in getCustomDiagID()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn83 "FormatString.cpp",
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DDiagnosticIDs.cpp414 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID() argument
417 return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this); in getCustomDiagID()

12