/external/icu4c/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 | 310 * DecimalFormatSymbols should be cloned in the ctor DecimalFormat. 311 * DecimalFormat(String, DecimalFormatSymbols). 316 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(status); 317 failure(status, "new DecimalFormatSymbols", ""); 330 symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString((UChar)0x70)); // change value of field 455 DecimalFormatSymbols *dfs = new DecimalFormatSymbols(status); 456 failure(status, "new DecimalFormatSymbols", Locale::getUS()); 853 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/main/java/java/text/spi/ |
DecimalFormatSymbolsProvider.java | 20 import java.text.DecimalFormatSymbols; 26 * instances of {@code DecimalFormatSymbols}. 40 * Returns an instance of {@code DecimalFormatSymbols} for the given locale. 43 * @return an instance of {@code DecimalFormatSymbols} 49 public abstract DecimalFormatSymbols getInstance(Locale locale);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.java | 23 import java.text.DecimalFormatSymbols; 28 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); 29 assertEquals(DecimalFormatSymbols.getInstance(Locale.ROOT), dfs); 33 // On the RI, ROOT has "\u221e" too, but DecimalFormatSymbols.equals appears to be broken; 42 DecimalFormatSymbols originalDfs = DecimalFormatSymbols.getInstance(Locale.GERMANY); 51 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...] |
DecimalFormatTest.java | 23 import java.text.DecimalFormatSymbols; 33 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols(); 177 DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(); 178 decimalFormatSymbols.setZeroDigit('a'); 180 formatter.setDecimalFormatSymbols(decimalFormatSymbols); 186 DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(); [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...] |
/external/icu4c/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(); 201 DecimalFormatSymbols(const DecimalFormatSymbols&) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DecimalFormatSymbolsTest.java | 27 import java.text.DecimalFormatSymbols; 40 DecimalFormatSymbols dfs; 42 DecimalFormatSymbols dfsUS; 45 * @tests java.text.DecimalFormatSymbols#DecimalFormatSymbols() 48 // Test for method java.text.DecimalFormatSymbols() 53 * @tests java.text.DecimalFormatSymbols#DecimalFormatSymbols(java.util.Locale) 56 DecimalFormatSymbols dfs = new DecimalFormatSymbols(new Locale("en" [all...] |
MockedDecimalFormatSymbolsProvider.java | 20 import java.text.DecimalFormatSymbols; 29 public DecimalFormatSymbols getInstance(Locale locale) { 45 public static class MockedDecimalFormatSymbols extends DecimalFormatSymbols {
|
/external/icu4c/i18n/ |
dcfmtsym.cpp | 39 // class DecimalFormatSymbols 44 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DecimalFormatSymbols) 60 DecimalFormatSymbols::DecimalFormatSymbols(UErrorCode& status) 70 DecimalFormatSymbols::DecimalFormatSymbols(const Locale& loc, UErrorCode& status) 80 DecimalFormatSymbols::DecimalFormatSymbols() 90 DecimalFormatSymbols::~DecimalFormatSymbols() [all...] |
decimfmt.cpp | 294 DecimalFormatSymbols* symbolsToAdopt, 304 DecimalFormatSymbols* symbolsToAdopt, 319 const DecimalFormatSymbols& symbols, 323 construct(status, parseError, &pattern, new DecimalFormatSymbols(symbols)); 332 DecimalFormatSymbols* symbolsToAdopt, 398 DecimalFormatSymbols* symbolsToAdopt) 419 fSymbols = new DecimalFormatSymbols(Locale::getDefault(), status); [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 | 47 static DecimalFormatSymbols* makeDecimalFormatSymbols(JNIEnv* env, 60 DecimalFormatSymbols* result = new DecimalFormatSymbols; 61 result->setSymbol(DecimalFormatSymbols::kCurrencySymbol, currencySymbol.unicodeString()); 62 result->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString(decimalSeparator)); 63 result->setSymbol(DecimalFormatSymbols::kDigitSymbol, UnicodeString(digit)); 64 result->setSymbol(DecimalFormatSymbols::kExponentialSymbol, exponentSeparator.unicodeString()); 65 result->setSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol, groupingSeparator); 66 result->setSymbol(DecimalFormatSymbols::kMonetaryGroupingSeparatorSymbol, groupingSeparator); 67 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) { 110 * 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 502 private transient DecimalFormatSymbols symbols; 515 this.symbols = new DecimalFormatSymbols(locale); 521 * pattern and the {@code DecimalFormatSymbols} for the user's default Locale. 534 * pattern and {@code DecimalFormatSymbols} [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 81 new DecimalFormatSymbols(Locale.US); 86 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
Stopwatches.java | 23 import java.text.DecimalFormatSymbols; 121 char decimalSeparator = DecimalFormatSymbols.getInstance().getDecimalSeparator(); 161 char decimalSeparator = DecimalFormatSymbols.getInstance().getDecimalSeparator();
|