/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatSymbolsTest.java | 21 import java.text.DecimalFormatSymbols; 27 DecimalFormatSymbols dfs; 30 dfs = new DecimalFormatSymbols(); in setUp() 36 DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.FRANCE); in test_RIHarmony_compatible() 42 DecimalFormatSymbols riSymbols = (DecimalFormatSymbols) i.readObject(); in test_RIHarmony_compatible() 63 new DecimalFormatSymbols(); in test_Constructor() 71 new DecimalFormatSymbols(null); in test_ConstructorLjava_util_Locale() 85 DecimalFormatSymbols dfs1 = new DecimalFormatSymbols(); in test_hashCode() 86 DecimalFormatSymbols dfs2 = (DecimalFormatSymbols) dfs1.clone(); in test_hashCode() 96 DecimalFormatSymbols fs = new DecimalFormatSymbols(Locale.US); in test_clone() [all …]
|
D | DecimalFormatSymbolsTest.java | 23 import java.text.DecimalFormatSymbols; 40 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); in checkLocaleIsEquivalentToRoot() 41 assertEquals(DecimalFormatSymbols.getInstance(Locale.ROOT), dfs); in checkLocaleIsEquivalentToRoot() 46 DecimalFormatSymbols originalDfs = DecimalFormatSymbols.getInstance(Locale.GERMANY); in testSerialization() 55 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); in testSerialization() 64 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in testSetSameCurrency() 76 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in testSetNulInternationalCurrencySymbol()
|
D | DecimalFormatTest.java | 23 import java.text.DecimalFormatSymbols; 35 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols(); in test_exponentSeparator() 179 DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(); in testSetZeroDigitForPattern() 188 DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(); in testSetZeroDigitForFormatting()
|
D | NumberFormatTest.java | 21 import java.text.DecimalFormatSymbols; 78 assertEquals('\u0660', new DecimalFormatSymbols(arabic).getZeroDigit()); in test_numberLocalization() 139 DecimalFormatSymbols decimalFormatSymbols = ((DecimalFormat) nf).getDecimalFormatSymbols(); in test_setCurrency()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatSymbolsTest.java | 27 import java.text.DecimalFormatSymbols; 39 DecimalFormatSymbols dfs; 41 DecimalFormatSymbols dfsUS; 55 DecimalFormatSymbols dfs = new DecimalFormatSymbols(new Locale("en", in test_ConstructorLjava_util_Locale() 65 Locale[] locales = DecimalFormatSymbols.getAvailableLocales(); in test_getAvailableLocales_no_provider() 82 assertEquals(new DecimalFormatSymbols(), DecimalFormatSymbols.getInstance()); in test_getInstance() 83 assertEquals(new DecimalFormatSymbols(Locale.getDefault()), in test_getInstance() 84 DecimalFormatSymbols.getInstance()); in test_getInstance() 86 assertNotSame(DecimalFormatSymbols.getInstance(), DecimalFormatSymbols.getInstance()); in test_getInstance() 91 DecimalFormatSymbols.getInstance(null); in test_getInstanceLjava_util_Locale() [all …]
|
D | DecimalFormatTest.java | 26 import java.text.DecimalFormatSymbols; 46 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); in test_setNan_emptyString() 144 DecimalFormatSymbols symbols = new DecimalFormatSymbols(); in test_parse_returnType() 153 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 202 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 214 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 223 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 234 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 244 symbols = new DecimalFormatSymbols(); in test_parse_returnType() 648 cloned.setDecimalFormatSymbols(new DecimalFormatSymbols(Locale.US)); in test_equals() [all …]
|
D | MessageFormatTest.java | 28 import java.text.DecimalFormatSymbols;
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeDecimalFormat.cpp | 50 static DecimalFormatSymbols* makeDecimalFormatSymbols(JNIEnv* env, in makeDecimalFormatSymbols() 65 DecimalFormatSymbols* result = new DecimalFormatSymbols; in makeDecimalFormatSymbols() 66 result->setSymbol(DecimalFormatSymbols::kCurrencySymbol, currencySymbol.unicodeString()); in makeDecimalFormatSymbols() 67 … result->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString(decimalSeparator)); in makeDecimalFormatSymbols() 68 result->setSymbol(DecimalFormatSymbols::kDigitSymbol, UnicodeString(digit)); in makeDecimalFormatSymbols() 69 result->setSymbol(DecimalFormatSymbols::kExponentialSymbol, exponentSeparator.unicodeString()); in makeDecimalFormatSymbols() 70 result->setSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol, groupingSeparator); in makeDecimalFormatSymbols() 71 result->setSymbol(DecimalFormatSymbols::kMonetaryGroupingSeparatorSymbol, groupingSeparator); in makeDecimalFormatSymbols() 72 result->setSymbol(DecimalFormatSymbols::kInfinitySymbol, infinity.unicodeString()); in makeDecimalFormatSymbols() 73 …result->setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, internationalCurrencySymbol.unicodeSt… in makeDecimalFormatSymbols() [all …]
|
D | libcore_icu_ICU.cpp | 404 DecimalFormatSymbols dfs(locale, status); in setDecimalFormatSymbolsData() 406 …setCharField(env, obj, "decimalSeparator", dfs.getSymbol(DecimalFormatSymbols::kDecimalSeparatorSy… in setDecimalFormatSymbolsData() 407 …setCharField(env, obj, "groupingSeparator", dfs.getSymbol(DecimalFormatSymbols::kGroupingSeparator… in setDecimalFormatSymbolsData() 408 …setCharField(env, obj, "patternSeparator", dfs.getSymbol(DecimalFormatSymbols::kPatternSeparatorSy… in setDecimalFormatSymbolsData() 409 setStringField(env, obj, "percent", dfs.getSymbol(DecimalFormatSymbols::kPercentSymbol)); in setDecimalFormatSymbolsData() 410 setCharField(env, obj, "perMill", dfs.getSymbol(DecimalFormatSymbols::kPerMillSymbol)); in setDecimalFormatSymbolsData() 411 …setCharField(env, obj, "monetarySeparator", dfs.getSymbol(DecimalFormatSymbols::kMonetarySeparator… in setDecimalFormatSymbolsData() 412 setStringField(env, obj, "minusSign", dfs.getSymbol(DecimalFormatSymbols:: kMinusSignSymbol)); in setDecimalFormatSymbolsData() 413 …setStringField(env, obj, "exponentSeparator", dfs.getSymbol(DecimalFormatSymbols::kExponentialSymb… in setDecimalFormatSymbolsData() 414 setStringField(env, obj, "infinity", dfs.getSymbol(DecimalFormatSymbols::kInfinitySymbol)); in setDecimalFormatSymbolsData() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | DecimalFormat.java | 508 private transient DecimalFormatSymbols symbols; 521 this.symbols = new DecimalFormatSymbols(locale); in DecimalFormat() 549 public DecimalFormat(String pattern, DecimalFormatSymbols value) { in DecimalFormat() 550 this.symbols = (DecimalFormatSymbols) value.clone(); in DecimalFormat() 556 this.symbols = new DecimalFormatSymbols(locale); in DecimalFormat() 618 clone.symbols = (DecimalFormatSymbols) symbols.clone(); in clone() 714 public DecimalFormatSymbols getDecimalFormatSymbols() { in getDecimalFormatSymbols() 715 return (DecimalFormatSymbols) symbols.clone(); in getDecimalFormatSymbols() 889 public void setDecimalFormatSymbols(DecimalFormatSymbols value) { in setDecimalFormatSymbols() 892 this.symbols = (DecimalFormatSymbols) value.clone(); in setDecimalFormatSymbols() [all …]
|
D | DecimalFormatSymbols.java | 41 public class DecimalFormatSymbols implements Cloneable, Serializable { class 68 public DecimalFormatSymbols() { in DecimalFormatSymbols() method in DecimalFormatSymbols 83 public DecimalFormatSymbols(Locale locale) { in DecimalFormatSymbols() method in DecimalFormatSymbols 121 public static DecimalFormatSymbols getInstance() { in getInstance() 133 public static DecimalFormatSymbols getInstance(Locale locale) { in getInstance() 137 return new DecimalFormatSymbols(locale); in getInstance() 175 if (!(object instanceof DecimalFormatSymbols)) { in equals() 178 DecimalFormatSymbols obj = (DecimalFormatSymbols) object; in equals()
|
D | MessageFormat.java | 1013 new DecimalFormatSymbols(locale)); in parseVariable() 1077 .toPattern(), new DecimalFormatSymbols(locale)); in setLocale()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 81 new DecimalFormatSymbols(Locale.US); in timeNewDecimalFormatSymbols() 86 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in timeClonedDecimalFormatSymbols()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeDecimalFormat.java | 24 import java.text.DecimalFormatSymbols; 154 public NativeDecimalFormat(String pattern, DecimalFormatSymbols dfs) { in NativeDecimalFormat() 267 public void setDecimalFormatSymbols(final DecimalFormatSymbols dfs) { in setDecimalFormatSymbols()
|
/libcore/luni/src/main/java/java/util/ |
D | Scanner.java | 34 import java.text.DecimalFormatSymbols; 1759 DecimalFormatSymbols dfs = decimalFormat.getDecimalFormatSymbols(); in getFloatPattern() 1849 DecimalFormatSymbols dfs = decimalFormat.getDecimalFormatSymbols(); in removeLocaleInfo()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 1348 objToSave = new java.text.DecimalFormatSymbols(Locale.CHINESE); in test_writeObject_DecimalFormatSymbols()
|
/libcore/expectations/ |
D | knownfailures.txt | 31 description: "NaN character not found when deserializing DecimalFormatSymbols",
|