Home
last modified time | relevance | path

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

12

/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.java24 public Grouper grouping;
/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.java28 public Grouper grouping;
/external/icu/icu4c/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()
Dnumber_microprops.h29 Grouper grouping;
Dnumparse_scientific.cpp34 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher()
Dnumber_formatimpl.cpp296 fMicros.grouping = Grouper::forStrategy(UNUM_GROUPING_MIN2); in macrosToMicroGenerator()
298 fMicros.grouping = Grouper::forStrategy(UNUM_GROUPING_AUTO); in macrosToMicroGenerator()
Dnumparse_decimal.cpp25 DecimalMatcher::DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper, in DecimalMatcher()
Dnumber_fluent.cpp158 copy.fMacros.grouper = Grouper::forStrategy(strategy); in grouping()
165 move.fMacros.grouper = Grouper::forStrategy(strategy); in grouping()
Dnumber_mapper.cpp173 macros.grouper = Grouper::forProperties(properties); in oldToNew()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DScientificMatcher.java11 import android.icu.impl.number.Grouper;
27 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance()
32 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher()
DNumberParserImpl.java18 import android.icu.impl.number.Grouper;
59Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
151 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/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DScientificMatcher.java10 import com.ibm.icu.impl.number.Grouper;
25 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance()
30 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher()
DNumberParserImpl.java17 import com.ibm.icu.impl.number.Grouper;
57Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
149 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/number/
DNumberFormatterImpl.java13 import android.icu.impl.number.Grouper;
270 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
271 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
273 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
276 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
278 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()
DNumberPropertyMapper.java13 import android.icu.impl.number.Grouper;
212 macros.grouping = Grouper.forProperties(properties); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java12 import com.ibm.icu.impl.number.Grouper;
269 if (macros.grouping instanceof Grouper) { in macrosToMicroGenerator()
270 micros.grouping = (Grouper) macros.grouping; in macrosToMicroGenerator()
272 micros.grouping = Grouper.forStrategy((GroupingStrategy) macros.grouping); in macrosToMicroGenerator()
275 micros.grouping = Grouper.forStrategy(GroupingStrategy.MIN2); in macrosToMicroGenerator()
277 micros.grouping = Grouper.forStrategy(GroupingStrategy.AUTO); in macrosToMicroGenerator()
DNumberPropertyMapper.java12 import com.ibm.icu.impl.number.Grouper;
211 macros.grouping = Grouper.forProperties(properties); in oldToNew()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1262 class U_I18N_API Grouper : public UMemory {
1266 static Grouper forStrategy(UNumberGroupingStrategy grouping);
1272 static Grouper forProperties(const DecimalFormatProperties& properties);
1277Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() function
1317 Grouper() : fGrouping1(-3) {}; in Grouper() function
1427 Grouper grouper; // = Grouper(); (bogus)

12