/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | DecimalMatcher.java | 37 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/ |
D | DecimalMatcher.java | 39 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/ |
D | numparse_decimal.cpp | 29 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()
|
D | numparse_decimal.h | 52 UnicodeString decimalSeparator; variable
|
D | numparse_impl.h | 91 RequireDecimalSeparatorValidator decimalSeparator; member
|
D | number_formatimpl.cpp | 32 const char16_t* decimalSeparator; member 55 result.decimalSeparator = ures_getStringByIndex(bundle.getAlias(), 1, &dummy, &localStatus); in getCurrencyFormatInfo() 234 UnicodeString(info.decimalSeparator), in macrosToMicroGenerator()
|
D | numparse_impl.cpp | 204 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 463 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 …]
|
D | DecimalFormat_ICU58_Android.java | 4762 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/ |
D | DecimalFormatSymbols.java | 434 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 …]
|
D | DecimalFormat_ICU58_Android.java | 4693 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/ |
D | DecimalFormatSymbols.java | 236 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/ |
D | DecimalFormatSymbolsICU.java | 146 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/ |
D | ShadowLocaleData.java | 83 localeData.decimalSeparator = '.'; in setEnUsLocaleData()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLocaleDataTest.java | 54 assertThat(localeData.decimalSeparator).isEqualTo('.'); in shouldSupportLocaleEn_US()
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | DecimalFormatSymbols.java.patch | 51 return decimalSeparator;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 468 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/ |
D | ICUCurrencyDisplayInfoProvider.java | 464 String decimalSeparator = value.getString(); in consumeCurrenciesEntry() local 468 isoCode, formatPattern, decimalSeparator, groupingSeparator); in consumeCurrenciesEntry()
|