Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2063 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale()
2174 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPosition()
2209 FormattedNumber fn = lnf.formatInt(1, status); in errors()
2358 assertEquals("Initial behavior", u"10", l1.formatInt(10, status).toString(), true); in copyMove()
2365 assertEquals("Initial behavior", u"10%", l1.formatInt(10, status).toString()); in copyMove()
2368 l1.formatInt(123, status); in copyMove()
2371 l1.formatInt(123, status); in copyMove()
2372 assertEquals("Compiled", u"10%", l1.formatInt(10, status).toString()); in copyMove()
2378 assertEquals("[constructor] Copy behavior", u"10%", l2.formatInt(10, status).toString()); in copyMove()
2384 assertEquals("[constructor] Move behavior", u"10%", l3.formatInt(10, status).toString()); in copyMove()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp486 FormattedNumber output = fields->formatter->formatInt(number, localStatus); in format()
498 FormattedNumber output = fields->formatter->formatInt(number, status); in format()
511 FormattedNumber output = fields->formatter->formatInt(number, status); in format()
Dnumber_fluent.cpp590 FormattedNumber LocalizedNumberFormatter::formatInt(int64_t value, UErrorCode& status) const { in formatInt() function in LocalizedNumberFormatter
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h2272 FormattedNumber formatInt(int64_t value, UErrorCode &status) const;