/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | DecimalFormatSymbolsTest.java | 12 import com.ibm.icu.text.DecimalFormatSymbols; 21 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in testHashCode() 22 DecimalFormatSymbols dfs2 = new DecimalFormatSymbols(ULocale.US); in testHashCode() 23 DecimalFormatSymbols dfsn = new DecimalFormatSymbols(Locale.FRANCE); in testHashCode() 38 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); in testDecimalFormatSymbols() 46 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in testDecimalFormatSymbolsLocale() 54 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); in testDecimalFormatSymbolsULocale() 62 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); in testGetZeroDigit() 70 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); in testSetZeroDigit() 83 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); in testGetGroupingSeparator() [all …]
|
D | DecimalFormatTest.java | 13 import com.ibm.icu.text.DecimalFormatSymbols; 57 DecimalFormatSymbols sym = new DecimalFormatSymbols(Locale.FRANCE); in testDecimalFormatStringDecimalFormatSymbols() 66 DecimalFormatSymbols sym = new DecimalFormatSymbols(Locale.FRANCE); in testGetDecimalFormatSymbols() 76 df.setDecimalFormatSymbols(new DecimalFormatSymbols(Locale.FRANCE)); in testSetDecimalFormatSymbols() 220 DecimalFormat df = new DecimalFormat("#,##0.##", new DecimalFormatSymbols(Locale.FRANCE)); in testToLocalizedPattern() 238 DecimalFormat df = new DecimalFormat("#,##0.##", new DecimalFormatSymbols(Locale.FRANCE)); in testApplyLocalizedPattern()
|
/external/icu/icu4c/source/test/intltest/ |
D | tsdcfmsy.cpp | 34 DecimalFormatSymbols fr(Locale::getFrench(), status); in testSymbols() 41 DecimalFormatSymbols en(Locale::getEnglish(), status); in testSymbols() 53 UnicodeString zero = en.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol); in testSymbols() 54 fr.setSymbol(DecimalFormatSymbols::kZeroDigitSymbol, zero); in testSymbols() 55 …if(fr.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol) != en.getSymbol(DecimalFormatSymbols::kZer… in testSymbols() 59 UnicodeString group = en.getSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol); in testSymbols() 60 fr.setSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol, group); in testSymbols() 61 …if(fr.getSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol) != en.getSymbol(DecimalFormatSymbo… in testSymbols() 65 UnicodeString decimal = en.getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in testSymbols() 66 fr.setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, decimal); in testSymbols() [all …]
|
D | numrgts.cpp | 318 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(status); in Test4087245() 332 …symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString((UChar)0x70)); // … in Test4087245() 463 DecimalFormatSymbols *dfs = new DecimalFormatSymbols(status); in Test4083018() 861 const DecimalFormatSymbols *sym = df->getDecimalFormatSymbols(); in Test4087244() 862 UnicodeString decSep = sym->getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in Test4087244() 863 UnicodeString monSep = sym->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol); in Test4087244() 1352 DecimalFormatSymbols *fmt = new DecimalFormatSymbols(status); in Test4061302() 1357 UnicodeString currency(fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol)); in Test4061302() 1358 UnicodeString intlCurrency(fmt->getSymbol(DecimalFormatSymbols::kIntlCurrencySymbol)); in Test4061302() 1359 UnicodeString monDecSeparator(fmt->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol)); in Test4061302() [all …]
|
D | numfmtspectest.cpp | 38 upattern, new DecimalFormatSymbols("fr", status), status); in nfWithPattern() 196 upattern, new DecimalFormatSymbols("fr", status), status); in TestPadding() 214 new DecimalFormatSymbols("en_US", status), in TestPadding() 228 DecimalFormatSymbols *sym = new DecimalFormatSymbols("fr", status); in TestPadding() 229 sym->setSymbol(DecimalFormatSymbols::kExponentialSymbol, "EE"); in TestPadding() 259 upattern, new DecimalFormatSymbols("fr_FR", status), status); in assertPatternFr()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 38 final public class DecimalFormatSymbols implements Cloneable, Serializable { class 45 public final java.text.DecimalFormatSymbols dfs; 50 public DecimalFormatSymbols(java.text.DecimalFormatSymbols delegate) { in DecimalFormatSymbols() method in DecimalFormatSymbols 58 public DecimalFormatSymbols() { in DecimalFormatSymbols() method in DecimalFormatSymbols 59 this(new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DecimalFormatSymbols() 67 public DecimalFormatSymbols(Locale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 68 this(new java.text.DecimalFormatSymbols(locale)); in DecimalFormatSymbols() 76 public DecimalFormatSymbols(ULocale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 77 this(new java.text.DecimalFormatSymbols(locale.toLocale())); in DecimalFormatSymbols() 91 public static DecimalFormatSymbols getInstance() { in getInstance() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dcfmtsym.h | 84 class U_I18N_API DecimalFormatSymbols : public UObject { 182 DecimalFormatSymbols(const Locale& locale, UErrorCode& status); 194 DecimalFormatSymbols(UErrorCode& status); 211 static DecimalFormatSymbols* createWithLastResortData(UErrorCode& status); 217 DecimalFormatSymbols(const DecimalFormatSymbols&); 223 DecimalFormatSymbols& operator=(const DecimalFormatSymbols&); 229 virtual ~DecimalFormatSymbols(); 238 UBool operator==(const DecimalFormatSymbols& other) const; 247 UBool operator!=(const DecimalFormatSymbols& other) const { return !operator==(other); } 335 DecimalFormatSymbols(); [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dcfmtsym.cpp | 45 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DecimalFormatSymbols) 61 DecimalFormatSymbols::DecimalFormatSymbols(UErrorCode& status) in DecimalFormatSymbols() function in DecimalFormatSymbols 71 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) in DecimalFormatSymbols() function in DecimalFormatSymbols 78 DecimalFormatSymbols::DecimalFormatSymbols() in DecimalFormatSymbols() function in DecimalFormatSymbols 86 DecimalFormatSymbols* 87 DecimalFormatSymbols::createWithLastResortData(UErrorCode& status) { in createWithLastResortData() 89 DecimalFormatSymbols* sym = new DecimalFormatSymbols(); in createWithLastResortData() 98 DecimalFormatSymbols::~DecimalFormatSymbols() in ~DecimalFormatSymbols() 105 DecimalFormatSymbols::DecimalFormatSymbols(const DecimalFormatSymbols &source) in DecimalFormatSymbols() function in DecimalFormatSymbols 114 DecimalFormatSymbols& [all …]
|
D | digitformatter.cpp | 37 DigitFormatter::DigitFormatter(const DecimalFormatSymbols &symbols) { in DigitFormatter() 43 const DecimalFormatSymbols &symbols) { in setOtherDecimalFormatSymbols() 44 … fLocalizedDigits[0] = symbols.getConstSymbol(DecimalFormatSymbols::kZeroDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 45 fLocalizedDigits[1] = symbols.getConstSymbol(DecimalFormatSymbols::kOneDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 46 fLocalizedDigits[2] = symbols.getConstSymbol(DecimalFormatSymbols::kTwoDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 47 … fLocalizedDigits[3] = symbols.getConstSymbol(DecimalFormatSymbols::kThreeDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 48 … fLocalizedDigits[4] = symbols.getConstSymbol(DecimalFormatSymbols::kFourDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 49 … fLocalizedDigits[5] = symbols.getConstSymbol(DecimalFormatSymbols::kFiveDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 50 fLocalizedDigits[6] = symbols.getConstSymbol(DecimalFormatSymbols::kSixDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() 51 … fLocalizedDigits[7] = symbols.getConstSymbol(DecimalFormatSymbols::kSevenDigitSymbol).char32At(0); in setOtherDecimalFormatSymbols() [all …]
|
D | decimalformatpattern.cpp | 106 const DecimalFormatSymbols& symbols) { in useSymbols() 108 DecimalFormatSymbols::kZeroDigitSymbol).char32At(0); in useSymbols() 110 DecimalFormatSymbols::kSignificantDigitSymbol).char32At(0); in useSymbols() 112 DecimalFormatSymbols::kGroupingSeparatorSymbol); in useSymbols() 114 DecimalFormatSymbols::kDecimalSeparatorSymbol); in useSymbols() 116 DecimalFormatSymbols::kPercentSymbol); in useSymbols() 118 DecimalFormatSymbols::kPerMillSymbol); in useSymbols() 120 DecimalFormatSymbols::kDigitSymbol); in useSymbols() 122 DecimalFormatSymbols::kPatternSeparatorSymbol); in useSymbols() 124 DecimalFormatSymbols::kExponentialSymbol); in useSymbols() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatSymbols.java | 23 import android.icu.text.DecimalFormatSymbols; 39 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() 41 DecimalFormatSymbols en = new DecimalFormatSymbols(Locale.ENGLISH); in TestSymbols() 169 …for (int i = DecimalFormatSymbols.CURRENCY_SPC_CURRENCY_MATCH; i <= DecimalFormatSymbols.CURRENCY_… in TestSymbols() 181 en.setPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true, dash); in TestSymbols() 182 … if (dash != en.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true)) { in TestSymbols() 188 en = (DecimalFormatSymbols) fr.clone(); in TestSymbols() 196 DecimalFormatSymbols df = new DecimalFormatSymbols(); in testCoverage() 197 DecimalFormatSymbols df2 = (DecimalFormatSymbols)df.clone(); in testCoverage()
|
D | NumberFormatSpecificationTest.java | 12 import android.icu.text.DecimalFormatSymbols; 128 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in TestPadding() 136 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.US); in TestPadding() 142 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in TestPadding() 152 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in formatFrWithPattern() 158 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in nfWithPattern()
|
D | IntlTestDecimalFormatSymbolsC.java | 20 import android.icu.text.DecimalFormatSymbols; 38 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() 39 DecimalFormatSymbols en = new DecimalFormatSymbols(Locale.ENGLISH); in TestSymbols() 117 en = (DecimalFormatSymbols) fr.clone(); in TestSymbols() 123 DecimalFormatSymbols sym = new DecimalFormatSymbols(Locale.US); in TestSymbols() 137 public void verify(double value, String pattern, DecimalFormatSymbols sym, String expected) { in verify()
|
D | BigNumberFormatTest.java | 16 import android.icu.text.DecimalFormatSymbols; 35 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestExponent() 50 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestSecondaryGrouping() 98 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestPatterns() 164 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestAlphaBigDecimal() 185 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestScientific() 262 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestPad()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatSymbols.java | 22 import com.ibm.icu.text.DecimalFormatSymbols; 35 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() 37 DecimalFormatSymbols en = new DecimalFormatSymbols(Locale.ENGLISH); in TestSymbols() 165 …for (int i = DecimalFormatSymbols.CURRENCY_SPC_CURRENCY_MATCH; i <= DecimalFormatSymbols.CURRENCY_… in TestSymbols() 177 en.setPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true, dash); in TestSymbols() 178 … if (dash != en.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true)) { in TestSymbols() 184 en = (DecimalFormatSymbols) fr.clone(); in TestSymbols() 192 DecimalFormatSymbols df = new DecimalFormatSymbols(); in testCoverage() 193 DecimalFormatSymbols df2 = (DecimalFormatSymbols)df.clone(); in testCoverage()
|
D | NumberFormatSpecificationTest.java | 11 import com.ibm.icu.text.DecimalFormatSymbols; 124 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in TestPadding() 132 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.US); in TestPadding() 138 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in TestPadding() 148 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in formatFrWithPattern() 154 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); in nfWithPattern()
|
D | IntlTestDecimalFormatSymbolsC.java | 19 import com.ibm.icu.text.DecimalFormatSymbols; 34 DecimalFormatSymbols fr = new DecimalFormatSymbols(Locale.FRENCH); in TestSymbols() 35 DecimalFormatSymbols en = new DecimalFormatSymbols(Locale.ENGLISH); in TestSymbols() 113 en = (DecimalFormatSymbols) fr.clone(); in TestSymbols() 119 DecimalFormatSymbols sym = new DecimalFormatSymbols(Locale.US); in TestSymbols() 133 public void verify(double value, String pattern, DecimalFormatSymbols sym, String expected) { in verify()
|
D | BigNumberFormatTest.java | 15 import com.ibm.icu.text.DecimalFormatSymbols; 31 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestExponent() 46 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestSecondaryGrouping() 94 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestPatterns() 160 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestAlphaBigDecimal() 181 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestScientific() 258 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); in TestPad()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | DecimalFormatSymbolsTest.java | 9 import java.text.DecimalFormatSymbols; 25 for (Locale loc : DecimalFormatSymbols.getAvailableLocales()) { in TestGetInstance() 31 DecimalFormatSymbols decfs = DecimalFormatSymbols.getInstance(loc); in TestGetInstance() 44 DecimalFormatSymbols decfsIcu = DecimalFormatSymbols.getInstance(iculoc); in TestGetInstance() 72 DecimalFormatSymbols jdkDecfs = DecimalFormatSymbols.getInstance(iculoc); in TestICUEquivalent() 73 …com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance… in TestICUEquivalent() 112 …DecimalFormatSymbols decfs = DecimalFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(new Loc… in TestSetSymbols() 116 DecimalFormatSymbols decfsEnUS = DecimalFormatSymbols.getInstance(loc); in TestSetSymbols() 173 DecimalFormatSymbols jdkDecfs = DecimalFormatSymbols.getInstance(loc); in TestKeywords() 174 …com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance… in TestKeywords()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | DecimalFormatSymbolsICU.java | 11 import com.ibm.icu.text.DecimalFormatSymbols; 17 public class DecimalFormatSymbolsICU extends java.text.DecimalFormatSymbols { 21 private DecimalFormatSymbols fIcuDecfs; 23 private DecimalFormatSymbolsICU(DecimalFormatSymbols icuDecfs) { in DecimalFormatSymbolsICU() 27 public static java.text.DecimalFormatSymbols wrap(DecimalFormatSymbols icuDecfs) { in wrap() 31 public DecimalFormatSymbols unwrap() { in unwrap() 38 other.fIcuDecfs = (DecimalFormatSymbols)fIcuDecfs.clone(); in clone()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
D | DecimalFormatSymbolsProviderICU.java | 9 import java.text.DecimalFormatSymbols; 20 public DecimalFormatSymbols getInstance(Locale locale) { in getInstance() 21 …com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance( in getInstance()
|
/external/caliper/examples/src/main/java/examples/ |
D | ExpensiveObjectsBenchmark.java | 20 import java.text.DecimalFormatSymbols; 32 new DecimalFormatSymbols(Locale.US); in newDecimalFormatSymbols() 37 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in clonedDecimalFormatSymbols()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormatSymbols.java | 45 public class DecimalFormatSymbols implements Cloneable, Serializable { class 50 public DecimalFormatSymbols() { in DecimalFormatSymbols() method in DecimalFormatSymbols 58 public DecimalFormatSymbols(Locale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 66 public DecimalFormatSymbols(ULocale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 80 public static DecimalFormatSymbols getInstance() { in getInstance() 81 return new DecimalFormatSymbols(); in getInstance() 96 public static DecimalFormatSymbols getInstance(Locale locale) { in getInstance() 97 return new DecimalFormatSymbols(locale); in getInstance() 112 public static DecimalFormatSymbols getInstance(ULocale locale) { in getInstance() 113 return new DecimalFormatSymbols(locale); in getInstance() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 45 public class DecimalFormatSymbols implements Cloneable, Serializable { class 51 public DecimalFormatSymbols() { in DecimalFormatSymbols() method in DecimalFormatSymbols 60 public DecimalFormatSymbols(Locale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 69 public DecimalFormatSymbols(ULocale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 84 public static DecimalFormatSymbols getInstance() { in getInstance() 85 return new DecimalFormatSymbols(); in getInstance() 101 public static DecimalFormatSymbols getInstance(Locale locale) { in getInstance() 102 return new DecimalFormatSymbols(locale); in getInstance() 118 public static DecimalFormatSymbols getInstance(ULocale locale) { in getInstance() 119 return new DecimalFormatSymbols(locale); in getInstance() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | DecimalFormatProperties.java | 23 import java.text.DecimalFormatSymbols; 54 DecimalFormatSymbols m_dfs; 63 m_dfs = new java.text.DecimalFormatSymbols(); in DecimalFormatProperties() 91 public DecimalFormatSymbols getDecimalFormatSymbols() in getDecimalFormatSymbols()
|