Home
last modified time | relevance | path

Searched refs:Grouper (Results 1 – 25 of 67) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DGrouper.java17 public class Grouper { class
19 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2);
20 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3);
21 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2);
22 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1);
24 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1);
25 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1);
26 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2);
27 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2);
32 public static Grouper forStrategy(GroupingStrategy grouping) { in forStrategy()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DGrouper.java15 public class Grouper { class
17 private static final Grouper GROUPER_NEVER = new Grouper((short) -1, (short) -1, (short) -2);
18 private static final Grouper GROUPER_MIN2 = new Grouper((short) -2, (short) -2, (short) -3);
19 private static final Grouper GROUPER_AUTO = new Grouper((short) -2, (short) -2, (short) -2);
20 … private static final Grouper GROUPER_ON_ALIGNED = new Grouper((short) -4, (short) -4, (short) 1);
22 private static final Grouper GROUPER_WESTERN = new Grouper((short) 3, (short) 3, (short) 1);
23 private static final Grouper GROUPER_INDIC = new Grouper((short) 3, (short) 2, (short) 1);
24 … private static final Grouper GROUPER_WESTERN_MIN2 = new Grouper((short) 3, (short) 3, (short) 2);
25 private static final Grouper GROUPER_INDIC_MIN2 = new Grouper((short) 3, (short) 2, (short) 2);
30 public static Grouper forStrategy(GroupingStrategy grouping) { in forStrategy()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_grouping.cpp37 Grouper Grouper::forStrategy(UNumberGroupingStrategy grouping) { in forStrategy()
54 Grouper Grouper::forProperties(const DecimalFormatProperties& properties) { in forProperties()
66 void Grouper::setLocaleData(const impl::ParsedPatternInfo &patternInfo, const Locale& locale) { in setLocaleData()
90 bool Grouper::groupAtPosition(int32_t position, const impl::DecimalQuantity &value) const { in groupAtPosition()
101 int16_t Grouper::getPrimary() const { in getPrimary()
105 int16_t Grouper::getSecondary() const { in getSecondary()
Dnumparse_scientific.h15 using icu::number::impl::Grouper;
25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h16 using ::icu::number::impl::Grouper;
22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties()
/third_party/icu/icu4c/source/i18n/
Dnumber_grouping.cpp37 Grouper Grouper::forStrategy(UNumberGroupingStrategy grouping) { in forStrategy()
54 Grouper Grouper::forProperties(const DecimalFormatProperties& properties) { in forProperties()
66 void Grouper::setLocaleData(const impl::ParsedPatternInfo &patternInfo, const Locale& locale) { in setLocaleData()
90 bool Grouper::groupAtPosition(int32_t position, const impl::DecimalQuantity &value) const { in groupAtPosition()
101 int16_t Grouper::getPrimary() const { in getPrimary()
105 int16_t Grouper::getSecondary() const { in getSecondary()
Dnumparse_scientific.h15 using icu::number::impl::Grouper;
25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h16 using ::icu::number::impl::Grouper;
22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_grouping.cpp37 Grouper Grouper::forStrategy(UGroupingStrategy grouping) { in forStrategy()
55 Grouper Grouper::forProperties(const DecimalFormatProperties& properties) { in forProperties()
67 void Grouper::setLocaleData(const impl::ParsedPatternInfo &patternInfo, const Locale& locale) { in setLocaleData()
91 bool Grouper::groupAtPosition(int32_t position, const impl::DecimalQuantity &value) const { in groupAtPosition()
102 int16_t Grouper::getPrimary() const { in getPrimary()
106 int16_t Grouper::getSecondary() const { in getSecondary()
Dnumparse_scientific.h14 using icu::number::impl::Grouper;
24 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h16 using ::icu::number::impl::Grouper;
22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser()
100 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_grouping.cpp37 Grouper Grouper::forStrategy(UNumberGroupingStrategy grouping) { in forStrategy()
54 Grouper Grouper::forProperties(const DecimalFormatProperties& properties) { in forProperties()
66 void Grouper::setLocaleData(const impl::ParsedPatternInfo &patternInfo, const Locale& locale) { in setLocaleData()
90 bool Grouper::groupAtPosition(int32_t position, const impl::DecimalQuantity &value) const { in groupAtPosition()
101 int16_t Grouper::getPrimary() const { in getPrimary()
105 int16_t Grouper::getSecondary() const { in getSecondary()
Dnumparse_scientific.h15 using icu::number::impl::Grouper;
25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h16 using ::icu::number::impl::Grouper;
22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DScientificMatcher.java8 import com.ibm.icu.impl.number.Grouper;
24 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance()
29 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher()
DNumberParserImpl.java16 import com.ibm.icu.impl.number.Grouper;
56Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
146 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DScientificMatcher.java11 import ohos.global.icu.impl.number.Grouper;
28 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance()
33 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher()
DNumberParserImpl.java17 import ohos.global.icu.impl.number.Grouper;
58Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
148 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties()
DDecimalMatcher.java10 import ohos.global.icu.impl.number.Grouper;
51 Grouper grouper, in getInstance()
57 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberFormatterImpl.java12 import ohos.global.icu.impl.number.Grouper;
272 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
273 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
275 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
278 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
280 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java12 import com.ibm.icu.impl.number.Grouper;
310 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
311 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
313 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
316 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
318 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()

123