Home
last modified time | relevance | path

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

/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumparse_decimal.cpp30 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol); in DecimalMatcher()
33 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in DecimalMatcher()
43 decimalSeparator, in DecimalMatcher()
48 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
50 set->add(decimalSeparator.char32At(0)); in DecimalMatcher()
200 if (actualDecimalString.isBogus() && !decimalSeparator.isEmpty()) { in match()
201 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
203 if (overlap == decimalSeparator.length()) { in match()
205 actualDecimalString = decimalSeparator; in match()
Dnumparse_decimal.h52 UnicodeString decimalSeparator; variable
Dnumparse_impl.h92 RequireDecimalSeparatorValidator decimalSeparator; member
Dnumparse_impl.cpp195 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()
/third_party/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp30 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol); in DecimalMatcher()
33 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in DecimalMatcher()
43 decimalSeparator, in DecimalMatcher()
48 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
50 set->add(decimalSeparator.char32At(0)); in DecimalMatcher()
200 if (actualDecimalString.isBogus() && !decimalSeparator.isEmpty()) { in match()
201 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
203 if (overlap == decimalSeparator.length()) { in match()
205 actualDecimalString = decimalSeparator; in match()
Dnumparse_decimal.h52 UnicodeString decimalSeparator; variable
Dnumparse_impl.h92 RequireDecimalSeparatorValidator decimalSeparator; member
Dnumparse_impl.cpp195 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()
/third_party/node/deps/icu-small/source/i18n/
Dnumparse_decimal.cpp30 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol); in DecimalMatcher()
33 decimalSeparator = symbols.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol); in DecimalMatcher()
43 decimalSeparator, in DecimalMatcher()
48 } else if (!decimalSeparator.isEmpty()) { in DecimalMatcher()
50 set->add(decimalSeparator.char32At(0)); in DecimalMatcher()
200 if (actualDecimalString.isBogus() && !decimalSeparator.isEmpty()) { in match()
201 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match()
203 if (overlap == decimalSeparator.length()) { in match()
205 actualDecimalString = decimalSeparator; in match()
Dnumparse_decimal.h52 UnicodeString decimalSeparator; variable
Dnumparse_impl.h92 RequireDecimalSeparatorValidator decimalSeparator; member
Dnumparse_impl.cpp195 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java462 return decimalSeparator; in getDecimalSeparator()
470 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
471 this.decimalSeparator = decimalSeparator; in setDecimalSeparator()
472 this.decimalSeparatorString = String.valueOf(decimalSeparator); in setDecimalSeparator()
503 this.decimalSeparator = decimalSeparatorString.charAt(0); in setDecimalSeparatorString()
506 this.decimalSeparator = DEF_DECIMAL_SEPARATOR; in setDecimalSeparatorString()
1258 decimalSeparator == other.decimalSeparator && in equals()
1286 result = result * 37 + decimalSeparator; in hashCode()
1524 monetarySeparator = decimalSeparator; in readObject()
1601 decimalSeparatorString = String.valueOf(decimalSeparator); in readObject()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDecimalFormatSymbols.java441 return decimalSeparator; in getDecimalSeparator()
448 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
449 this.decimalSeparator = decimalSeparator; in setDecimalSeparator()
450 this.decimalSeparatorString = String.valueOf(decimalSeparator); in setDecimalSeparator()
479 this.decimalSeparator = decimalSeparatorString.charAt(0); in setDecimalSeparatorString()
482 this.decimalSeparator = DEF_DECIMAL_SEPARATOR; in setDecimalSeparatorString()
1180 decimalSeparator == other.decimalSeparator && in equals()
1207 result = result * 37 + decimalSeparator; in hashCode()
1445 monetarySeparator = decimalSeparator; in readObject()
1522 decimalSeparatorString = String.valueOf(decimalSeparator); in readObject()
[all …]
/third_party/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()
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java489 String decimalSeparator = value.getString(); in consumeCurrenciesEntry() local
493 isoCode, formatPattern, decimalSeparator, groupingSeparator); in consumeCurrenciesEntry()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUCurrencyDisplayInfoProvider.java493 String decimalSeparator = value.getString(); in consumeCurrenciesEntry() local
497 isoCode, formatPattern, decimalSeparator, groupingSeparator); in consumeCurrenciesEntry()