/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ListUnits.java | 159 String numberSystem = cldrFile.getWinningValue("//ldml/numbers/defaultNumberingSystem"); in getDigits() local 161 seen.add(numberSystem); in getDigits() 162 Pair<UnicodeSet, UnicodeSet> main = getCharacters(cldrFile, numberSystem); in getDigits() 163 …System.out.println("\tdefault: " + numberSystem + ", " + main.getFirst().toPattern(false) + ", " +… in getDigits() 177 … static Pair<UnicodeSet, UnicodeSet> getCharacters(CLDRFile cldrFileToCheck, String numberSystem) { in getCharacters() argument 178 String digitString = SUPP.getDigits(numberSystem); in getCharacters() 183 add(cldrFileToCheck, "decimal", numberSystem, punctuation, errors); in getCharacters() 185 add(cldrFileToCheck, "group", numberSystem, punctuation, errors); in getCharacters() 187 add(cldrFileToCheck, "minusSign", numberSystem, punctuation, errors); in getCharacters() 189 add(cldrFileToCheck, "list", numberSystem, punctuation, errors); in getCharacters() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 572 …blic DecimalFormat getCurrencyFormat(String currency, String currencySymbol, String numberSystem) { 574 return _getNumberFormat(currency, CURRENCY, currencySymbol, numberSystem); 587 public DecimalFormat getNumberFormat(int index, String numberSystem) { 589 return _getNumberFormat(NumberNames[index], OTHER_KEY, null, numberSystem); 608 public DecimalFormat getNumberFormat(String pattern, String numberSystem) { 610 return _getNumberFormat(pattern, PATTERN, null, numberSystem); 613 …DecimalFormat _getNumberFormat(String key1, int kind, String currencySymbol, String numberSystem) { 614 …String localeIDString = (numberSystem == null) ? cldrFile.getLocaleID() : cldrFile.getLocaleID() +… 615 + numberSystem; 626 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 | 148 //ldml/numbers/symbols[@numberSystem="%A"]/timeSeparator … 149 //ldml/numbers/symbols[@numberSystem="%A"]/%E … 150 //ldml/numbers/%EFormats[@numberSystem="%A"]/%EFormatLength/%EFormat[@type="%A"]/pattern[@type="%A"… 151 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] … 152 //ldml/numbers/miscPatterns[@numberSystem="%A"]/pattern[@type=\"%A\"] … 154 //ldml/numbers/(currency)Formats[@numberSystem="latn"]/%EFormatLength[@type="(short)"]/%EFormat[@ty… 155 //ldml/numbers/(currency)Formats[@numberSystem="%A"]/%EFormatLength[@type="(short)"]/%EFormat[@type… 156 //ldml/numbers/%EFormats[@numberSystem="latn"]/%EFormatLength[@type="(long)"]/%EFormat[@type="%A"]/… 157 //ldml/numbers/%EFormats[@numberSystem="%A"]/%EFormatLength[@type="(long)"]/%EFormat[@type="%A"]/pa… 158 //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… 94 ^//ldml/numbers/currencyFormats\[@numberSystem="([^"]*)"]/currencyFormatLength\[@type="short"]/curr… 95 ^//ldml/numbers/decimalFormats\[@numberSystem="([^"]*)"]/decimalFormatLength\[@type="short"]/decima… 96 ^//ldml/numbers/decimalFormats\[@numberSystem="([^"]*)"]/decimalFormatLength\[@type="long"]/decimal… 97 ^//ldml/numbers/currencyFormats\[@numberSystem="([^"]*)"]/unitPattern\[@count="(\w++)"] ; Currency … 99 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="range"] ; Format used to ind… 100 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="atLeast"] ; Format used to i… 101 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="atMost"] ; Format used to in… 102 ^//ldml/numbers/miscPatterns\[@numberSystem="([^"]*)"]/pattern\[@type="approximately"] ; Format use… 109 ^//ldml/numbers/([a-z]*)Formats(\[@numberSystem="([^"]*)"])?/\1FormatLength/\1Format\[@type="standa… [all …]
|
D | Placeholders.txt | 205 ^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME … 207 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"range\"] ; {0}=START_NUMBER 3 ; … 208 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"%A\"] ; {0}=NUMBER 3
|
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/ |
D | ldml2icu_locale.txt | 95 //ldml/numbers/currencyFormats[@numberSystem="(%A)"]/currencyFormatLength/currencyFormat[@type="acc… 278 …; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/currencyFormats[@numberSystem="%D"]/currencyFo… 280 ; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/decimal 282 ; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/group 285 //ldml/numbers/currencyFormats[@numberSystem="%D"]/currencySpacing/(%W)/(%W) ; /currencySpacing/$1… 286 //ldml/numbers/currencyFormats[@numberSystem="%D"]/unitPattern[@count="(%W)"] ; /CurrencyUnitPatter… 293 //ldml/numbers/symbols[@numberSystem="(%A)"]/(%W) ; /NumberElements/$1/symbols/$2 294 //ldml/numbers/(%GFormat)s[@numberSystem="(%W)"]/\1Length/\1[@type="standard"]/pattern[@type="stand… 295 //ldml/numbers/currencyFormats[@numberSystem="(%W)"]/currencyFormatLength/currencyFormat[@type="acc… 296 //ldml/numbers/currencyFormats[@numberSystem="(%W)"]/currencyFormatLength[@type="short"]/currencyFo… [all …]
|
D | ldml2icu_readme.txt | 183 fallback=//ldml/numbers/symbols[@numberSystem="%D"]/decimal 190 2) looking up the value of "//ldml/numbers/symbols[@numberSystem="arab"]/decimal"
|
/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/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/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 | 1329 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleNumberSymbol() local 1363 DecimalFormat x = icuServiceBuilder.getNumberFormat(index, numberSystem); in handleNumberSymbol() 1567 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleCurrencyFormat() local 1569 … DecimalFormat df = icuServiceBuilder.getCurrencyFormat(currency, currencySymbol, numberSystem); in handleCurrencyFormat() 1613 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleDecimalFormat() local 1614 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(value, numberSystem); in handleDecimalFormat()
|
D | CheckForExemplars.java | 246 …String numberSystem = getCldrFileToCheck().getStringValue("//ldml/numbers/defaultNumberingSystem"); in getNumberSystemExemplars() local 247 String digits = sdi.getDigits(numberSystem); in getNumberSystemExemplars()
|