Home
last modified time | relevance | path

Searched refs:grouping1 (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DGrouper.java54 short grouping1 = (short) properties.getGroupingSize(); in forProperties() local
57 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in forProperties()
58 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in forProperties()
59 return getInstance(grouping1, grouping2, minGrouping); in forProperties()
62 public static Grouper getInstance(short grouping1, short grouping2, short minGrouping) { in getInstance() argument
63 if (grouping1 == -1) { in getInstance()
65 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 1) { in getInstance()
67 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 1) { in getInstance()
69 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 2) { in getInstance()
71 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 2) { in getInstance()
[all …]
DPatternStringUtils.java66 int grouping1, grouping2, grouping; in propertiesToPatternString() local
71 grouping1 = groupingSize; in propertiesToPatternString()
75 grouping1 = 0; in propertiesToPatternString()
79 grouping1 = 0; in propertiesToPatternString()
83 grouping1 = 0; in propertiesToPatternString()
86 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
DPatternStringParser.java439 short grouping1 = (short) (result.groupingSizes & 0xffff); in consumeIntegerFormat() local
442 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat()
557 short grouping1 = (short) (positive.groupingSizes & 0xffff); in patternInfoToProperties() local
561 properties.setGroupingSize(grouping1); in patternInfoToProperties()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DGrouper.java56 short grouping1 = (short) properties.getGroupingSize(); in forProperties() local
59 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in forProperties()
60 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in forProperties()
61 return getInstance(grouping1, grouping2, minGrouping); in forProperties()
64 public static Grouper getInstance(short grouping1, short grouping2, short minGrouping) { in getInstance() argument
65 if (grouping1 == -1) { in getInstance()
67 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 1) { in getInstance()
69 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 1) { in getInstance()
71 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 2) { in getInstance()
73 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 2) { in getInstance()
[all …]
DPatternStringUtils.java68 int grouping1, grouping2, grouping; in propertiesToPatternString() local
73 grouping1 = groupingSize; in propertiesToPatternString()
77 grouping1 = 0; in propertiesToPatternString()
81 grouping1 = 0; in propertiesToPatternString()
85 grouping1 = 0; in propertiesToPatternString()
88 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
DPatternStringParser.java445 short grouping1 = (short) (result.groupingSizes & 0xffff); in consumeIntegerFormat() local
448 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat()
563 short grouping1 = (short) (positive.groupingSizes & 0xffff); in patternInfoToProperties() local
567 properties.setGroupingSize(grouping1); in patternInfoToProperties()
/external/icu/icu4c/source/i18n/
Dnumber_grouping.cpp59 auto grouping1 = static_cast<int16_t>(properties.groupingSize); in forProperties() local
62 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in forProperties()
63 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in forProperties()
64 return {grouping1, grouping2, minGrouping, UNUM_GROUPING_COUNT}; in forProperties()
71 auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData() local
75 grouping1 = fGrouping1 == -4 ? (short) 3 : (short) -1; in setLocaleData()
78 grouping2 = grouping1; in setLocaleData()
87 fGrouping1 = grouping1; in setLocaleData()
Dnumber_patternstring.cpp367 auto grouping1 = static_cast<int16_t> (result.groupingSizes & 0xffff); in consumeIntegerFormat()
370 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat()
495 auto grouping1 = static_cast<int16_t> (positive.groupingSizes & 0xffff); in patternInfoToProperties() local
499 properties.groupingSize = grouping1; in patternInfoToProperties()
684 int grouping1, grouping2, grouping; in propertiesToPatternString() local
688 grouping1 = groupingSize; in propertiesToPatternString()
692 grouping1 = 0; in propertiesToPatternString()
696 grouping1 = 0; in propertiesToPatternString()
700 grouping1 = 0; in propertiesToPatternString()
703 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
Dnumparse_decimal.h48 int16_t grouping1; variable
Dnumparse_decimal.cpp86 grouping1 = grouper.getPrimary(); in DecimalMatcher()
415 return count == grouping1; in validateGroup()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java33 private final int grouping1; field in DecimalMatcher
100 grouping1 = grouper.getPrimary(); in DecimalMatcher()
434 return count == grouping1; in validateGroup()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java35 private final int grouping1; field in DecimalMatcher
102 grouping1 = grouper.getPrimary(); in DecimalMatcher()
436 return count == grouping1; in validateGroup()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1277 …Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() argument
1278 : fGrouping1(grouping1), in Grouper()