Home
last modified time | relevance | path

Searched refs:NumberingSystem (Results 1 – 25 of 62) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dnumsys.cpp51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NumberingSystem)
60 NumberingSystem::NumberingSystem() { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
73 NumberingSystem::NumberingSystem(const NumberingSystem& other) in NumberingSystem() function in NumberingSystem
78 NumberingSystem* U_EXPORT2
79 NumberingSystem::createInstance(int32_t radix_in, UBool isAlgorithmic_in, const UnicodeString & des… in createInstance()
97 LocalPointer<NumberingSystem> ns(new NumberingSystem(), status); in createInstance()
110 NumberingSystem* U_EXPORT2
111 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance()
177 NumberingSystem *ns = new NumberingSystem(); in createInstance()
183 return NumberingSystem::createInstanceByName(buffer, status); in createInstance()
[all …]
Dunumsys.cpp25 return (UNumberingSystem*)NumberingSystem::createInstance(Locale(locale), *status); in unumsys_open()
36 return (UNumberingSystem*)NumberingSystem::createInstanceByName(name, *status); in unumsys_openByName()
43 delete ((NumberingSystem*)unumsys); in unumsys_close()
51 return uenum_openFromStringEnumeration(NumberingSystem::getAvailableNames(*status), status); in unumsys_openAvailableNames()
58 return ((NumberingSystem*)unumsys)->getName(); in unumsys_getName()
65 return ((NumberingSystem*)unumsys)->getRadix(); in unumsys_getRadix()
72 return ((NumberingSystem*)unumsys)->isAlgorithmic(); in unumsys_isAlgorithmic()
83 UnicodeString descrip = ((NumberingSystem*)unumsys)->getDescription(); in unumsys_getDescription()
Ddcfmtsym.cpp113 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, const NumberingSystem& ns, UErrorCode… in DecimalFormatSymbols()
348 UBool useLastResortData, const NumberingSystem* ns) in initialize()
360 LocalPointer<NumberingSystem> nsLocal; in initialize()
364 nsLocal.adoptInstead(NumberingSystem::createInstance(loc, status)); in initialize()
Dnumber_fluent.cpp198 Derived NumberFormatterSettings<Derived>::adoptSymbols(NumberingSystem* ns) const& { in adoptSymbols()
205 Derived NumberFormatterSettings<Derived>::adoptSymbols(NumberingSystem* ns)&& { in adoptSymbols()
509 void SymbolsWrapper::setTo(const NumberingSystem* ns) { in setTo()
532 fPtr.ns = new NumberingSystem(*other.fPtr.ns); in doCopyFrom()
584 const NumberingSystem* SymbolsWrapper::getNumberingSystem() const { in getNumberingSystem()
Dnumfmt.cpp173 delete (icu::NumberingSystem *)obj; in deleteNumberingSystem()
1360 LocalPointer<NumberingSystem> ownedNs; in makeInstance()
1361 NumberingSystem *ns = NULL; in makeInstance()
1367 ns = (NumberingSystem *)uhash_iget(NumberingSystem_cache, hashKey); in makeInstance()
1369 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance()
1373 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberingSystem.java36 public class NumberingSystem { class
43 public static final NumberingSystem LATIN = lookupInstanceByName("latn");
49 public NumberingSystem() { in NumberingSystem() method in NumberingSystem
69 …public static NumberingSystem getInstance(int radix_in, boolean isAlgorithmic_in, String desc_in )… in getInstance()
88 …private static NumberingSystem getInstance(String name_in, int radix_in, boolean isAlgorithmic_in,… in getInstance()
98 NumberingSystem ns = new NumberingSystem(); in getInstance()
109 public static NumberingSystem getInstance(Locale inLocale) { in getInstance()
116 public static NumberingSystem getInstance(ULocale locale) { in getInstance()
133 NumberingSystem ns = getInstanceByName(numbersKeyword); in getInstance()
163 static NumberingSystem lookupInstanceByLocale(LocaleLookupData localeLookupData) { in lookupInstanceByLocale()
[all …]
DDecimalFormatSymbols.java74 private DecimalFormatSymbols(Locale locale, NumberingSystem ns) { in DecimalFormatSymbols()
78 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { in DecimalFormatSymbols()
142 public static DecimalFormatSymbols forNumberingSystem(Locale locale, NumberingSystem ns) { in forNumberingSystem()
160 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { in forNumberingSystem()
1272 private void initialize(ULocale locale, NumberingSystem ns) { in initialize()
1335 NumberingSystem ns = NumberingSystem.getInstance(locale); in loadData()
1338 NumberingSystem.isValidDigitString(ns.getDescription())) { in loadData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberingSystem.java36 public class NumberingSystem { class
45 public static final NumberingSystem LATIN = lookupInstanceByName("latn");
53 public NumberingSystem() { in NumberingSystem() method in NumberingSystem
74 …public static NumberingSystem getInstance(int radix_in, boolean isAlgorithmic_in, String desc_in )… in getInstance()
94 …private static NumberingSystem getInstance(String name_in, int radix_in, boolean isAlgorithmic_in,… in getInstance()
104 NumberingSystem ns = new NumberingSystem(); in getInstance()
116 public static NumberingSystem getInstance(Locale inLocale) { in getInstance()
124 public static NumberingSystem getInstance(ULocale locale) { in getInstance()
141 NumberingSystem ns = getInstanceByName(numbersKeyword); in getInstance()
171 static NumberingSystem lookupInstanceByLocale(LocaleLookupData localeLookupData) { in lookupInstanceByLocale()
[all …]
DDecimalFormatSymbols.java77 private DecimalFormatSymbols(Locale locale, NumberingSystem ns) { in DecimalFormatSymbols()
81 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { in DecimalFormatSymbols()
149 public static DecimalFormatSymbols forNumberingSystem(Locale locale, NumberingSystem ns) { in forNumberingSystem()
168 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { in forNumberingSystem()
1365 private void initialize(ULocale locale, NumberingSystem ns) { in initialize()
1428 NumberingSystem ns = NumberingSystem.getInstance(locale); in loadData()
1431 NumberingSystem.isValidDigitString(ns.getDescription())) { in loadData()
/external/icu/icu4c/source/i18n/unicode/
Dnumsys.h60 class U_I18N_API NumberingSystem : public UObject {
68 NumberingSystem();
74 NumberingSystem(const NumberingSystem& other);
80 virtual ~NumberingSystem();
88 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
94 static NumberingSystem* U_EXPORT2 createInstance(UErrorCode& status);
105 …static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const Unicode…
126 static NumberingSystem* U_EXPORT2 createInstanceByName(const char* name, UErrorCode& status);
Ddcfmtsym.h200 DecimalFormatSymbols(const Locale& locale, const NumberingSystem& ns, UErrorCode& status);
368 UBool useLastResortData = FALSE, const NumberingSystem* ns = nullptr);
Dnumberformatter.h1203 void setTo(const NumberingSystem *ns);
1227 const NumberingSystem *getNumberingSystem() const;
1250 const NumberingSystem *ns;
1922 Derived adoptSymbols(NumberingSystem *symbols) const &;
1933 Derived adoptSymbols(NumberingSystem *symbols) &&;
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCTime.java16 import com.ibm.icu.text.NumberingSystem;
73 NumberingSystem ns = NumberingSystem.getInstanceByName(numsys); in POSIX_LCTime()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterImpl.java30 import android.icu.text.NumberingSystem;
197 NumberingSystem ns; in macrosToMicroGenerator()
198 if (macros.symbols instanceof NumberingSystem) { in macrosToMicroGenerator()
199 ns = (NumberingSystem) macros.symbols; in macrosToMicroGenerator()
202 ns = NumberingSystem.getInstance(macros.loc); in macrosToMicroGenerator()
DNumberSkeletonImpl.java21 import android.icu.text.NumberingSystem;
681 macros.symbols = NumberingSystem.LATIN; in parseStem()
1207 NumberingSystem ns = NumberingSystem.getInstanceByName(nsName); in parseNumberingSystemOption()
1214 private static void generateNumberingSystemOption(NumberingSystem ns, StringBuilder sb) { in generateNumberingSystemOption()
1391 if (macros.symbols instanceof NumberingSystem) { in symbols()
1392 NumberingSystem ns = (NumberingSystem) macros.symbols; in symbols()
DNumberFormatterSettings.java15 import android.icu.text.NumberingSystem;
380 public T symbols(NumberingSystem ns) { in symbols()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java29 import com.ibm.icu.text.NumberingSystem;
196 NumberingSystem ns; in macrosToMicroGenerator()
197 if (macros.symbols instanceof NumberingSystem) { in macrosToMicroGenerator()
198 ns = (NumberingSystem) macros.symbols; in macrosToMicroGenerator()
201 ns = NumberingSystem.getInstance(macros.loc); in macrosToMicroGenerator()
DNumberSkeletonImpl.java20 import com.ibm.icu.text.NumberingSystem;
680 macros.symbols = NumberingSystem.LATIN; in parseStem()
1206 NumberingSystem ns = NumberingSystem.getInstanceByName(nsName); in parseNumberingSystemOption()
1213 private static void generateNumberingSystemOption(NumberingSystem ns, StringBuilder sb) { in generateNumberingSystemOption()
1390 if (macros.symbols instanceof NumberingSystem) { in symbols()
1391 NumberingSystem ns = (NumberingSystem) macros.symbols; in symbols()
DNumberFormatterSettings.java14 import com.ibm.icu.text.NumberingSystem;
388 public T symbols(NumberingSystem ns) { in symbols()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java32 import com.ibm.icu.text.NumberingSystem;
383 NumberingSystem ns = NumberingSystem.getInstanceByName((String) cas[1]); in testNumberingSystem()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java33 import android.icu.text.NumberingSystem;
386 NumberingSystem ns = NumberingSystem.getInstanceByName((String) cas[1]); in testNumberingSystem()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartCollation.java21 import org.unicode.cldr.util.CLDRFile.NumberingSystem;
297 for (NumberingSystem system : NumberingSystem.values()) { in writeContents()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp56 …MATHSANB = *LocalPointer<NumberingSystem>(NumberingSystem::createInstanceByName("mathsanb", status… in NumberFormatterApiTest()
57 LATN = *LocalPointer<NumberingSystem>(NumberingSystem::createInstanceByName("latn", status)); in NumberFormatterApiTest()
1406 .adoptSymbols(new NumberingSystem(MATHSANB)), in padding()
1594 NumberFormatter::with().adoptSymbols(new NumberingSystem(LATN)).unit(USD), in symbols()
1609 NumberFormatter::with().adoptSymbols(new NumberingSystem(MATHSANB)), in symbols()
1642 NumberFormatter::with().adoptSymbols(new NumberingSystem(LATN)).unit(USD), in symbols()
1674 NumberFormatter::with().adoptSymbols(new NumberingSystem(LATN)).unit(USD), in symbols()
1683 … NumberFormatter::withLocale(Locale("ar@numbers=arab")).adoptSymbols(new NumberingSystem(LATN)) in symbols()
1697 NumberFormatter::with().symbols(symbols).adoptSymbols(new NumberingSystem(LATN)), in symbols()
1705 NumberFormatter::with().adoptSymbols(new NumberingSystem(LATN)).symbols(symbols), in symbols()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java52 import android.icu.text.NumberingSystem;
1401 .symbols(NumberingSystem.getInstanceByName("mathsanb")), in padding()
1580 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1595 NumberFormatter.with().symbols(NumberingSystem.getInstanceByName("mathsanb")), in symbols()
1628 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1660 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1668 .symbols(NumberingSystem.LATIN) in symbols()
1687 NumberFormatter.with().symbols(symbols).symbols(NumberingSystem.LATIN), in symbols()
1695 NumberFormatter.with().symbols(NumberingSystem.LATIN).symbols(symbols), in symbols()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java51 import com.ibm.icu.text.NumberingSystem;
1398 .symbols(NumberingSystem.getInstanceByName("mathsanb")), in padding()
1577 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1592 NumberFormatter.with().symbols(NumberingSystem.getInstanceByName("mathsanb")), in symbols()
1625 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1657 NumberFormatter.with().symbols(NumberingSystem.LATIN).unit(USD), in symbols()
1665 .symbols(NumberingSystem.LATIN) in symbols()
1684 NumberFormatter.with().symbols(symbols).symbols(NumberingSystem.LATIN), in symbols()
1692 NumberFormatter.with().symbols(NumberingSystem.LATIN).symbols(symbols), in symbols()

123