/external/cldr/tools/cldr-code/src/main/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/cldr-code/src/main/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 …]
|
D | ValuePathStatus.java | 77 final String numberSystem = arguments.value[1]; in isMissingOk() local 80 String otherPath = "//ldml/numbers/decimalFormats[@numberSystem=\"" + numberSystem in isMissingOk()
|
/external/cldr/tools/cldr-code/src/test/resources/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/cldr-code/src/main/resources/org/unicode/cldr/util/data/ |
D | prettyPath.txt | 160 '/numbers/symbols[@numberSystem="latn"]/' (.*) > '2-number|symbol|' $1; 161 '/numbers/symbols[@numberSystem="' ($avalue) '"]/' (.*) > '2-number|symbol|' $2 '-' $1; 164 '/numbers/' ([a-z]+) 'Formats[@numberSystem="latn"]/' ($element) '/' ($element) '[@type="' ($avalue… 165 '/numbers/' ([a-z]+) 'Formats[@numberSystem="' ($avalue) '"]/' ($element) '/' ($element) '[@type="'… 168 '/numbers/' ([a-z]+) 'Formats[@numberSystem="latn"]/' ($element) '[@type="' ($avalue) '"]/' ($eleme… 169 '/numbers/' ([a-z]+) 'Formats[@numberSystem="' ($avalue) '"]/' ($element) '[@type="' ($avalue) '"]/… 173 '/numbers/currencyFormats[@numberSystem="latn"]/currencySpacing/beforeCurrency/' (.*) > '2-number|c… 174 '/numbers/currencyFormats[@numberSystem="latn"]/currencySpacing/afterCurrency/' (.*) > '2-number|cu… 175 '/numbers/currencyFormats[@numberSystem="latn"]/unitPattern' > '2-number|currency|name-pattern'; 176 '/numbers/currencyFormats[@numberSystem="' ($avalue) '"]/unitPattern' > '2-number|currency|name-pat…
|
D | PathHeader.txt | 154 //ldml/numbers/symbols[@numberSystem="%A"]/timeSeparator … 155 //ldml/numbers/symbols[@numberSystem="%A"]/%E … 156 //ldml/numbers/(currency)Formats[@numberSystem="%A"]/%EFormatLength/%EFormat[@type="%A"]/pattern[@t… 157 //ldml/numbers/%EFormats[@numberSystem="%A"]/%EFormatLength/%EFormat[@type="%A"]/pattern[@type="%A"… 158 //ldml/numbers/currencyFormats[@numberSystem="%A"]/currencyPatternAppendISO … 159 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] … 160 //ldml/numbers/miscPatterns[@numberSystem="%A"]/pattern[@type=\"%A\"] … 162 //ldml/numbers/(currency)Formats[@numberSystem="latn"]/%EFormatLength[@type="(short)"]/%EFormat[@ty… 163 //ldml/numbers/(currency)Formats[@numberSystem="latn"]/%EFormatLength[@type="(short)"]/%EFormat[@ty… 164 //ldml/numbers/(currency)Formats[@numberSystem="%A"]/%EFormatLength[@type="(short)"]/%EFormat[@type… [all …]
|
D | Placeholders.txt | 206 ^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME … 208 ^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/currencyPatternAppendISO ; {0}=CURRENCY_FORMAT… 210 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"range\"] ; {0}=START_NUMBER 3 ; … 211 ^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"%A\"] ; {0}=NUMBER 3
|
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/json/ |
D | pathTransforms.txt | 74 < (.*/numbers/currencyFormats\[@numberSystem="([^"]*)"\])/currencyFormatLength/currencyFormat\[@typ… 78 < (.*/numbers/currencyFormats\[@numberSystem="([^"]*)"\])/currencyFormatLength/currencyFormat\[@typ… 82 < (.*/numbers/(decimal|scientific|percent|currency)Formats\[@numberSystem="([^"]*)"\])/(decimal|sci… 86 < (.*/numbers/(decimal|scientific|percent)Formats\[@numberSystem="([^"]*)"\]/(decimal|scientific|pe…
|
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/ |
D | ldml2icu_locale.txt | 95 //ldml/numbers/currencyFormats[@numberSystem="(%A)"]/currencyFormatLength/currencyFormat[@type="acc… 97 //ldml/numbers/(miscPatterns|symbols)[@numberSystem="(%A)"]/alias[@source="locale"][@path="../%W[@n… 99 …mbers/(percentFormat|scientificFormat)s[@numberSystem="(%A)"]/alias[@source="locale"][@path="../%W… 101 …numbers/(currencyFormat|decimalFormat)s[@numberSystem="(%A)"]/alias[@source="locale"][@path="../%W… 316 …; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/currencyFormats[@numberSystem="%D"]/currencyFo… 318 ; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/decimal 320 ; /Currencies/$1/<FORMAT> ; fallback=//ldml/numbers/symbols[@numberSystem="%D"]/group 323 //ldml/numbers/currencyFormats[@numberSystem="%D"]/currencySpacing/(%W)/(%W) ; /currencySpacing/$1… 324 //ldml/numbers/currencyFormats[@numberSystem="%D"]/unitPattern[@count="(%W)"] ; /CurrencyUnitPatter… 331 //ldml/numbers/symbols[@numberSystem="(%A)"]/(%W) ; /NumberElements/$1/symbols/$2 [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/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/cldr-code/src/main/resources/org/unicode/cldr/util/data/paths/ |
D | missingOk.txt | 19 //ldml/numbers/decimalFormats[@numberSystem="%A"]/decimalFormatLength[@type="%A"]/decimalFormat[@ty…
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 1635 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleNumberSymbol() local 1669 DecimalFormat x = icuServiceBuilder.getNumberFormat(index, numberSystem); in handleNumberSymbol() 1888 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleCurrencyFormat() local 1890 … DecimalFormat df = icuServiceBuilder.getCurrencyFormat(currency, currencySymbol, numberSystem); in handleCurrencyFormat() 1913 df = icuServiceBuilder.getCurrencyFormat(currency, currencySymbol, numberSystem); in handleCurrencyFormat() 1952 String numberSystem = parts.getAttributeValue(2, "numberSystem"); // null if not present in handleDecimalFormat() local 1953 DecimalFormat numberFormat = icuServiceBuilder.getNumberFormat(value, numberSystem); in handleDecimalFormat()
|
D | CheckForExemplars.java | 253 …String numberSystem = getCldrFileToCheck().getStringValue("//ldml/numbers/defaultNumberingSystem"); in getNumberSystemExemplars() local 254 String digits = sdi.getDigits(numberSystem); in getNumberSystemExemplars()
|
/external/cldr/docs/ldml/ |
D | tr35-numbers.md | 272 <!ATTLIST symbols numberSystem CDATA #IMPLIED > 274 …numberSystem` attribute is used to specify that the given number symbols are to be used when the g… 339 <!ATTLIST symbols numberSystem CDATA #IMPLIED > 342 …numberSystem` attribute is used to specify that the given number formatting pattern(s) are to be u… 476 <!ATTLIST miscPatterns numberSystem CDATA #IMPLIED > 500 <miscPatterns numberSystem="…"> 583 …le, the '#' character is replaced by a localized digit for the chosen numberSystem. Often the repl… 585 …placement from _Section 2.3 [Number Symbols](#Number_Symbols)_ or the numberSystem's digits: _ital…
|
D | tr35.md | 1578 | currency @pattern | currencyFormat | numberSystem = defaultNumberingSystem, unless otherwise sp… 1579 | currency @decimal | symbols @decimal | numberSystem = defaultNumberingSystem, unless otherwise s… 1580 | currency @group | symbols @group | numberSystem = defaultNumberingSystem, unless otherwise s…
|