Home
last modified time | relevance | path

Searched full:formatted (Results 1 – 25 of 9582) sorted by relevance

12345678910>>...384

/aosp_15_r20/libcore/ojluni/src/test/java/text/Format/NumberFormat/
H A DBigDecimalFormat.java100 StringBuffer formatted = new StringBuffer(1000); field in BigDecimalFormat
115 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
117 nf.format(new BigDecimal(from), formatted, new FieldPosition(0)); in test_Format_in_NumberFormat_BigDecimal()
118 checkFormat(from, formatted, from, ((DecimalFormat)nf).getMultiplier()); in test_Format_in_NumberFormat_BigDecimal()
126 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
128 nf.format(new BigDecimal(from), formatted, fp); in test_Format_in_NumberFormat_BigDecimal()
129 checkFormat(from, formatted, from, ((DecimalFormat)nf).getMultiplier()); in test_Format_in_NumberFormat_BigDecimal()
138 formatted.setLength(0); in test_Format_in_NumberFormat_BigDecimal()
141 nf.format(new BigDecimal(from), formatted, fp); in test_Format_in_NumberFormat_BigDecimal()
142 checkFormat(from, formatted, to, ((DecimalFormat)nf).getMultiplier()); in test_Format_in_NumberFormat_BigDecimal()
[all …]
/aosp_15_r20/external/ComputeLibrary/utils/
H A DTypePrinter.h61 /** Formatted output if arg is not null
92 /** Formatted output of a vector of objects.
134 /** Formatted output of a vector of objects.
198 /** Formatted output of the @ref experimental::IPostOp type.
253 /** Formatted output of the @ref experimental::PostOpList type.
286 /** Formatted output of the Dimensions type.
309 /** Formatted output of the RoundingPolicy type.
336 /** Formatted output of the WeightsInfo type.
351 /** Formatted output of the ROIPoolingInfo type.
364 /** Formatted output of the ROIPoolingInfo type.
[all …]
/aosp_15_r20/external/gmmlib/Source/GmmLib/Utility/GmmLog/spdlog/details/
H A Dpattern_formatter_impl.h43 msg.formatted << *msg.logger_name; in format()
53 msg.formatted << level::to_str(msg.level); in format()
62 msg.formatted << level::to_short_str(msg.level); in format()
86 msg.formatted << days[tm_time.tm_wday]; in format()
96 msg.formatted << full_days[tm_time.tm_wday]; in format()
106 msg.formatted << months[tm_time.tm_mon]; in format()
116 msg.formatted << full_months[tm_time.tm_mon]; in format()
141 …msg.formatted << days[tm_time.tm_wday] << ' ' << months[tm_time.tm_mon] << ' ' << tm_time.tm_mday … in format()
142 …pad_n_join(msg.formatted, tm_time.tm_hour, tm_time.tm_min, tm_time.tm_sec, ':') << ' ' << tm_time.… in format()
152 msg.formatted << fmt::pad(tm_time.tm_year % 100, 2, '0'); in format()
[all …]
/aosp_15_r20/art/tools/ahat/src/main/com/android/ahat/
H A DSummarizer.java39 DocString formatted = new DocString(); in summarize() local
41 formatted.append("null"); in summarize()
42 return formatted; in summarize()
47 formatted.append(DocString.added("new ")); in summarize()
52 formatted.append(DocString.removed("del ")); in summarize()
58 formatted.append(reachability.toString() + " "); in summarize()
63 formatted.append("root "); in summarize()
69 formatted.append(linkText); in summarize()
72 formatted.appendLink(objTarget, linkText); in summarize()
78 formatted.appendFormat(" \"%s", stringValue); in summarize()
[all …]
/aosp_15_r20/external/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_image_load_store.c291 nir_def *formatted = NULL; in v3d42_nir_lower_image_store() local
294 formatted = nir_format_pack_11f11f10f(b, color); in v3d42_nir_lower_image_store()
296 formatted = nir_format_pack_r9g9b9e5(b, color); in v3d42_nir_lower_image_store()
301 formatted = color; in v3d42_nir_lower_image_store()
323 formatted = color; in v3d42_nir_lower_image_store()
328 formatted = color; in v3d42_nir_lower_image_store()
331 formatted = nir_format_float_to_snorm(b, color, bits); in v3d42_nir_lower_image_store()
335 formatted = nir_format_float_to_unorm(b, color, bits); in v3d42_nir_lower_image_store()
339 formatted = nir_format_float_to_half(b, color); in v3d42_nir_lower_image_store()
342 formatted = pack_bits(b, formatted, bits, num_components, in v3d42_nir_lower_image_store()
[all …]
/aosp_15_r20/external/gson/extras/src/main/java/com/google/gson/typeadapters/
H A DUtcDateTypeAdapter.java74 * @return the date formatted as yyyy-MM-ddThh:mm:ss[.sss][Z|[+-]hh:mm]
84 StringBuilder formatted = new StringBuilder(capacity); in format() local
86 padInt(formatted, calendar.get(Calendar.YEAR), "yyyy".length()); in format()
87 formatted.append('-'); in format()
88 padInt(formatted, calendar.get(Calendar.MONTH) + 1, "MM".length()); in format()
89 formatted.append('-'); in format()
90 padInt(formatted, calendar.get(Calendar.DAY_OF_MONTH), "dd".length()); in format()
91 formatted.append('T'); in format()
92 padInt(formatted, calendar.get(Calendar.HOUR_OF_DAY), "hh".length()); in format()
93 formatted.append(':'); in format()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/cli/
H A Dtensor_format.py74 """Generate a RichTextLines object showing a tensor in formatted style.
82 included in the formatted text.
136 formatted = debugger_cli_common.RichTextLines(
140 formatted.extend(auxiliary_message)
143 formatted.append("Numeric summary:")
144 formatted.extend(numeric_summary(tensor))
145 formatted.append("")
163 formatted.extend(formatted_array)
175 formatted.lines[0] += " " + highlight_summary
181 formatted, indices_list)
[all …]
/aosp_15_r20/external/gson/gson/src/main/java/com/google/gson/internal/bind/util/
H A DISO8601Utils.java46 * @return the date formatted as 'yyyy-MM-ddThh:mm:ssZ'
57 * @return the date formatted as 'yyyy-MM-ddThh:mm:ss[.sss]Z'
69 * @return the date formatted as yyyy-MM-ddThh:mm:ss[.sss][Z|[+-]hh:mm]
79 StringBuilder formatted = new StringBuilder(capacity); in format() local
81 padInt(formatted, calendar.get(Calendar.YEAR), "yyyy".length()); in format()
82 formatted.append('-'); in format()
83 padInt(formatted, calendar.get(Calendar.MONTH) + 1, "MM".length()); in format()
84 formatted.append('-'); in format()
85 padInt(formatted, calendar.get(Calendar.DAY_OF_MONTH), "dd".length()); in format()
86 formatted.append('T'); in format()
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/pulse/
Dproplist.h36 /** For streams: localized media name, formatted as UTF-8. e.g. "Guns'N'Roses: Civil War".*/
39 /** For streams: localized media title if applicable, formatted as UTF-8. e.g. "Civil War" */
42 /** For streams: localized media artist if applicable, formatted as UTF-8. e.g. "Guns'N'Roses" */
45 /** For streams: localized media copyright string if applicable, formatted as UTF-8. e.g. "Evil Rec…
48 /** For streams: localized media generator software string if applicable, formatted as UTF-8. e.g. …
80 /** For event sound streams: localized human readable one-line description of the event, formatted
83 …n the screen if the event sound was triggered by a mouse click, integer formatted as text string. …
86 …n the screen if the event sound was triggered by a mouse click, integer formatted as text string. …
89 … on the screen if the event sound was triggered by a mouse click, float formatted as text string, …
92 … on the screen if the event sound was triggered by a mouse click, float formatted as text string, …
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/assets/msmt_interop_tests/
Ddefault_config.json3 // source origin. Formatted as a base-10 string.
8 // Formatted as a base-10 string.
14 // Formatted as a base-10 string.
20 // Formatted as a base-10 string.
24 // destinations. Formatted as a base-10 string.
30 // Formatted as a base-10 string.
34 // attribution. Formatted as a base-10 string.
39 // per rate-limit window. Formatted as a base-10 string.
44 // per rate-limit window. Formatted as a base-10 string.
49 // Formatted as a base-10 string.
[all …]
/aosp_15_r20/external/google-cloud-java/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/
H A DThreatEntryAdditions.java79 * The raw SHA256-formatted entries.
93 * The raw SHA256-formatted entries.
108 * The raw SHA256-formatted entries.
122 * The raw SHA256-formatted entries.
136 * The raw SHA256-formatted entries.
153 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
170 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
189 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
645 * The raw SHA256-formatted entries.
662 * The raw SHA256-formatted entries.
[all …]
/aosp_15_r20/external/google-cloud-java/java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/
H A DThreatEntryAdditions.java79 * The raw SHA256-formatted entries.
93 * The raw SHA256-formatted entries.
108 * The raw SHA256-formatted entries.
122 * The raw SHA256-formatted entries.
136 * The raw SHA256-formatted entries.
153 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
170 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
189 * The encoded 4-byte prefixes of SHA256-formatted entries, using a
642 * The raw SHA256-formatted entries.
659 * The raw SHA256-formatted entries.
[all …]
/aosp_15_r20/external/pigweed/pw_presubmit/py/pw_presubmit/format/
H A Dcore.py37 def simple_diff(path: Path, original: str, formatted: str) -> str:
41 formatted = _ensure_newline(formatted)
45 formatted.splitlines(keepends=True),
58 formatted: The contents of the formatted file, as a string.
73 formatted_file_contents: The contents of the resulting formatted file
146 """Returns the formatted version of a file as in-memory bytes.
169 """Returns a diff comparing a file to its formatted version.
181 formatted = self.format_file_in_memory(file_path, original)
183 if not formatted.ok:
188 error_message=formatted.error_message,
[all …]
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/
H A DMathRuntimeException.java57 * formatted detail message.
70 * formatted detail message.
96 * formatted detail message and nested <code>Throwable</code> root cause.
112 * formatted detail message and nested <code>Throwable</code> root cause.
222 * Constructs a new <code>ArithmeticException</code> with specified formatted detail message.
236 * Constructs a new <code>ArithmeticException</code> with specified formatted detail message.
266 …* Constructs a new <code>ArrayIndexOutOfBoundsException</code> with specified formatted detail mes…
280 …* Constructs a new <code>ArrayIndexOutOfBoundsException</code> with specified formatted detail mes…
310 * Constructs a new <code>EOFException</code> with specified formatted detail message.
324 * Constructs a new <code>EOFException</code> with specified formatted detail message.
[all …]
/aosp_15_r20/external/moshi/moshi-adapters/src/main/java/com/squareup/moshi/adapters/
H A DIso8601Utils.java45 /** Returns {@code date} formatted as yyyy-MM-ddThh:mm:ss.sssZ */
52 StringBuilder formatted = new StringBuilder(capacity); in format() local
53 padInt(formatted, calendar.get(Calendar.YEAR), "yyyy".length()); in format()
54 formatted.append('-'); in format()
55 padInt(formatted, calendar.get(Calendar.MONTH) + 1, "MM".length()); in format()
56 formatted.append('-'); in format()
57 padInt(formatted, calendar.get(Calendar.DAY_OF_MONTH), "dd".length()); in format()
58 formatted.append('T'); in format()
59 padInt(formatted, calendar.get(Calendar.HOUR_OF_DAY), "hh".length()); in format()
60 formatted.append(':'); in format()
[all …]
/aosp_15_r20/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/
DPageMeasurementHelper.java200 return "%s {".formatted(super.toString()) in toString()
201 + " gridWidthPx: %d".formatted(gridWidthPx) in toString()
202 + " gridHeightPx: %d".formatted(gridHeightPx) in toString()
203 + " cellWidthPx: %d".formatted(cellWidthPx) in toString()
204 + " cellHeightPx: %d".formatted(cellHeightPx) in toString()
205 + " numOfRows: %d".formatted(mNumOfRows) in toString()
206 + " numOfCols: %d".formatted(mNumOfCols) in toString()
248 return "%s {".formatted(super.toString()) in toString()
249 + " recyclerViewWidthPx: %d".formatted(recyclerViewWidthPx) in toString()
250 + " recyclerViewHeightPx: %d".formatted(recyclerViewHeightPx) in toString()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/num/flt2dec/
H A Dmod.rs88 The rendered digits are formatted into the actual string form with
127 use super::fmt::{Formatted, Part};
308 /// Returns the static byte string corresponding to the sign to be formatted.
356 ) -> Formatted<'a> in to_shortest_str()
370 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
375 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
382 Formatted { in to_shortest_str()
389 Formatted { in to_shortest_str()
398 Formatted { sign, parts: digits_to_dec_str(buf, exp, frac_digits, parts) } in to_shortest_str()
415 /// The `dec_bounds` is a tuple `(lo, hi)` such that the number is formatted
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/num/flt2dec/
H A Dmod.rs88 The rendered digits are formatted into the actual string form with
127 use super::fmt::{Formatted, Part};
308 /// Returns the static byte string corresponding to the sign to be formatted.
356 ) -> Formatted<'a> in to_shortest_str()
370 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
375 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
382 Formatted { in to_shortest_str()
389 Formatted { in to_shortest_str()
398 Formatted { sign, parts: digits_to_dec_str(buf, exp, frac_digits, parts) } in to_shortest_str()
415 /// The `dec_bounds` is a tuple `(lo, hi)` such that the number is formatted
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/num/flt2dec/
H A Dmod.rs88 The rendered digits are formatted into the actual string form with
127 use super::fmt::{Formatted, Part};
308 /// Returns the static byte string corresponding to the sign to be formatted.
356 ) -> Formatted<'a> in to_shortest_str()
370 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
375 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
382 Formatted { in to_shortest_str()
389 Formatted { in to_shortest_str()
398 Formatted { sign, parts: digits_to_dec_str(buf, exp, frac_digits, parts) } in to_shortest_str()
415 /// The `dec_bounds` is a tuple `(lo, hi)` such that the number is formatted
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/num/flt2dec/
H A Dmod.rs88 The rendered digits are formatted into the actual string form with
127 use super::fmt::{Formatted, Part};
308 /// Returns the static byte string corresponding to the sign to be formatted.
356 ) -> Formatted<'a> in to_shortest_str()
370 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
375 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
382 Formatted { in to_shortest_str()
389 Formatted { in to_shortest_str()
398 Formatted { sign, parts: digits_to_dec_str(buf, exp, frac_digits, parts) } in to_shortest_str()
415 /// The `dec_bounds` is a tuple `(lo, hi)` such that the number is formatted
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/num/flt2dec/
H A Dmod.rs88 The rendered digits are formatted into the actual string form with
127 use super::fmt::{Formatted, Part};
308 /// Returns the static byte string corresponding to the sign to be formatted.
356 ) -> Formatted<'a> in to_shortest_str()
370 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
375 Formatted { sign, parts: unsafe { MaybeUninit::slice_assume_init_ref(&parts[..1]) } } in to_shortest_str()
382 Formatted { in to_shortest_str()
389 Formatted { in to_shortest_str()
398 Formatted { sign, parts: digits_to_dec_str(buf, exp, frac_digits, parts) } in to_shortest_str()
415 /// The `dec_bounds` is a tuple `(lo, hi)` such that the number is formatted
[all …]
/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/duration/
H A DICUDurationTest.java179 String formatted; in TestBasics() local
182 formatted = df.formatDurationFromNow(4096); in TestBasics()
184 if(!expect.equals(formatted)) { in TestBasics()
185 errln("Expected " + expect + " but got " + formatted); in TestBasics()
187 logln("format duration -> " + formatted); in TestBasics()
190 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
194 if(!expect.equals(formatted)) { in TestBasics()
195 errln("Expected " + expect + " but got " + formatted); in TestBasics()
197 logln("format date -> " + formatted); in TestBasics()
200 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DICUDurationTest.java182 String formatted; in TestBasics() local
185 formatted = df.formatDurationFromNow(4096); in TestBasics()
187 if(!expect.equals(formatted)) { in TestBasics()
188 errln("Expected " + expect + " but got " + formatted); in TestBasics()
190 logln("format duration -> " + formatted); in TestBasics()
193 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
197 if(!expect.equals(formatted)) { in TestBasics()
198 errln("Expected " + expect + " but got " + formatted); in TestBasics()
200 logln("format date -> " + formatted); in TestBasics()
203 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
[all …]
/aosp_15_r20/external/python/cpython3/Doc/library/
Dpprint.rst16 If the formatted structures include objects which are not fundamental Python
21 The formatted representation keeps objects on a single line if it can, and
61 depth of the objects being formatted.
64 line in the output. If a structure cannot be formatted within the width
68 are formatted. If *compact* is false (the default) then each item of a
69 sequence will be formatted on a separate line. If *compact* is true, as
70 many items as will fit within the *width* will be formatted on each output
73 If *sort_dicts* is true (the default), dictionaries will be formatted with
76 If *underscore_numbers* is true, integers will be formatted with the
118 Return the formatted representation of *object* as a string. *indent*,
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/utils/src/test/java/software/amazon/awssdk/utils/
H A DDateUtilsTest.java168 String formatted = LONG_DATE_FORMAT.format(Date.from(INSTANT)); in parseRfc1123Date() local
169 Instant expected = LONG_DATE_FORMAT.parse(formatted).toInstant(); in parseRfc1123Date()
170 Instant actual = DateUtils.parseRfc1123Date(formatted); in parseRfc1123Date()
181 String formatted = "2021-05-10T17:12:13-07:00"; in parseIso8601Date_withUtcOffset() local
182 Instant expected = ISO_OFFSET_DATE_TIME.parse(formatted, Instant::from); in parseIso8601Date_withUtcOffset()
183 Instant actual = DateUtils.parseIso8601Date(formatted); in parseIso8601Date_withUtcOffset()
187 assertEquals(formatted, actualString); in parseIso8601Date_withUtcOffset()
196 String formatted = dateFormat.format(Date.from(INSTANT)); in checkParsing() local
198 assertEquals(formatted, alternative); in checkParsing()
199 Instant expected = dateFormat.parse(formatted).toInstant(); in checkParsing()
[all …]

12345678910>>...384