Home
last modified time | relevance | path

Searched refs:digitStrings (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java246 digitStrings = digitStrings.clone(); in setZeroDigit()
250 digitStrings[0] = String.valueOf(zeroDigit); in setZeroDigit()
256 digitStrings[i] = String.valueOf(d); in setZeroDigit()
271 return digitStrings.clone(); in getDigitStrings()
288 return digitStrings; in getDigitStringsLocal()
320 public void setDigitStrings(String[] digitStrings) { in setDigitStrings() argument
321 if (digitStrings == null) { in setDigitStrings()
324 if (digitStrings.length != 10) { in setDigitStrings()
334 String digitStr = digitStrings[i]; in setDigitStrings()
344 cp = Character.codePointAt(digitStrings[i], 0); in setDigitStrings()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java229 digitStrings = digitStrings.clone(); in setZeroDigit()
233 digitStrings[0] = String.valueOf(zeroDigit); in setZeroDigit()
239 digitStrings[i] = String.valueOf(d); in setZeroDigit()
253 return digitStrings.clone(); in getDigitStrings()
270 return digitStrings; in getDigitStringsLocal()
301 public void setDigitStrings(String[] digitStrings) { in setDigitStrings() argument
302 if (digitStrings == null) { in setDigitStrings()
305 if (digitStrings.length != 10) { in setDigitStrings()
315 String digitStr = digitStrings[i]; in setDigitStrings()
325 cp = Character.codePointAt(digitStrings[i], 0); in setDigitStrings()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java45 private final String[] digitStrings; field in DecimalMatcher
92 digitStrings = symbols.getDigitStringsLocal(); in DecimalMatcher()
94 digitStrings = null; in DecimalMatcher()
180 if (digit == -1 && digitStrings != null) { in match()
181 for (int i = 0; i < digitStrings.length; i++) { in match()
182 String str = digitStrings[i]; in match()
456 if (digitStrings == null && leadSet != null) { in smokeTest()
462 if (digitStrings == null) { in smokeTest()
465 for (int i = 0; i < digitStrings.length; i++) { in smokeTest()
466 if (segment.startsWith(digitStrings[i])) { in smokeTest()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java47 private final String[] digitStrings; field in DecimalMatcher
94 digitStrings = symbols.getDigitStringsLocal(); in DecimalMatcher()
96 digitStrings = null; in DecimalMatcher()
182 if (digit == -1 && digitStrings != null) { in match()
183 for (int i = 0; i < digitStrings.length; i++) { in match()
184 String str = digitStrings[i]; in match()
458 if (digitStrings == null && leadSet != null) { in smokeTest()
464 if (digitStrings == null) { in smokeTest()
467 for (int i = 0; i < digitStrings.length; i++) { in smokeTest()
468 if (segment.startsWith(digitStrings[i])) { in smokeTest()
/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp76 auto digitStrings = new UnicodeString[10]; in DecimalMatcher() local
77 fLocalDigitStrings.adoptInstead(digitStrings); in DecimalMatcher()
79 digitStrings[i] = symbols.getConstDigitSymbol(i); in DecimalMatcher()