Home
last modified time | relevance | path

Searched refs:decimalSeparator (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java37 private final String decimalSeparator; field in DecimalMatcher
58 decimalSeparator = symbols.getMonetaryDecimalSeparatorString(); in DecimalMatcher()
61 decimalSeparator = symbols.getDecimalSeparatorString(); in DecimalMatcher()
69 Key decimalKey = StaticUnicodeSets.chooseFrom(decimalSeparator, in DecimalMatcher()
74 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
75 decimalUniSet = new UnicodeSet().add(decimalSeparator.codePointAt(0)).freeze(); in DecimalMatcher()
215 if (actualDecimalString == null && !decimalSeparator.isEmpty()) { in match()
216 int overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
218 if (overlap == decimalSeparator.length()) { in match()
220 actualDecimalString = decimalSeparator; in match()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java39 private final String decimalSeparator; field in DecimalMatcher
60 decimalSeparator = symbols.getMonetaryDecimalSeparatorString(); in DecimalMatcher()
63 decimalSeparator = symbols.getDecimalSeparatorString(); in DecimalMatcher()
71 Key decimalKey = StaticUnicodeSets.chooseFrom(decimalSeparator, in DecimalMatcher()
76 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
77 decimalUniSet = new UnicodeSet().add(decimalSeparator.codePointAt(0)).freeze(); in DecimalMatcher()
217 if (actualDecimalString == null && !decimalSeparator.isEmpty()) { in match()
218 int overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
220 if (overlap == decimalSeparator.length()) { in match()
222 actualDecimalString = decimalSeparator; in match()
/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp29 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol); in DecimalMatcher()
32 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in DecimalMatcher()
42 decimalSeparator, in DecimalMatcher()
47 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
49 set->add(decimalSeparator.char32At(0)); in DecimalMatcher()
199 if (actualDecimalString.isBogus() && !decimalSeparator.isEmpty()) { in match()
200 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
202 if (overlap == decimalSeparator.length()) { in match()
204 actualDecimalString = decimalSeparator; in match()
Dnumparse_decimal.h52 UnicodeString decimalSeparator; variable
Dnumparse_impl.h91 RequireDecimalSeparatorValidator decimalSeparator; member
Dnumber_formatimpl.cpp32 const char16_t* decimalSeparator; member
55 result.decimalSeparator = ures_getStringByIndex(bundle.getAlias(), 1, &dummy, &localStatus); in getCurrencyFormatInfo()
234 UnicodeString(info.decimalSeparator), in macrosToMicroGenerator()
Dnumparse_impl.cpp204 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java463 return decimalSeparator; in getDecimalSeparator()
471 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
472 this.decimalSeparator = decimalSeparator; in setDecimalSeparator()
473 this.decimalSeparatorString = String.valueOf(decimalSeparator); in setDecimalSeparator()
504 this.decimalSeparator = decimalSeparatorString.charAt(0); in setDecimalSeparatorString()
507 this.decimalSeparator = DEF_DECIMAL_SEPARATOR; in setDecimalSeparatorString()
1235 decimalSeparator == other.decimalSeparator && in equals()
1263 result = result * 37 + decimalSeparator; in hashCode()
1521 monetarySeparator = decimalSeparator; in readObject()
1598 decimalSeparatorString = String.valueOf(decimalSeparator); in readObject()
[all …]
DDecimalFormat_ICU58_Android.java4762 char decimalSeparator = PATTERN_DECIMAL_SEPARATOR; in applyPatternWithoutExpandAffix() local
4775 decimalSeparator = symbols.getDecimalSeparator(); in applyPatternWithoutExpandAffix()
4901 } else if (ch == decimalSeparator) { in applyPatternWithoutExpandAffix()
4954 if (ch == digit || ch == groupingSeparator || ch == decimalSeparator in applyPatternWithoutExpandAffix()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java434 return decimalSeparator; in getDecimalSeparator()
441 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
442 this.decimalSeparator = decimalSeparator; in setDecimalSeparator()
443 this.decimalSeparatorString = String.valueOf(decimalSeparator); in setDecimalSeparator()
472 this.decimalSeparator = decimalSeparatorString.charAt(0); in setDecimalSeparatorString()
475 this.decimalSeparator = DEF_DECIMAL_SEPARATOR; in setDecimalSeparatorString()
1143 decimalSeparator == other.decimalSeparator && in equals()
1170 result = result * 37 + decimalSeparator; in hashCode()
1428 monetarySeparator = decimalSeparator; in readObject()
1505 decimalSeparatorString = String.valueOf(decimalSeparator); in readObject()
[all …]
DDecimalFormat_ICU58_Android.java4693 char decimalSeparator = PATTERN_DECIMAL_SEPARATOR; in applyPatternWithoutExpandAffix() local
4706 decimalSeparator = symbols.getDecimalSeparator(); in applyPatternWithoutExpandAffix()
4832 } else if (ch == decimalSeparator) { in applyPatternWithoutExpandAffix()
4885 if (ch == digit || ch == groupingSeparator || ch == decimalSeparator in applyPatternWithoutExpandAffix()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDecimalFormatSymbols.java236 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
237 dfs.setDecimalSeparator(decimalSeparator); in setDecimalSeparator()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatSymbolsICU.java146 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
147 fIcuDecfs.setDecimalSeparator(decimalSeparator); in setDecimalSeparator()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocaleData.java83 localeData.decimalSeparator = '.'; in setEnUsLocaleData()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocaleDataTest.java54 assertThat(localeData.decimalSeparator).isEqualTo('.'); in shouldSupportLocaleEn_US()
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DDecimalFormatSymbols.java.patch51 return decimalSeparator;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyDisplayInfoProvider.java468 String decimalSeparator = value.getString(); in consumeCurrenciesEntry() local
472 isoCode, formatPattern, decimalSeparator, groupingSeparator); in consumeCurrenciesEntry()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java464 String decimalSeparator = value.getString(); in consumeCurrenciesEntry() local
468 isoCode, formatPattern, decimalSeparator, groupingSeparator); in consumeCurrenciesEntry()