/external/icu/icu4c/source/test/intltest/ |
tsdcfmsy.cpp | 19 logln("TestSuite DecimalFormatSymbols:"); 28 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 34 DecimalFormatSymbols fr(Locale::getFrench(), status); 36 errcheckln(status, "ERROR: Couldn't create French DecimalFormatSymbols - %s", u_errorName(status)); 41 DecimalFormatSymbols en(Locale::getEnglish(), status); 43 errcheckln(status, "ERROR: Couldn't create English DecimalFormatSymbols - %s", u_errorName(status)); 48 errln("ERROR: English DecimalFormatSymbols equal to French"); 53 UnicodeString zero = en.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol); 54 fr.setSymbol(DecimalFormatSymbols::kZeroDigitSymbol, zero); 55 if(fr.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol) != en.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol)) [all...] |
tsdcfmsy.h | 18 * Tests for DecimalFormatSymbols 25 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 32 const DecimalFormatSymbols &sym, const UnicodeString& expected);
|
numrgts.cpp | 311 * DecimalFormatSymbols should be cloned in the ctor DecimalFormat. 312 * DecimalFormat(String, DecimalFormatSymbols). 317 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(status); 318 failure(status, "new DecimalFormatSymbols", ""); 331 symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString((UChar)0x70)); // change value of field 456 DecimalFormatSymbols *dfs = new DecimalFormatSymbols(status); 457 failure(status, "new DecimalFormatSymbols", Locale::getUS()); 854 const DecimalFormatSymbols *sym = df->getDecimalFormatSymbols() [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tsdcfmsy.cpp | 18 if (exec) logln("TestSuite DecimalFormatSymbols"); 20 case 0: name = "DecimalFormatSymbols test"; 22 logln("DecimalFormatSymbols test---"); logln(""); 32 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 38 DecimalFormatSymbols fr(Locale::getFrench(), status); 40 errcheckln(status, "ERROR: Couldn't create French DecimalFormatSymbols - %s", u_errorName(status)); 45 DecimalFormatSymbols en(Locale::getEnglish(), status); 47 errcheckln(status, "ERROR: Couldn't create English DecimalFormatSymbols - %s", u_errorName(status)); 52 errln("ERROR: English DecimalFormatSymbols equal to French"); 57 UnicodeString zero = en.getSymbol(DecimalFormatSymbols::kZeroDigitSymbol) [all...] |
tsdcfmsy.h | 18 * Tests for DecimalFormatSymbols 25 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 30 void Verify(double value, const UnicodeString& pattern, DecimalFormatSymbols sym, const UnicodeString& expected);
|
numrgts.cpp | 306 * DecimalFormatSymbols should be cloned in the ctor DecimalFormat. 307 * DecimalFormat(String, DecimalFormatSymbols). 312 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(status); 313 failure(status, "new DecimalFormatSymbols", ""); 326 symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString((UChar)0x70)); // change value of field 451 DecimalFormatSymbols *dfs = new DecimalFormatSymbols(status); 452 failure(status, "new DecimalFormatSymbols", Locale::getUS()); 849 const DecimalFormatSymbols *sym = df->getDecimalFormatSymbols() [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.java | 23 import java.text.DecimalFormatSymbols; 33 // On the RI, this test fails for a different reason: their DecimalFormatSymbols.equals 39 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); 40 assertEquals(DecimalFormatSymbols.getInstance(Locale.ROOT), dfs); 45 DecimalFormatSymbols originalDfs = DecimalFormatSymbols.getInstance(Locale.GERMANY); 54 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject();
|
OldDecimalFormatSymbolsTest.java | 21 import java.text.DecimalFormatSymbols; 27 DecimalFormatSymbols dfs; 30 dfs = new DecimalFormatSymbols(); 36 DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.FRANCE); 41 "serialization/java/text/DecimalFormatSymbols.ser")); 42 DecimalFormatSymbols riSymbols = (DecimalFormatSymbols) i.readObject(); 50 "DecimalFormatSymbols.ser", i); 63 new DecimalFormatSymbols(); [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dcfmtsym.h | 48 * DecimalFormatSymbols from its locale data. If you need to change any 49 * of these symbols, you can get the DecimalFormatSymbols object from 84 class U_I18N_API DecimalFormatSymbols : public UObject { 171 * Create a DecimalFormatSymbols object for the given locale. 178 DecimalFormatSymbols(const Locale& locale, UErrorCode& status); 181 * Create a DecimalFormatSymbols object for the default locale. 190 DecimalFormatSymbols(UErrorCode& status); 194 DecimalFormatSymbols(); 199 * Creates a DecimalFormatSymbols object with last-resort data. 213 static DecimalFormatSymbols* createWithLastResortData(UErrorCode& status) [all...] |
rbnf.h | [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dcfmtsym.h | 47 * DecimalFormatSymbols from its locale data. If you need to change any 48 * of these symbols, you can get the DecimalFormatSymbols object from 83 class U_I18N_API DecimalFormatSymbols : public UObject { 181 * Create a DecimalFormatSymbols object for the given locale. 188 DecimalFormatSymbols(const Locale& locale, UErrorCode& status); 191 * Create a DecimalFormatSymbols object for the default locale. 200 DecimalFormatSymbols( UErrorCode& status); 206 DecimalFormatSymbols(const DecimalFormatSymbols&); 212 DecimalFormatSymbols& operator=(const DecimalFormatSymbols&) [all...] |
decimfmt.h | 138 * digits. The symbols are stored in a DecimalFormatSymbols 161 * DecimalFormatSymbols object instead, and these characters lose 350 * DecimalFormatSymbols object. During formatting, the 351 * DecimalFormatSymbols-based digits are output. 405 * DecimalFormatSymbols object. This is the only value for which 411 * DecimalFormatSymbols object. 571 * can be localized using DecimalFormatSymbols::setSymbol() with a 572 * DecimalFormatSymbols::kPadEscapeSymbol 725 DecimalFormatSymbols* symbolsToAdopt, 741 DecimalFormatSymbols* symbolsToAdopt [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
DecimalFormatSymbolsTest.java | 27 import java.text.DecimalFormatSymbols; 39 DecimalFormatSymbols dfs; 41 DecimalFormatSymbols dfsUS; 44 * @tests java.text.DecimalFormatSymbols#DecimalFormatSymbols() 47 // Test for method java.text.DecimalFormatSymbols() 52 * @tests java.text.DecimalFormatSymbols#DecimalFormatSymbols(java.util.Locale) 55 DecimalFormatSymbols dfs = new DecimalFormatSymbols(new Locale("en" [all...] |
DecimalFormatTest.java | 26 import java.text.DecimalFormatSymbols; 46 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); 144 DecimalFormatSymbols symbols = new DecimalFormatSymbols(); 153 symbols = new DecimalFormatSymbols(); 202 symbols = new DecimalFormatSymbols(); 214 symbols = new DecimalFormatSymbols(); 223 symbols = new DecimalFormatSymbols(); 234 symbols = new DecimalFormatSymbols(); [all...] |
/external/icu/icu4c/source/i18n/ |
dcfmtsym.cpp | 40 // class DecimalFormatSymbols 45 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DecimalFormatSymbols) 61 DecimalFormatSymbols::DecimalFormatSymbols(UErrorCode& status) 71 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) 78 DecimalFormatSymbols::DecimalFormatSymbols() 86 DecimalFormatSymbols* 87 DecimalFormatSymbols::createWithLastResortData(UErrorCode& status) [all...] |
decimalformatpattern.h | 28 class DecimalFormatSymbols; 72 void useSymbols(const DecimalFormatSymbols& symbols);
|
decimfmt.cpp | 338 DecimalFormatSymbols* symbolsToAdopt, 348 DecimalFormatSymbols* symbolsToAdopt, 363 const DecimalFormatSymbols& symbols, 367 construct(status, parseError, &pattern, new DecimalFormatSymbols(symbols)); 376 DecimalFormatSymbols* symbolsToAdopt, 443 DecimalFormatSymbols* symbolsToAdopt) 464 fSymbols = new DecimalFormatSymbols(Locale::getDefault(), status); [all...] |
decimalformatpattern.cpp | 121 const DecimalFormatSymbols& symbols) { 123 DecimalFormatSymbols::kZeroDigitSymbol).char32At(0); 125 DecimalFormatSymbols::kSignificantDigitSymbol).char32At(0); 127 DecimalFormatSymbols::kGroupingSeparatorSymbol); 129 DecimalFormatSymbols::kDecimalSeparatorSymbol); 131 DecimalFormatSymbols::kPercentSymbol); 133 DecimalFormatSymbols::kPerMillSymbol); 135 DecimalFormatSymbols::kDigitSymbol); 137 DecimalFormatSymbols::kPatternSeparatorSymbol); 139 DecimalFormatSymbols::kExponentialSymbol) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
DecimalFormatProperties.java | 23 import java.text.DecimalFormatSymbols; 52 /** An instance of DecimalFormatSymbols for this element. 54 DecimalFormatSymbols m_dfs; 63 m_dfs = new java.text.DecimalFormatSymbols(); 85 * methods on the JDK 1.1 DecimalFormatSymbols class. For each get/set 91 public DecimalFormatSymbols getDecimalFormatSymbols()
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 50 static DecimalFormatSymbols* makeDecimalFormatSymbols(JNIEnv* env, 64 DecimalFormatSymbols* result = new DecimalFormatSymbols; 65 result->setSymbol(DecimalFormatSymbols::kCurrencySymbol, currencySymbol.unicodeString()); 66 result->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString(decimalSeparator)); 67 result->setSymbol(DecimalFormatSymbols::kDigitSymbol, UnicodeString(digit)); 68 result->setSymbol(DecimalFormatSymbols::kExponentialSymbol, exponentSeparator.unicodeString()); 69 result->setSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol, groupingSeparator); 70 result->setSymbol(DecimalFormatSymbols::kMonetaryGroupingSeparatorSymbol, groupingSeparator); 71 result->setSymbol(DecimalFormatSymbols::kInfinitySymbol, infinity.unicodeString()) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dcfmtsym.cpp | 38 // class DecimalFormatSymbols 43 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DecimalFormatSymbols) 59 DecimalFormatSymbols::DecimalFormatSymbols(UErrorCode& status) 69 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) 78 DecimalFormatSymbols::~DecimalFormatSymbols() 85 DecimalFormatSymbols::DecimalFormatSymbols(const DecimalFormatSymbols &source [all...] |
decimfmt.cpp | 266 DecimalFormatSymbols* symbolsToAdopt, 276 DecimalFormatSymbols* symbolsToAdopt, 291 const DecimalFormatSymbols& symbols, 295 construct(status, parseError, &pattern, new DecimalFormatSymbols(symbols)); 304 DecimalFormatSymbols* symbolsToAdopt, 357 DecimalFormatSymbols* symbolsToAdopt) 378 fSymbols = new DecimalFormatSymbols(Locale::getDefault(), status); 670 fSymbols = new DecimalFormatSymbols(*rhs.fSymbols); [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 34 * {@code DecimalFormatSymbols} from its locale data. If you need to change any 35 * of these symbols, you can get the {@code DecimalFormatSymbols} object from 41 public class DecimalFormatSymbols implements Cloneable, Serializable { 61 * Constructs a new {@code DecimalFormatSymbols} containing the symbols for 65 * and then to get the {@code DecimalFormatSymbols} from that object by 68 public DecimalFormatSymbols() { 73 * Constructs a new DecimalFormatSymbols containing the symbols for the 77 * and then to get the {@code DecimalFormatSymbols} from that object by 83 public DecimalFormatSymbols(Locale locale) { 115 * Returns a new {@code DecimalFormatSymbols} instance for the user's default locale [all...] |
DecimalFormat.java | 68 * digits. The symbols are stored in a {@link DecimalFormatSymbols} object. When 90 * {@link DecimalFormatSymbols} object instead, and these characters lose their 284 * {@link DecimalFormatSymbols} object. During formatting, the 285 * {@link DecimalFormatSymbols}-based digits are written out. 323 * {@link DecimalFormatSymbols} object. This is the only value for which the 328 * character is determined by the {@link DecimalFormatSymbols} object. <a 508 private transient DecimalFormatSymbols symbols; 521 this.symbols = new DecimalFormatSymbols(locale); 527 * pattern and the {@code DecimalFormatSymbols} for the user's default Locale. 540 * pattern and {@code DecimalFormatSymbols} [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 81 new DecimalFormatSymbols(Locale.US); 86 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
|