Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/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 …]
DMicroProps.java47 public Grouper grouping;
/external/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 …]
DMicroProps.java45 public Grouper grouping;
/external/cronet/third_party/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()
/external/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()
/external/icu/libicu/cts_headers/
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,
/external/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()
DDecimalMatcher.java9 import com.ibm.icu.impl.number.Grouper;
49 Grouper grouper, in getInstance()
55 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DScientificMatcher.java9 import android.icu.impl.number.Grouper;
26 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance()
31 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher()
DNumberParserImpl.java17 import android.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 android.icu.impl.number.Grouper;
51 Grouper grouper, in getInstance()
57 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterImpl.java14 import android.icu.impl.number.Grouper;
312 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
313 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
315 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
318 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
320 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java13 import com.ibm.icu.impl.number.Grouper;
311 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
312 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
314 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
317 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
319 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h1370 class U_I18N_API Grouper : public UMemory {
1374 static Grouper forStrategy(UNumberGroupingStrategy grouping);
1380 static Grouper forProperties(const DecimalFormatProperties& properties);
1385Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() function
1425 Grouper() : fGrouping1(-3) {} in Grouper() function
1535 Grouper grouper; // = Grouper(); (bogus)
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1370 class U_I18N_API Grouper : public UMemory {
1374 static Grouper forStrategy(UNumberGroupingStrategy grouping);
1380 static Grouper forProperties(const DecimalFormatProperties& properties);
1385Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() function
1425 Grouper() : fGrouping1(-3) {} in Grouper() function
1535 Grouper grouper; // = Grouper(); (bogus)
/external/cronet/third_party/icu/source/i18n/unicode/
Dnumberformatter.h1370 class U_I18N_API Grouper : public UMemory {
1374 static Grouper forStrategy(UNumberGroupingStrategy grouping);
1380 static Grouper forProperties(const DecimalFormatProperties& properties);
1385Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() function
1425 Grouper() : fGrouping1(-3) {} in Grouper() function
1535 Grouper grouper; // = Grouper(); (bogus)

12