/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ListUnits.java | 160 String numberSystem = cldrFile.getWinningValue("//ldml/numbers/defaultNumberingSystem"); in getDigits() local 162 seen.add(numberSystem); in getDigits() 163 Pair<UnicodeSet, UnicodeSet> main = getCharacters(cldrFile, numberSystem); in getDigits() 164 …System.out.println("\tdefault: " + numberSystem + ", " + main.getFirst().toPattern(false) + ", " +… in getDigits() 178 … static Pair<UnicodeSet, UnicodeSet> getCharacters(CLDRFile cldrFileToCheck, String numberSystem) { in getCharacters() argument 179 String digitString = SUPP.getDigits(numberSystem); in getCharacters() 184 add(cldrFileToCheck, "decimal", numberSystem, punctuation, errors); in getCharacters() 186 add(cldrFileToCheck, "group", numberSystem, punctuation, errors); in getCharacters() 188 add(cldrFileToCheck, "minusSign", numberSystem, punctuation, errors); in getCharacters() 190 add(cldrFileToCheck, "list", numberSystem, punctuation, errors); in getCharacters() [all …]
|
D | modify_config.txt | 93 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 94 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 95 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 96 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 97 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 98 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 99 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 100 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 101 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… 102 locale=ia; action=add; new_path=//ldml/numbers/decimalFormats[@numberSystem="latn"]/decimalFormatLe… [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 554 …blic DecimalFormat getCurrencyFormat(String currency, String currencySymbol, String numberSystem) { 556 return _getNumberFormat(currency, CURRENCY, currencySymbol, numberSystem); 569 public DecimalFormat getNumberFormat(int index, String numberSystem) { 571 return _getNumberFormat(NumberNames[index], OTHER_KEY, null, numberSystem); 589 public DecimalFormat getNumberFormat(String pattern, String numberSystem) { 591 return _getNumberFormat(pattern, PATTERN, null, numberSystem); 594 …DecimalFormat _getNumberFormat(String key1, int kind, String currencySymbol, String numberSystem) { 595 …String localeIDString = (numberSystem == null) ? cldrFile.getLocaleID() : cldrFile.getLocaleID() +… 596 + numberSystem; 607 DecimalFormatSymbols symbols = _getDecimalFormatSymbols(numberSystem); [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestExamples.txt | 27 //ldml/numbers/currencyFormats[@numberSystem="%A"]/currencyFormatLength/currencyFormat[@type="%A"]/… 28 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] ; example 31 //ldml/numbers/decimalFormats[@numberSystem="%A"]/decimalFormatLength/decimalFormat[@type="%A"]/pat… 32 //ldml/numbers/decimalFormats[@numberSystem="%A"]/decimalFormatLength[@type="%A"]/decimalFormat[@ty… 36 //ldml/numbers/percentFormats[@numberSystem="%A"]/percentFormatLength/percentFormat[@type="%A"]/pat… 38 //ldml/numbers/scientificFormats[@numberSystem="%A"]/scientificFormatLength/scientificFormat[@type=…
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | prettyPath.txt | 159 '/numbers/symbols[@numberSystem="latn"]/' (.*) > '2-number|symbol|' $1; 160 '/numbers/symbols[@numberSystem="' ($avalue) '"]/' (.*) > '2-number|symbol|' $2 '-' $1; 163 '/numbers/' ([a-z]+) 'Formats[@numberSystem="latn"]/' ($element) '/' ($element) '[@type="' ($avalue… 164 '/numbers/' ([a-z]+) 'Formats[@numberSystem="' ($avalue) '"]/' ($element) '/' ($element) '[@type="'… 167 '/numbers/' ([a-z]+) 'Formats[@numberSystem="latn"]/' ($element) '[@type="' ($avalue) '"]/' ($eleme… 168 '/numbers/' ([a-z]+) 'Formats[@numberSystem="' ($avalue) '"]/' ($element) '[@type="' ($avalue) '"]/… 172 '/numbers/currencyFormats[@numberSystem="latn"]/currencySpacing/beforeCurrency/' (.*) > '2-number|c… 173 '/numbers/currencyFormats[@numberSystem="latn"]/currencySpacing/afterCurrency/' (.*) > '2-number|cu… 174 '/numbers/currencyFormats[@numberSystem="latn"]/unitPattern' > '2-number|currency|name-pattern'; 175 '/numbers/currencyFormats[@numberSystem="' ($avalue) '"]/unitPattern' > '2-number|currency|name-pat…
|
D | PathHeader.txt | 136 //ldml/numbers/symbols[@numberSystem="%A"]/timeSeparator … 137 //ldml/numbers/symbols[@numberSystem="%A"]/%E … 138 //ldml/numbers/%EFormats[@numberSystem="%A"]/%EFormatLength/%EFormat[@type="%A"]/pattern[@type="%A"… 139 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] … 140 //ldml/numbers/miscPatterns[@numberSystem="%A"]/pattern[@type=\"%A\"] … 145 //ldml/numbers/(currency)Formats[@numberSystem="latn"]/%EFormatLength[@type="(short)"]/%EFormat[@ty… 146 //ldml/numbers/(currency)Formats[@numberSystem="%A"]/%EFormatLength[@type="(short)"]/%EFormat[@type… 147 //ldml/numbers/%EFormats[@numberSystem="latn"]/%EFormatLength[@type="(long)"]/%EFormat[@type="%A"]/… 148 //ldml/numbers/%EFormats[@numberSystem="%A"]/%EFormatLength[@type="(long)"]/%EFormat[@type="%A"]/pa… 149 //ldml/numbers/%EFormats[@numberSystem="latn"]/%EFormatLength[@type="(short)"]/%EFormat[@type="%A"]… [all …]
|
D | PathDescription.txt | 54 ^//ldml/numbers/symbols\[@numberSystem="([a-z]*)"]/(\w++) ; The {2} symbol used in the {1} num… 83 ^//ldml/numbers/currencyFormats\[@numberSystem="([^"]*)"]/currencyFormatLength\[@type="short"]/curr… 84 ^//ldml/numbers/decimalFormats\[@numberSystem="([^"]*)"]/decimalFormatLength\[@type="short"]/decima… 85 ^//ldml/numbers/decimalFormats\[@numberSystem="([^"]*)"]/decimalFormatLength\[@type="long"]/decimal… 86 ^//ldml/numbers/currencyFormats\[@numberSystem="([^"]*)"]/unitPattern\[@count="(\w++)"] ; Currency … 88 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="range"] ; Format used to ind… 89 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="atLeast"] ; Format used to i… 90 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="atMost"] ; Format used to in… 91 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="approximately"] ; Format use… 96 ^//ldml/numbers/([a-z]*)Formats(\[@numberSystem="([^"]*)"])?/\1FormatLength/\1Format\[@type="standa… [all …]
|
D | Placeholders.txt | 206 ^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME … 208 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"range\"] ; {0}=START_NUMBER 3 ; … 209 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"%A\"] ; {0}=NUMBER 3
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ldml2icu_locale.txt | 74 //ldml/numbers/currencyFormats[@numberSystem="(%A)"]/currencyFormatLength/currencyFormat[@type="acc… 202 …tandard"]; /Currencies/$1/ ; fallback=//ldml/numbers/currencyFormats[@numberSystem="%D"]/currencyF… 203 …ype="(%W)"]/decimal ; /Currencies/$1/ ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/decimal 204 …y[@type="(%W)"]/group ; /Currencies/$1/ ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/group 209 //ldml/numbers/currencyFormats[@numberSystem="%D"]/currencySpacing/(%W)/(%W) ; /currencySpacing/$… 210 //ldml/numbers/currencyFormats[@numberSystem="%D"]/unitPattern[@count="(%W)"] ; /CurrencyUnitPatter… 217 //ldml/numbers/symbols[@numberSystem="(%A)"]/(%W)$ ; /NumberElements/$1/symbols/$2 218 //ldml/numbers/(%GFormat)s[@numberSystem="(%W)"]/\1Length/\1[@type="standard"]/pattern[@type="stand… 219 //ldml/numbers/currencyFormats[@numberSystem="(%W)"]/currencyFormatLength/currencyFormat[@type="acc… 220 //ldml/numbers/currencyFormats[@numberSystem="(%W)"]/currencyFormatLength[@type="short"]/currencyFo… [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
D | DataRecord.java | 46 byte numberSystem; // ENumberSystem field in DataRecord 88 record.numberSystem = in.namedIndex("numberSystem", in read() 154 out.namedIndex("numberSystem", ENumberSystem.names, numberSystem); in write()
|
D | PeriodFormatterData.java | 428 switch (dr.numberSystem) { in appendInteger()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | DataRecord.java | 44 byte numberSystem; // ENumberSystem field in DataRecord 86 record.numberSystem = in.namedIndex("numberSystem", in read() 152 out.namedIndex("numberSystem", ENumberSystem.names, numberSystem); in write()
|
D | PeriodFormatterData.java | 426 switch (dr.numberSystem) { in appendInteger()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/paths/ |
D | missingOk.txt | 19 //ldml/numbers/decimalFormats[@numberSystem="%A"]/decimalFormatLength[@type="%A"]/decimalFormat[@ty…
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 1130 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleNumberSymbol() local 1159 DecimalFormat x = icuServiceBuilder.getNumberFormat(index, numberSystem); in handleNumberSymbol() 1364 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleCurrencyFormat() local 1366 … DecimalFormat df = icuServiceBuilder.getCurrencyFormat(currency, currencySymbol, numberSystem); in handleCurrencyFormat() 1408 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleDecimalFormat() local 1409 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(value, numberSystem); in handleDecimalFormat()
|
D | CheckForExemplars.java | 240 …String numberSystem = getCldrFileToCheck().getStringValue("//ldml/numbers/defaultNumberingSystem"); in getNumberSystemExemplars() local 241 String digits = sdi.getDigits(numberSystem); in getNumberSystemExemplars()
|