Home
last modified time | relevance | path

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

12345678910>>...17

/aosp_15_r20/external/pigweed/pw_tokenizer/py/
H A Ddecode_test.py89 result = decode.FormatString('%n').format(b'')
97 result = decode.FormatString('%%').format(b'')
103 result = decode.FormatString('%+%').format(b'')
108 result = decode.FormatString('%-%').format(b'')
113 result = decode.FormatString('% %').format(b'')
118 result = decode.FormatString('%#%').format(b'')
123 result = decode.FormatString('%0%').format(b'')
130 result = decode.FormatString('%hh%').format(b'')
134 result = decode.FormatString('%h%').format(b'')
138 result = decode.FormatString('%l%').format(b'')
[all …]
/aosp_15_r20/external/pigweed/pw_format/rust/pw_format/tests/
H A Dprintf.rs20 FormatString::parse_printf("long double %+ 4.2Lf is %-03hd%%."), in test_parse()
21 Ok(FormatString { in test_parse()
62 FormatString::parse_printf("%%"), in test_percent()
63 Ok(FormatString { in test_percent()
71 assert!(FormatString::parse_printf("%+%").is_err()); in test_percent_with_leading_plus_fails()
76 assert!(FormatString::parse_printf("%-%").is_err()); in test_percent_with_leading_negative_fails()
81 assert!(FormatString::parse_printf("% %").is_err()); in test_percent_with_leading_space_fails()
86 assert!(FormatString::parse_printf("%#%").is_err()); in test_percent_with_leading_hash_fails()
91 assert!(FormatString::parse_printf("%0%").is_err()); in test_percent_with_leading_zero_fails()
96 assert!(FormatString::parse_printf("%hh%").is_err()); in test_percent_with_length_fails()
[all …]
H A Dcore_fmt.rs21 FormatString::parse_core_fmt("Hello {:?}!"), in std_fmt_examples_parse_correctly()
22 Ok(FormatString { in std_fmt_examples_parse_correctly()
42 FormatString::parse_core_fmt("{:04}"), in std_fmt_examples_parse_correctly()
43 Ok(FormatString { in std_fmt_examples_parse_correctly()
59 FormatString::parse_core_fmt("{:#?}"), in std_fmt_examples_parse_correctly()
60 Ok(FormatString { in std_fmt_examples_parse_correctly()
76 FormatString::parse_core_fmt("{0}"), in std_fmt_examples_parse_correctly()
77 Ok(FormatString { in std_fmt_examples_parse_correctly()
93 FormatString::parse_core_fmt("{1}"), in std_fmt_examples_parse_correctly()
94 Ok(FormatString { in std_fmt_examples_parse_correctly()
[all …]
/aosp_15_r20/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/logging/
H A DLogUtil.java21 import com.google.errorprone.annotations.FormatString;
51 public static int v(@FormatString String format, Object obj0) { in v()
60 public static int v(@FormatString String format, Object obj0, Object obj1) { in v()
69 public static int v(@FormatString String format, Object... params) { in v()
85 public static int d(@FormatString String format, Object obj0) { in d()
94 public static int d(@FormatString String format, Object obj0, Object obj1) { in d()
103 public static int d(@FormatString String format, Object... params) { in d()
112 public static int d(@Nullable Throwable tr, @FormatString String format, Object... params) { in d()
128 public static int i(@FormatString String format, Object obj0) { in i()
137 public static int i(@FormatString String format, Object obj0, Object obj1) { in i()
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/
H A DPrintLib.h245 IN CONST CHAR16 *FormatString,
292 IN CONST CHAR16 *FormatString,
341 IN CONST CHAR16 *FormatString,
389 IN CONST CHAR8 *FormatString,
435 IN CONST CHAR8 *FormatString,
484 IN CONST CHAR8 *FormatString,
591 IN CONST CHAR8 *FormatString,
635 IN CONST CHAR8 *FormatString,
682 IN CONST CHAR8 *FormatString,
730 IN CONST CHAR16 *FormatString,
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/
H A DPrintLib.h245 IN CONST CHAR16 *FormatString,
292 IN CONST CHAR16 *FormatString,
341 IN CONST CHAR16 *FormatString,
389 IN CONST CHAR8 *FormatString,
435 IN CONST CHAR8 *FormatString,
484 IN CONST CHAR8 *FormatString,
591 IN CONST CHAR8 *FormatString,
635 IN CONST CHAR8 *FormatString,
682 IN CONST CHAR8 *FormatString,
730 IN CONST CHAR16 *FormatString,
[all …]
/aosp_15_r20/packages/modules/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/testing/
DLogger.java19 import com.google.errorprone.annotations.FormatString;
44 public void wtf(@FormatString String msgFmt, @Nullable Object... msgArgs) { in wtf()
50 public void wtf(Throwable t, @FormatString String msgFmt, @Nullable Object... msgArgs) { in wtf()
56 public void e(@FormatString String msgFmt, @Nullable Object... msgArgs) { in e()
62 public void e(Throwable t, @FormatString String msgFmt, @Nullable Object... msgArgs) { in e()
68 public void w(@FormatString String msgFmt, @Nullable Object... msgArgs) { in w()
74 public void w(Throwable t, @FormatString String msgFmt, @Nullable Object... msgArgs) { in w()
80 public void i(@FormatString String msgFmt, @Nullable Object... msgArgs) { in i()
86 public void d(@FormatString String msgFmt, @Nullable Object... msgArgs) { in d()
92 public void v(@FormatString String msgFmt, @Nullable Object... msgArgs) { in v()
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/
H A DPrintLib.h251 IN CONST CHAR16 *FormatString,
298 IN CONST CHAR16 *FormatString,
347 IN CONST CHAR16 *FormatString,
395 IN CONST CHAR8 *FormatString,
441 IN CONST CHAR8 *FormatString,
490 IN CONST CHAR8 *FormatString,
653 IN CONST CHAR8 *FormatString,
697 IN CONST CHAR8 *FormatString,
744 IN CONST CHAR8 *FormatString,
792 IN CONST CHAR16 *FormatString,
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/
H A DPrintLib.h245 IN CONST CHAR16 *FormatString,
292 IN CONST CHAR16 *FormatString,
341 IN CONST CHAR16 *FormatString,
389 IN CONST CHAR8 *FormatString,
435 IN CONST CHAR8 *FormatString,
484 IN CONST CHAR8 *FormatString,
647 IN CONST CHAR8 *FormatString,
691 IN CONST CHAR8 *FormatString,
738 IN CONST CHAR8 *FormatString,
786 IN CONST CHAR16 *FormatString,
[all …]
/aosp_15_r20/external/angle/src/gpu_info_util/
H A DSystemInfo_vulkan.cpp175 std::string FormatString(const char *fmt, ...) in FormatString() function
265 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
270 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
275 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
280 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
285 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
290 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
295 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD()
300 gpu.driverVersion = FormatString("%d.%d.%d.%d", properties.driverVersion >> 22, in GetSystemInfoVulkanWithICD()
313 gpu.driverVersion = FormatString("%d.%d.%d", properties.driverVersion >> 22, in GetSystemInfoVulkanWithICD()
[all …]
/aosp_15_r20/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/util/
DLogUtil.java22 import com.google.errorprone.annotations.FormatString;
48 public static int v(@FormatString String format, Object... params) { in v()
66 public static int d(@FormatString String format, Object... params) { in d()
76 public static int d(Throwable tr, @FormatString String format, Object... params) { in d()
91 public static int i(@FormatString String format, Object... params) { in i()
103 public static int w(@FormatString String format, Object... params) { in w()
115 public static int e(@FormatString String format, Object... params) { in e()
127 public static int e(Throwable tr, @FormatString String format, Object... params) { in e()
133 public static int w(Throwable tr, @FormatString String format, Object... params) { in w()
/aosp_15_r20/external/perfetto/src/trace_processor/importers/proto/
H A Dpigweed_detokenizer.h44 class FormatString {
46 FormatString() = default;
47 FormatString(std::string template_str);
62 explicit DetokenizedString(const uint32_t token, FormatString str_template);
66 FormatString str_template,
88 FormatString format_string_;
96 explicit PigweedDetokenizer(base::FlatHashMap<uint32_t, FormatString> tokens);
101 base::FlatHashMap<uint32_t, FormatString> tokens_;
H A Dpigweed_detokenizer.cc58 return PigweedDetokenizer{base::FlatHashMap<uint32_t, FormatString>()}; in CreateNullDetokenizer()
63 base::FlatHashMap<uint32_t, FormatString> tokens; in CreateDetokenizer()
107 tokens[token] = FormatString(str); in CreateDetokenizer()
118 base::FlatHashMap<uint32_t, FormatString> tokens) in PigweedDetokenizer()
134 FormatString* format = tokens_.Find(token); in Detokenize()
137 FormatString(std::string("Token not found"))); in Detokenize()
203 FormatString format_string) in DetokenizedString()
208 FormatString format_string, in DetokenizedString()
271 FormatString::FormatString(std::string format) : template_str_(format) { in FormatString() function in perfetto::trace_processor::pigweed::FormatString
/aosp_15_r20/external/downloader/src/main/java/com/google/android/downloader/
H A 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()
H A 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()
H A 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()
/aosp_15_r20/packages/modules/AdServices/adservices/framework/java/com/android/adservices/
DLogUtil.java22 import com.google.errorprone.annotations.FormatString;
45 public static int v(@FormatString String format, Object... params) { in v()
63 public static int d(@FormatString String format, Object... params) { in d()
73 public static int d(Throwable tr, @FormatString String format, Object... params) { in d()
91 public static int i(@FormatString String format, Object... params) { in i()
109 public static int w(@FormatString String format, Object... params) { in w()
127 public static int e(@FormatString String format, Object... params) { in e()
151 public static int e(Throwable tr, @FormatString String format, Object... params) { in e()
157 public static int w(Throwable tr, @FormatString String format, Object... params) { in w()
DLoggerFactory.java22 import com.google.errorprone.annotations.FormatString;
106 public int v(@FormatString String format, Object... params) { in v()
124 public int d(@FormatString String format, Object... params) { in d()
134 public int d(Throwable tr, @FormatString String format, Object... params) { in d()
152 public int i(@FormatString String format, Object... params) { in i()
170 public int w(@FormatString String format, Object... params) { in w()
188 public int e(@FormatString String format, Object... params) { in e()
212 public int e(Throwable tr, @FormatString String format, Object... params) { in e()
218 public int w(Throwable tr, @FormatString String format, Object... params) { in w()
/aosp_15_r20/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DLogUtil.java22 import com.google.errorprone.annotations.FormatString;
45 public static int v(@FormatString String format, Object... params) { in v()
63 public static int d(@FormatString String format, Object... params) { in d()
73 public static int d(Throwable tr, @FormatString String format, Object... params) { in d()
91 public static int i(@FormatString String format, Object... params) { in i()
109 public static int w(@FormatString String format, Object... params) { in w()
127 public static int e(@FormatString String format, Object... params) { in e()
152 public static int e(Throwable tr, @FormatString String format, Object... params) { in e()
159 public static int w(Throwable tr, @FormatString String format, Object... params) { in w()
/aosp_15_r20/external/robolectric/resources/src/main/java/org/robolectric/res/android/
H A DUtil.java4 import com.google.errorprone.annotations.FormatString;
52 static void ALOGD(@FormatString String message, Object... args) { in ALOGD()
59 static void ALOGW(@FormatString String message, Object... args) { in ALOGW()
64 public static void ALOGV(@FormatString String message, Object... args) { in ALOGV()
71 public static void ALOGI(@FormatString String message, Object... args) { in ALOGI()
78 static void ALOGE(@FormatString String message, Object... args) { in ALOGE()
83 static void LOG_FATAL_IF(boolean assertion, @FormatString String message, Object... args) { in LOG_FATAL_IF()
/aosp_15_r20/external/google-benchmark/src/
H A Dconsole_reporter.cc63 FormatString("%-*s %13s %15s %12s", static_cast<int>(name_field_width_), in PrintHeader()
68 str += FormatString(" %10s", c.first.c_str()); in PrintHeader()
104 out << FormatString(fmt, args); in IgnoreColorPrint()
114 return FormatString("%10.3f", time); in FormatTime()
117 return FormatString("%10.2f", time); in FormatTime()
120 return FormatString("%10.1f", time); in FormatTime()
125 return FormatString("%1.4e", time); in FormatTime()
127 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()
146 out << FormatString(fmt, args); in ColorPrintf()
153 if (color_code) out << FormatString("\033[0;3%sm", color_code); in ColorPrintf()
154 out << FormatString(fmt, args) << "\033[m"; in ColorPrintf()
/aosp_15_r20/external/cronet/third_party/google_benchmark/src/src/
H A Dconsole_reporter.cc59 FormatString("%-*s %13s %15s %12s", static_cast<int>(name_field_width_), in PrintHeader()
64 str += FormatString(" %10s", c.first.c_str()); in PrintHeader()
100 out << FormatString(fmt, args); in IgnoreColorPrint()
110 return FormatString("%10.3f", time); in FormatTime()
113 return FormatString("%10.2f", time); in FormatTime()
116 return FormatString("%10.1f", time); in FormatTime()
121 return FormatString("%1.4e", time); in FormatTime()
123 return FormatString("%10.0f", time); in FormatTime()
/aosp_15_r20/external/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()
/aosp_15_r20/external/pigweed/pw_tokenizer/
H A 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_;

12345678910>>...17