Home
last modified time | relevance | path

Searched refs:LocalizedNumberFormatter (Results 1 – 25 of 41) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dnumber_fluent.cpp336 class icu::number::NumberFormatterSettings<icu::number::LocalizedNumberFormatter>;
344 LocalizedNumberFormatter NumberFormatter::withLocale(const Locale& locale) { in withLocale()
355 using LNF = LocalizedNumberFormatter;
388 LocalizedNumberFormatter::LocalizedNumberFormatter(const LNF& other) in LocalizedNumberFormatter() function in LocalizedNumberFormatter
391 LocalizedNumberFormatter::LocalizedNumberFormatter(const NFS<LNF>& other) in LocalizedNumberFormatter() function in LocalizedNumberFormatter
396 LocalizedNumberFormatter::LocalizedNumberFormatter(LocalizedNumberFormatter&& src) U_NOEXCEPT in LocalizedNumberFormatter() function in LocalizedNumberFormatter
399 LocalizedNumberFormatter::LocalizedNumberFormatter(NFS<LNF>&& src) U_NOEXCEPT in LocalizedNumberFormatter() function in LocalizedNumberFormatter
408 LocalizedNumberFormatter& LocalizedNumberFormatter::operator=(const LNF& other) { in operator =()
415 LocalizedNumberFormatter& LocalizedNumberFormatter::operator=(LNF&& src) U_NOEXCEPT { in operator =()
428 void LocalizedNumberFormatter::clear() { in clear()
[all …]
Dnumber_asformat.h33 … LocalizedNumberFormatterAsFormat(const LocalizedNumberFormatter& formatter, const Locale& locale);
88 const LocalizedNumberFormatter& getNumberFormatter() const;
94 LocalizedNumberFormatter fFormatter;
Dnumber_asformat.cpp27 const LocalizedNumberFormatter& formatter, const Locale& locale) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
101 const LocalizedNumberFormatter& LocalizedNumberFormatterAsFormat::getNumberFormatter() const { in getNumberFormatter()
Dnumber_utypes.h31 LocalizedNumberFormatter fFormatter;
Dnumber_mapper.h138 LocalPointer<const LocalizedNumberFormatter> formatter;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java29 public class LocalizedNumberFormatter extends NumberFormatterSettings<LocalizedNumberFormatter> { class
31 static final AtomicLongFieldUpdater<LocalizedNumberFormatter> callCount = AtomicLongFieldUpdater
32 .newUpdater(LocalizedNumberFormatter.class, "callCountInternal");
35 volatile LocalizedNumberFormatter savedWithUnit;
38 LocalizedNumberFormatter(NumberFormatterSettings<?> parent, int key, Object value) { in LocalizedNumberFormatter() method in LocalizedNumberFormatter
111 LocalizedNumberFormatter withUnit = savedWithUnit; in format()
113 withUnit = new LocalizedNumberFormatter(this, KEY_UNIT, unit); in format()
203 LocalizedNumberFormatter create(int key, Object value) { in create()
204 return new LocalizedNumberFormatter(this, key, value); in create()
DUnlocalizedNumberFormatter.java45 public LocalizedNumberFormatter locale(Locale locale) { in locale()
46 return new LocalizedNumberFormatter(this, KEY_LOCALE, ULocale.forLocale(locale)); in locale()
59 public LocalizedNumberFormatter locale(ULocale locale) { in locale()
60 return new LocalizedNumberFormatter(this, KEY_LOCALE, locale); in locale()
DNumberFormatter.java437 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale()
451 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberFormatter.java30 public class LocalizedNumberFormatter extends NumberFormatterSettings<LocalizedNumberFormatter> { class
32 static final AtomicLongFieldUpdater<LocalizedNumberFormatter> callCount = AtomicLongFieldUpdater
33 .newUpdater(LocalizedNumberFormatter.class, "callCountInternal");
36 volatile LocalizedNumberFormatter savedWithUnit;
39 LocalizedNumberFormatter(NumberFormatterSettings<?> parent, int key, Object value) { in LocalizedNumberFormatter() method in LocalizedNumberFormatter
108 LocalizedNumberFormatter withUnit = savedWithUnit; in format()
110 withUnit = new LocalizedNumberFormatter(this, KEY_UNIT, unit); in format()
199 LocalizedNumberFormatter create(int key, Object value) { in create()
200 return new LocalizedNumberFormatter(this, key, value); in create()
DUnlocalizedNumberFormatter.java45 public LocalizedNumberFormatter locale(Locale locale) { in locale()
46 return new LocalizedNumberFormatter(this, KEY_LOCALE, ULocale.forLocale(locale)); in locale()
58 public LocalizedNumberFormatter locale(ULocale locale) { in locale()
59 return new LocalizedNumberFormatter(this, KEY_LOCALE, locale); in locale()
DNumberFormatter.java417 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale()
430 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h99 class LocalizedNumberFormatter; variable
2166 friend class LocalizedNumberFormatter; variable
2193 LocalizedNumberFormatter locale(const icu::Locale &locale) const &;
2204 LocalizedNumberFormatter locale(const icu::Locale &locale) &&;
2258 class U_I18N_API LocalizedNumberFormatter
2259 : public NumberFormatterSettings<LocalizedNumberFormatter>, public UMemory {
2349 LocalizedNumberFormatter() = default;
2355 LocalizedNumberFormatter(const LocalizedNumberFormatter &other);
2362 LocalizedNumberFormatter(LocalizedNumberFormatter&& src) U_NOEXCEPT;
2368 LocalizedNumberFormatter& operator=(const LocalizedNumberFormatter& other);
[all …]
Dsmpdtfmt.h54 class LocalizedNumberFormatter; variable
1639 const number::LocalizedNumberFormatter* fFastNumberFormatters[SMPDTFMT_NF_COUNT] = {};
Ddecimfmt.h52 class LocalizedNumberFormatter; variable
2086 const number::LocalizedNumberFormatter& toNumberFormatter() const;
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java17 import android.icu.number.LocalizedNumberFormatter;
30 private final transient LocalizedNumberFormatter formatter;
36 public LocalizedNumberFormatterAsFormat(LocalizedNumberFormatter formatter, ULocale locale) { in LocalizedNumberFormatterAsFormat()
90 public LocalizedNumberFormatter getNumberFormatter() { in getNumberFormatter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java16 import com.ibm.icu.number.LocalizedNumberFormatter;
28 private final transient LocalizedNumberFormatter formatter;
34 public LocalizedNumberFormatterAsFormat(LocalizedNumberFormatter formatter, ULocale locale) { in LocalizedNumberFormatterAsFormat()
88 public LocalizedNumberFormatter getNumberFormatter() { in getNumberFormatter()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java26 import android.icu.number.LocalizedNumberFormatter;
42 List<LocalizedNumberFormatter> formats = new ArrayList<LocalizedNumberFormatter>(); in testBehavior()
120 List<LocalizedNumberFormatter> formats, in testDecimalQuantity()
236 List<LocalizedNumberFormatter> formats) { in testDecimalQuantityWithFormats()
237 for (LocalizedNumberFormatter format : formats) { in testDecimalQuantityWithFormats()
DNumberFormatterApiTest.java39 import android.icu.number.LocalizedNumberFormatter;
2064 LocalizedNumberFormatter formatter = NumberFormatter.withLocale(ULocale.ENGLISH); in formatTypes()
2182 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat()
2361 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatDescending()
2362 LocalizedNumberFormatter l2 = f.threshold(1L).locale(locale); // all self-regulation in assertFormatDescending()
2375 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
2393 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatSingle()
2394 LocalizedNumberFormatter l2 = f.threshold(1L).locale(locale); // all self-regulation in assertFormatSingle()
2404 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatSingle()
2419 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatSingleMeasure()
[all …]
DNumberRangeFormatterTest.java12 import android.icu.number.LocalizedNumberFormatter;
671 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java25 import com.ibm.icu.number.LocalizedNumberFormatter;
39 List<LocalizedNumberFormatter> formats = new ArrayList<LocalizedNumberFormatter>(); in testBehavior()
117 List<LocalizedNumberFormatter> formats, in testDecimalQuantity()
233 List<LocalizedNumberFormatter> formats) { in testDecimalQuantityWithFormats()
234 for (LocalizedNumberFormatter format : formats) { in testDecimalQuantityWithFormats()
DNumberFormatterApiTest.java38 import com.ibm.icu.number.LocalizedNumberFormatter;
2061 LocalizedNumberFormatter formatter = NumberFormatter.withLocale(ULocale.ENGLISH); in formatTypes()
2179 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat()
2358 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatDescending()
2359 LocalizedNumberFormatter l2 = f.threshold(1L).locale(locale); // all self-regulation in assertFormatDescending()
2372 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatDescending()
2390 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatSingle()
2391 LocalizedNumberFormatter l2 = f.threshold(1L).locale(locale); // all self-regulation in assertFormatSingle()
2401 LocalizedNumberFormatter l3 = NumberFormatter.forSkeleton(normalized).locale(locale); in assertFormatSingle()
2416 LocalizedNumberFormatter l1 = f.threshold(0L).locale(locale); // no self-regulation in assertFormatSingleMeasure()
[all …]
DNumberRangeFormatterTest.java11 import com.ibm.icu.number.LocalizedNumberFormatter;
668 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2070 LocalizedNumberFormatter formatter = NumberFormatter::withLocale(Locale::getEnglish()); in formatTypes()
2180 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("fr") in toFormat()
2203 LocalizedNumberFormatter lnf = NumberFormatter::withLocale(Locale::getEnglish()).precision( in errors()
2357 LocalizedNumberFormatter l1; in copyMove()
2377 LocalizedNumberFormatter l2 = l1; in copyMove()
2383 LocalizedNumberFormatter l3 = std::move(l1); in copyMove()
2465 const LocalizedNumberFormatter l1 = f.threshold(0).locale(locale); // no self-regulation in assertFormatDescending()
2466 const LocalizedNumberFormatter l2 = f.threshold(1).locale(locale); // all self-regulation in assertFormatDescending()
2488LocalizedNumberFormatter l3 = NumberFormatter::forSkeleton(normalized, status).locale(locale); in assertFormatDescending()
2506 const LocalizedNumberFormatter l1 = f.threshold(0).locale(locale); // no self-regulation in assertFormatDescendingBig()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java40 import com.ibm.icu.number.LocalizedNumberFormatter;
127 private final transient LocalizedNumberFormatter numberFormatter;
701 LocalizedNumberFormatter formatter;
709 private synchronized LocalizedNumberFormatter getUnitFormatterFromCache( in getUnitFormatterFromCache()
734 LocalizedNumberFormatter formatter; in getUnitFormatterFromCache()
763 LocalizedNumberFormatter getNumberFormatter() { in getNumberFormatter()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java41 import android.icu.number.LocalizedNumberFormatter;
121 private final transient LocalizedNumberFormatter numberFormatter;
660 LocalizedNumberFormatter formatter;
668 private synchronized LocalizedNumberFormatter getUnitFormatterFromCache( in getUnitFormatterFromCache()
693 LocalizedNumberFormatter formatter; in getUnitFormatterFromCache()
722 LocalizedNumberFormatter getNumberFormatter() { in getNumberFormatter()

12