Home
last modified time | relevance | path

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

/external/google-benchmark/src/
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()
96 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()
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()
Dcolorprint.h20 std::string FormatString(const char* msg, va_list args);
21 std::string FormatString(const char* msg, ...);
/external/libcxx/utils/google-benchmark/src/
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()
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()
Dcolorprint.h20 std::string FormatString(const char* msg, va_list args);
21 std::string FormatString(const char* msg, ...);
/external/libchrome/dbus/
Ddbus_statistics.h28 enum FormatString { enum
62 FormatString format);
Ddbus_statistics.cc162 std::string GetAsString(ShowInString show, FormatString format) { in GetAsString()
/external/clang/lib/ASTMatchers/Dynamic/
DDiagnostics.cpp132 static void formatErrorString(StringRef FormatString, in formatErrorString() argument
135 while (!FormatString.empty()) { in formatErrorString()
136 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString()
141 FormatString = Pieces.second.drop_front(); in formatErrorString()
/external/clang/lib/Analysis/
DCMakeLists.txt16 FormatString.cpp
/external/clang/include/clang/Basic/
DDiagnosticIDs.h140 unsigned getCustomDiagID(Level L, StringRef FormatString);
DDiagnostic.h609 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { in getCustomDiagID()
611 StringRef(FormatString, N - 1)); in getCustomDiagID()
/external/clang/lib/Basic/
DDiagnosticIDs.cpp311 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) { in getCustomDiagID() argument
314 return CustomDiagInfo->getOrCreateDiagID(L, FormatString, *this); in getCustomDiagID()
/external/python/cpython3/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp2914 hr = pEngine->FormatString(subkeyFmt, subkey, &subkeyLen); in LoadOptionalFeatureStates()
2946 hr = pEngine->FormatString(subkeyFmt, subkey, &subkeyLen); in LoadOptionalFeatureStates()
/external/clang/lib/Sema/
DSemaChecking.cpp1965 const StringLiteral *FormatString; in DiagnoseCStringFormatDirectiveInCFAPI() local
1968 FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInCFAPI()
1970 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()
1971 if (!FormatString) in DiagnoseCStringFormatDirectiveInCFAPI()
1973 if (S.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInCFAPI()
DSemaExprObjC.cpp2291 StringLiteral *FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInObjCAPI() local
2292 if (S.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInObjCAPI()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DAMDGPUUsage.rst1034 ``ID:N:S[0]:S[1]:...:S[N-1]:FormatString``
1049 of the i-th FormatString argument of
1052 FormatString