Home
last modified time | relevance | path

Searched refs:formatInt (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2299 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale()
2418 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPositionLogic()
2732 FormattedNumber fn = lnf.formatInt(1, status); in errors()
2881 assertEquals("Initial behavior", u"10", l1.formatInt(10, status).toString(status), true); in copyMove()
2888 assertEquals("Initial behavior", u"10%", l1.formatInt(10, status).toString(status)); in copyMove()
2891 l1.formatInt(123, status); in copyMove()
2894 l1.formatInt(123, status); in copyMove()
2895 assertEquals("Compiled", u"10%", l1.formatInt(10, status).toString(status)); in copyMove()
2901 assertEquals("[constructor] Copy behavior", u"10%", l2.formatInt(10, status).toString(status)); in copyMove()
2907 assertEquals("[constructor] Move behavior", u"10%", l3.formatInt(10, status).toString(status)); in copyMove()
[all …]
Ddcfmapts.cpp1377 lnf->formatInt(1, status); in testInvalidObject()
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp596 FormattedNumber output = fields->formatter.formatInt(number, localStatus); in format()
617 FormattedNumber output = fields->formatter.formatInt(number, status); in format()
639 FormattedNumber output = fields->formatter.formatInt(number, status); in format()
Dnumber_fluent.cpp608 FormattedNumber LocalizedNumberFormatter::formatInt(int64_t value, UErrorCode& status) const { in formatInt() function in LocalizedNumberFormatter
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h2242 FormattedNumber formatInt(int64_t value, UErrorCode &status) const;