Home
last modified time | relevance | path

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

123

/external/downloader/src/main/java/com/google/android/downloader/
DDownloaderLogger.java18 import com.google.errorprone.annotations.FormatString;
27 void logFine(@FormatString String message, Object... args); in logFine()
30 void logInfo(@FormatString String message, Object... args); in logInfo()
33 void logWarning(@FormatString String message, Object... args); in logWarning()
36 void logWarning(@Nullable Throwable cause, @FormatString String message, Object... args); in logWarning()
39 void logError(@FormatString String message, Object... args); in logError()
42 void logError(@Nullable Throwable cause, @FormatString String message, Object... args); in logError()
DFloggerDownloaderLogger.java19 import com.google.errorprone.annotations.FormatString;
31 public void logFine(@FormatString String message, Object... args) { in logFine()
37 public void logInfo(@FormatString String message, Object... args) { in logInfo()
43 public void logWarning(@FormatString String message, Object... args) { in logWarning()
49 public void logWarning(@Nullable Throwable cause, @FormatString String message, Object... args) { in logWarning()
55 public void logError(@FormatString String message, Object... args) { in logError()
61 public void logError(@Nullable Throwable cause, @FormatString String message, Object... args) { in logError()
DAndroidDownloaderLogger.java19 import com.google.errorprone.annotations.FormatString;
31 public void logFine(@FormatString String message, Object... args) { in logFine()
37 public void logInfo(@FormatString String message, Object... args) { in logInfo()
43 public void logWarning(@FormatString String message, Object... args) { in logWarning()
49 public void logWarning(@Nullable Throwable cause, @FormatString String message, Object... args) { in logWarning()
55 public void logError(@FormatString String message, Object... args) { in logError()
61 public void logError(@Nullable Throwable cause, @FormatString String message, Object... args) { in logError()
/external/angle/src/gpu_info_util/
DSystemInfo_vulkan.cpp103 std::string FormatString(const char *fmt, ...) in FormatString() function
166 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
171 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
176 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
181 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
186 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
191 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
196 gpu.driverVersion = FormatString("%d.%d.%d.%d", properties.driverVersion >> 22, in GetSystemInfoVulkan()
209 gpu.driverVersion = FormatString("%d.%d.%d", properties.driverVersion >> 22, in GetSystemInfoVulkan()
218 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
[all …]
/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/llvm-project/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/llvm-project/llvm/utils/benchmark/src/
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, ...);
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()
/external/llvm-project/polly/lib/CodeGen/
DRuntimeDebugBuilder.cpp119 std::string FormatString; in prepareValuesForPrinting() local
148 FormatString += "%f"; in prepareValuesForPrinting()
150 FormatString += "%ld"; in prepareValuesForPrinting()
152 FormatString += "%s"; in prepareValuesForPrinting()
157 return std::make_tuple(FormatString, ValuesToPrint); in prepareValuesForPrinting()
163 std::string FormatString; in createCPUPrinterT() local
166 std::tie(FormatString, ValuesToPrint) = in createCPUPrinterT()
169 createPrintF(Builder, FormatString, ValuesToPrint); in createCPUPrinterT()
261 Value *FormatString = Builder.CreateGlobalStringPtr(Format); in createPrintF() local
264 Arguments.push_back(FormatString); in createPrintF()
/external/pigweed/pw_tokenizer/
Ddecode_test.cc33 const FormatString kOneArg("Hello %s");
34 const FormatString kTwoArgs("The %d %s");
68 ASSERT_EQ(FormatString(format).Format(args).value_with_errors(), in TEST()
147 ASSERT_EQ(FormatString(d_fmt).Format(data).value(), d_expected); in TEST()
148 ASSERT_EQ(FormatString(u_fmt).Format(data).value(), u_expected); in TEST()
166 const FormatString no_args_;
167 const FormatString one_arg_;
168 const FormatString two_args_;
Ddecode.cc306 FormatString::FormatString(const char* format) { in FormatString() function in pw::tokenizer::FormatString
334 DecodedFormatString FormatString::Format( in Format()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessorErrors.java23 import com.google.errorprone.annotations.FormatString;
77 @Nullable @FormatString String errorMessageTemplate, in checkState()
128 @Nullable @FormatString String errorMessageTemplate, in checkState()
/external/libchrome/dbus/
Ddbus_statistics.h28 enum FormatString { enum
62 FormatString format);
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DDiagnostics.cpp133 static void formatErrorString(StringRef FormatString, in formatErrorString() argument
136 while (!FormatString.empty()) { in formatErrorString()
137 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString()
142 FormatString = Pieces.second.drop_front(); in formatErrorString()
/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/llvm-project/compiler-rt/lib/sanitizer_common/
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()
/external/clang/lib/Analysis/
DCMakeLists.txt16 FormatString.cpp

123