/external/libchrome/base/i18n/ |
D | message_formatter.cc | 28 MessageArg::MessageArg() : formattable(nullptr) {} in MessageArg() 31 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg() 34 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg() 37 : formattable(new icu::Formattable(UnicodeString::fromUTF8(s))) {} in MessageArg() 40 : formattable(new icu::Formattable(UnicodeString(s.data(), s.size()))) {} in MessageArg() 42 MessageArg::MessageArg(int i) : formattable(new icu::Formattable(i)) {} in MessageArg() 44 MessageArg::MessageArg(int64_t i) : formattable(new icu::Formattable(i)) {} in MessageArg() 46 MessageArg::MessageArg(double d) : formattable(new icu::Formattable(d)) {} in MessageArg() 49 : formattable(new icu::Formattable(static_cast<UDate>(t.ToJsTime()))) {} in MessageArg() 55 if (formattable == nullptr) in has_value() [all …]
|
D | message_formatter.h | 50 std::unique_ptr<icu::Formattable> formattable; variable
|
/external/cronet/base/i18n/ |
D | message_formatter.cc | 29 MessageArg::MessageArg() : formattable(nullptr) {} in MessageArg() 32 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg() 35 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg() 38 : formattable(new icu::Formattable(UnicodeString::fromUTF8(s))) {} in MessageArg() 41 : formattable(new icu::Formattable(UnicodeString(s.data(), s.size()))) {} in MessageArg() 43 MessageArg::MessageArg(int i) : formattable(new icu::Formattable(i)) {} in MessageArg() 45 MessageArg::MessageArg(int64_t i) : formattable(new icu::Formattable(i)) {} in MessageArg() 47 MessageArg::MessageArg(double d) : formattable(new icu::Formattable(d)) {} in MessageArg() 50 : formattable(new icu::Formattable(static_cast<UDate>(t.ToJsTime()))) {} in MessageArg() 56 if (formattable == nullptr) in has_value() [all …]
|
D | message_formatter.h | 52 std::unique_ptr<icu::Formattable> formattable; variable
|
/external/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 135 Formattable formattable; in testBasic() local 136 formattable.adoptObject(source); in testBasic() 137 formatted = ((Format*)formats[style])->format(formattable, formatted, status); in testBasic() 147 …tmaEqual(*((TimeUnitAmount *)result.getObject()), *((TimeUnitAmount *) formattable.getObject()))) { in testBasic() 154 …aEqual(*((TimeUnitAmount *)result_1.getObject()), *((TimeUnitAmount *) formattable.getObject()))) { in testBasic() 222 Formattable formattable((int32_t)2); in testAPI() local 223 TimeUnitAmount tma_long(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI() 226 formattable.setDouble(2); in testAPI() 227 TimeUnitAmount tma_double(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI() 230 formattable.setDouble(3); in testAPI() [all …]
|
D | dtifmtts.cpp | 290 Formattable formattable; in testAPI() local 291 formattable.setInt64(10); in testAPI() 295 dtitvfmt->format(formattable, res, pos, status); in testAPI() 302 formattable.adoptObject(dtitv); in testAPI() 306 dtitvfmt->format(formattable, res, pos, status); in testAPI()
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | tufmtts.cpp | 135 Formattable formattable; in testBasic() local 136 formattable.adoptObject(source); in testBasic() 137 formatted = ((Format*)formats[style])->format(formattable, formatted, status); in testBasic() 147 …tmaEqual(*((TimeUnitAmount *)result.getObject()), *((TimeUnitAmount *) formattable.getObject()))) { in testBasic() 154 …aEqual(*((TimeUnitAmount *)result_1.getObject()), *((TimeUnitAmount *) formattable.getObject()))) { in testBasic() 222 Formattable formattable((int32_t)2); in testAPI() local 223 TimeUnitAmount tma_long(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI() 226 formattable.setDouble(2); in testAPI() 227 TimeUnitAmount tma_double(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI() 230 formattable.setDouble(3); in testAPI() [all …]
|
D | dtifmtts.cpp | 290 Formattable formattable; in testAPI() local 291 formattable.setInt64(10); in testAPI() 295 dtitvfmt->format(formattable, res, pos, status); in testAPI() 302 formattable.adoptObject(dtitv); in testAPI() 306 dtitvfmt->format(formattable, res, pos, status); in testAPI()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/__format/ |
D | formatter_tuple.h | 41 template <__fmt_char_type _CharT, class _Tuple, formattable<_CharT>... _Args> 93 format(conditional_t<(formattable<const _Args, _CharT> && ...), const _Tuple&, _Tuple&> __tuple, in format() 143 template <__fmt_char_type _CharT, formattable<_CharT>... _Args> 147 template <__fmt_char_type _CharT, formattable<_CharT>... _Args>
|
D | container_adaptor.h | 59 template <class _CharT, class _Tp, formattable<_CharT> _Container> 67 template <class _CharT, class _Tp, formattable<_CharT> _Container>
|
D | concepts.h | 60 concept formattable = __formattable<_Tp, _CharT>; variable
|
D | range_default_formatter.h | 40 ranges::input_range<const _Rp> && formattable<ranges::range_reference_t<const _Rp>, _CharT>; 213 …requires(format_kind<_Rp> != range_format::disabled && formattable<ranges::range_reference_t<_Rp>,…
|
D | range_formatter.h | 42 requires same_as<remove_cvref_t<_Tp>, _Tp> && formattable<_Tp, _CharT> 132 requires formattable<ranges::range_reference_t<_Rp>, _CharT> &&
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.formattable/ |
D | concept.formattable.float.compile.pass.cpp | 23 static_assert(!std::formattable<T, CharT>); in assert_is_not_formattable() 36 static_assert(std::formattable<T, CharT>); in assert_is_formattable()
|
D | concept.formattable.compile.pass.cpp | 58 static_assert(!std::formattable<T, CharT>); in assert_is_not_formattable() 71 static_assert(std::formattable<T, CharT>); in assert_is_formattable()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/text/ |
D | FormattableUtils.java | 66 public static String toString(final Formattable formattable) { in toString() argument 67 return String.format(SIMPLEST_FORMAT, formattable); in toString()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 397 IFormattable formattable = (IFormattable) value; in WriteValue() 398 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue() 403 IFormattable formattable = (IFormattable) value; in WriteValue() 404 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 397 IFormattable formattable = (IFormattable) value; in WriteValue() 398 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue() 403 IFormattable formattable = (IFormattable) value; in WriteValue() 404 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | format | 135 requires same_as<remove_cvref_t<T>, T> && formattable<T, charT> 146 formattable<ranges::range_reference_t<R>, charT>
|
/external/cronet/third_party/icu/source/test/depstest/ |
D | dependencies.txt | 1011 decnumber double_conversion formattable units unitsformatter 1094 decnumber formattable format units numberformatter number_skeletons numberparser 1125 resourcebundle units_extra double_conversion number_representation formattable sort 1133 group: formattable 1142 formattable unistr_cnv conversion
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.txt | 1011 decnumber double_conversion formattable units unitsformatter 1094 decnumber formattable format units numberformatter number_skeletons numberparser 1125 resourcebundle units_extra double_conversion number_representation formattable sort 1133 group: formattable 1142 formattable unistr_cnv conversion
|
/external/cronet/buildtools/third_party/libc++/trunk/docs/Status/ |
D | FormatPaper.csv | 31 `[format.syn] <https://wg21.link/format.syn>`_,"Concept ``formattable``",,Mark de Wever,|Complete|,…
|
/external/fmtlib/doc/ |
D | api.rst | 162 To make a user-defined type formattable, specialize the ``formatter<T>`` struct 277 conversion to a formattable type, the specialization takes precedence over the
|
/external/icu/icu4c/source/i18n/ |
D | decimfmt.cpp | 779 Formattable formattable; in parseCurrency() local 780 result.populateFormattable(formattable, parser->getParseFlags()); in parseCurrency() 782 new CurrencyAmount(formattable, result.currencyCode, status), status); in parseCurrency()
|
/external/cronet/third_party/icu/source/i18n/ |
D | decimfmt.cpp | 779 Formattable formattable; in parseCurrency() local 780 result.populateFormattable(formattable, parser->getParseFlags()); in parseCurrency() 782 new CurrencyAmount(formattable, result.currencyCode, status), status); in parseCurrency()
|