Home
last modified time | relevance | path

Searched refs:formatted (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_image_load_store.c102 nir_ssa_def *formatted = NULL; in v3d_nir_lower_image_store() local
105 formatted = nir_format_pack_11f11f10f(b, color); in v3d_nir_lower_image_store()
107 formatted = nir_format_pack_r9g9b9e5(b, color); in v3d_nir_lower_image_store()
112 formatted = color; in v3d_nir_lower_image_store()
137 formatted = color; in v3d_nir_lower_image_store()
142 formatted = color; in v3d_nir_lower_image_store()
145 formatted = nir_format_float_to_snorm(b, color, bits); in v3d_nir_lower_image_store()
149 formatted = nir_format_float_to_unorm(b, color, bits); in v3d_nir_lower_image_store()
153 formatted = nir_format_float_to_half(b, color); in v3d_nir_lower_image_store()
156 formatted = pack_bits(b, formatted, bits, num_components, in v3d_nir_lower_image_store()
[all …]
/third_party/rust/crates/syn/codegen/src/
Dfile.rs9 let mut formatted = Vec::new(); in write() localVariable
11 formatted, in write()
14 writeln!(formatted, "// It is not intended for manual editing.")?; in write()
15 writeln!(formatted)?; in write()
19 write!(formatted, "{}", pretty)?; in write()
22 if path.is_file() && fs::read(&path)? == formatted { in write()
26 fs::write(path, formatted)?; in write()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
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 …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
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 …]
/third_party/python/Lib/test/
Dtest_pprint.py444 formatted = pprint.pformat(ns)
445 self.assertEqual(formatted, "namespace()")
449 formatted = pprint.pformat(ns)
450 self.assertEqual(formatted, "namespace(a=1, b=2)")
464 formatted = pprint.pformat(ns, width=60, indent=4)
465 self.assertEqual(formatted, """\
489 formatted = pprint.pformat(ns, width=60)
490 self.assertEqual(formatted, """\
503 formatted = pprint.pformat(dc)
504 self.assertEqual(formatted, "MyDataclass()")
[all …]
/third_party/python/Lib/
Dlocale.py185 formatted = percent % ((value,) + additional)
187 formatted = percent % value
189 formatted = _localize(formatted, grouping, monetary)
190 return formatted
193 def _localize(formatted, grouping=False, monetary=False): argument
195 if '.' in formatted:
197 parts = formatted.split('.')
202 formatted = decimal_point.join(parts)
204 formatted = _strip_padding(formatted, seps)
208 formatted, seps = _group(formatted, monetary=monetary)
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java882 String formatted = dtitvfmt.format(dtitv); in expect() local
883 if ( !formatted.equals(Utility.unescape(expected)) ) { in expect()
884 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expect()
978 String formatted = dtitvfmt.format(dtitv); in expectUserDII() local
979 if ( !formatted.equals(Utility.unescape(expected)) ) { in expectUserDII()
980 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expectUserDII()
1123 String formatted = dtitvfmt.format(dtitv).toString(); in expectUserCLDR() local
1124 if ( !formatted.equals(Utility.unescape(expected)) ) { in expectUserCLDR()
1125 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expectUserCLDR()
2358 FormattedDateInterval formatted = g.formatToValue(bothAD); in testTicket21222GregorianEraDiff() local
[all …]
DTimeUnitTest.java81 String formatted = formats[style].format(source); in TestBasic() local
83 logln(tests[i] + " => " + formatted); in TestBasic()
87 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic()
89 … errln("No round trip: " + source + " => " + formatted + " => " + result); in TestBasic()
243 String formatted; in TestGreek() local
252 formatted = timeUnitFormat.format(timeUnitAmount); in TestGreek()
259 expected[counter], formatted); in TestGreek()
312 String formatted = format.format(source); in formatParsing() local
314 logln(tests[i] + " => " + formatted); in formatParsing()
316 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp2114 UnicodeString formatted = res.toString(status); in testFormatMillisecond() local
2116 if (formatted != kTestCases[i].expected) { in testFormatMillisecond()
2120 i, kTestCases[i].skeleton, formatted.toUTF8String<std::string>(tmp1).c_str(), in testFormatMillisecond()
2169 const FormattedDateInterval& formatted, in getCategoryAndField() argument
2176 while (formatted.nextPosition(cfpos, status)) { in getCategoryAndField()
2183 const FormattedDateInterval& formatted, in verifyCategoryAndField() argument
2189 while (formatted.nextPosition(cfpos, status)) { in verifyCategoryAndField()
2218 FormattedDateInterval formatted; in testTicket21222GregorianEraDiff() local
2235 formatted = g->formatToValue(bothAD, status); in testTicket21222GregorianEraDiff()
2238 formatted.toString(status)); in testTicket21222GregorianEraDiff()
[all …]
Dtufmtts.cpp134 UnicodeString formatted; in testBasic() local
137 formatted = ((Format*)formats[style])->format(formattable, formatted, status); in testBasic()
141 formatted.extract(0, formatted.length(), formatResult, "UTF-8"); in testBasic()
145 ((Format*)formats[style])->parseObject(formatted, result, status); in testBasic()
152 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); in testBasic()
Ddtifmtts.h113 const FormattedDateInterval& formatted,
119 const FormattedDateInterval& formatted,
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeUnitTest.java84 String formatted = formats[style].format(source); in TestBasic() local
86 logln(tests[i] + " => " + formatted); in TestBasic()
90 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic()
92 … errln("No round trip: " + source + " => " + formatted + " => " + result); in TestBasic()
246 String formatted; in TestGreek() local
255 formatted = timeUnitFormat.format(timeUnitAmount); in TestGreek()
262 expected[counter], formatted); in TestGreek()
315 String formatted = format.format(source); in formatParsing() local
317 logln(tests[i] + " => " + formatted); in formatParsing()
319 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
[all …]
DDateTimeGeneratorTest.java336 String formatted = sdf.format(date); in TestBasic() local
337 …EST_DATA) logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
345 String formatted = sdf.format(date); in TestBasic() local
347 … logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
348 } else if (!formatted.equals(testFormatted)) { in TestBasic()
349 …Skeleton + "\t generated: " + pattern + "\t expected: " + testFormatted + "\t got: " + formatted); in TestBasic()
353 formatted = sdf.format(date); in TestBasic()
617 String formatted = formatter.format(new Date()); in DayMonthTest() local
618 logln("formatted=" + formatted); in DayMonthTest()
671 String formatted = newFormat.format(testDate); in TestReplacingZoneString() local
[all …]
/third_party/cJSON/fuzzing/
Dcjson_read_fuzzer.c19 int minify, require_termination, formatted, buffered; in LLVMFuzzerTestOneInput() local
31 formatted = data[2] == '1' ? 1 : 0; in LLVMFuzzerTestOneInput()
40 printed_json = cJSON_PrintBuffered(json, 1, formatted); in LLVMFuzzerTestOneInput()
45 if(formatted) in LLVMFuzzerTestOneInput()
/third_party/python/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
59 depth of the objects being formatted.
62 line in the output. If a structure cannot be formatted within the width
66 are formatted. If *compact* is false (the default) then each item of a
67 sequence will be formatted on a separate line. If *compact* is true, as
68 many items as will fit within the *width* will be formatted on each output
71 If *sort_dicts* is true (the default), dictionaries will be formatted with
74 If *underscore_numbers* is true, integers will be formatted with the
116 Return the formatted representation of *object* as a string. *indent*,
[all …]
/third_party/node/deps/v8/src/strings/
Dstring-stream.cc153 base::EmbeddedVector<char, 24> formatted; in Add() local
154 int length = SNPrintF(formatted, temp.begin(), value); in Add()
155 Add(base::Vector<const char>(formatted.begin(), length)); in Add()
172 base::EmbeddedVector<char, 28> formatted; in Add() local
173 SNPrintF(formatted, temp.begin(), value); in Add()
174 Add(formatted.begin()); in Add()
180 base::EmbeddedVector<char, 20> formatted; in Add() local
181 SNPrintF(formatted, temp.begin(), value); in Add()
182 Add(formatted.begin()); in Add()
/third_party/gn/src/gn/
Dninja_target_command_util_unittest.cc32 std::string formatted = in TestWriter() local
38 if (formatted != expected) { in TestWriter()
40 stream << '"' << expected << "\" == \"" << formatted << '"'; in TestWriter()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Darg.cc230 string_view formatted = as_digits.without_neg_or_zero(); in ConvertIntImplInnerSlow() local
231 ReducePadding(formatted, &fill); in ConvertIntImplInnerSlow()
249 if (formatted.empty() || *formatted.begin() != '0') { in ConvertIntImplInnerSlow()
250 int needed = static_cast<int>(formatted.size()) + 1; in ConvertIntImplInnerSlow()
255 size_t num_zeroes = Excess(formatted.size(), precision); in ConvertIntImplInnerSlow()
273 sink->Append(formatted); in ConvertIntImplInnerSlow()
/third_party/libphonenumber/resources/
Dphonemetadata.proto38 // pattern should be formatted.
40 // meaning that the number should be formatted as "20 7031 3000".
49 // national numbers starting with 1, 2, 3 or 44 should be formatted using the
62 // group ($FG) in the national significant number should be formatted in
65 // China (whose $NP = 0), which would by default be formatted without
67 // formatted as (010) 1234 5678; to format it as (0)10 1234 5678, the field
70 // number should be formatted in NATIONAL format without the national prefix.
74 // When this field is missing, a number will be formatted without national
76 // is formatted in other formats, such as INTERNATIONAL.
81 // a UK number would be formatted by our library as 020 XXXX XXXX. If we have
[all …]
/third_party/icu/docs/userguide/format_parse/datetime/
Dexamples.md202 String formatted = formatter.format(new Date());
221 UnicodeString formatted;
222 formatted = formatter->format(Calendar::getNow(), formatted, status);
245 formattedCapacity = (int32_t)(sizeof(formatted)/sizeof((formatted)[0]));
246 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity,
/third_party/node/deps/v8/src/objects/
Djs-list-format.cc230 icu::FormattedList formatted = formatter->formatStringsToValue( in FormatListCommon() local
235 return formatToResult(isolate, formatted); in FormatListCommon()
252 Isolate* isolate, const icu::FormattedValue& formatted) { in FormattedListToJSArray() argument
258 icu::UnicodeString string = formatted.toString(status); in FormattedListToJSArray()
260 while (formatted.nextPosition(cfpos, status) && U_SUCCESS(status)) { in FormattedListToJSArray()
Djs-number-format.cc1652 Handle<Object> numeric_obj, icu::number::FormattedNumber* formatted) { in IcuFormatNumber() argument
1668 *formatted = number_format.formatDecimal({char_buffer, length}, status); in IcuFormatNumber()
1681 *formatted = number_format.formatDecimal({char_buffer, length}, status); in IcuFormatNumber()
1688 *formatted = number_format.formatDecimal( in IcuFormatNumber()
1695 *formatted = number_format.formatDouble(number, status); in IcuFormatNumber()
1847 Maybe<int> ConstructParts(Isolate* isolate, icu::FormattedValue* formatted, in ConstructParts() argument
1851 icu::UnicodeString formatted_text = formatted->toString(status); in ConstructParts()
1869 while (formatted->nextPosition(cfpos, status)) { in ConstructParts()
2056 icu::number::FormattedNumberRange formatted = nrfmt->formatFormattableRange( in PartitionNumberRangePattern() local
2063 return F(isolate, &formatted, number_format->icu_number_formatter().raw(), in PartitionNumberRangePattern()
[all …]
Djs-relative-time-format.cc378 icu::FormattedRelativeDateTime formatted = in FormatCommon() local
385 return formatToResult(isolate, formatted, UnitAsString(isolate, unit_enum), in FormatCommon()
390 Isolate* isolate, const icu::FormattedRelativeDateTime& formatted, in FormatToString() argument
393 icu::UnicodeString result = formatted.toString(status); in FormatToString()
428 Isolate* isolate, const icu::FormattedRelativeDateTime& formatted, in FormatToJSArray() argument
431 icu::UnicodeString string = formatted.toString(status); in FormatToJSArray()
442 while (formatted.nextPosition(cfpos, status) && U_SUCCESS(status)) { in FormatToJSArray()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dio.inl16 , formatted(true)
30 , formatted(a.formatted)
106 GLM_FUNC_QUALIFIER std::basic_ios<CTy, CTr>& formatted(std::basic_ios<CTy, CTr>& ios) function
108 const_cast<format_punct<CTy>&>(get_facet<format_punct<CTy> >(ios)).formatted = true;
115 const_cast<format_punct<CTy>&>(get_facet<format_punct<CTy> >(ios)).formatted = false;
167 if(fmt.formatted)
242 if(fmt.formatted)
385 if(fmt.formatted)
/third_party/node/deps/npm/tap-snapshots/test/lib/
Dnpm.js.test.cjs35 Specify configs in the ini-formatted file:
87 Specify configs in the ini-formatted file:
139 Specify configs in the ini-formatted file:
176 Specify configs in the ini-formatted file:
228 Specify configs in the ini-formatted file:
280 Specify configs in the ini-formatted file:
331 Specify configs in the ini-formatted file:
368 Specify configs in the ini-formatted file:
405 Specify configs in the ini-formatted file:
442 Specify configs in the ini-formatted file:

12345678910>>...20