Home
last modified time | relevance | path

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

/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.java86 int grouping1 = Math.max(0, Math.min(properties.getGroupingSize(), dosMax)); in propertiesToPatternString() local
109 grouping1 = 0; in propertiesToPatternString()
111 } else if (grouping1 == grouping2) { in propertiesToPatternString()
112 grouping1 = 0; in propertiesToPatternString()
114 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
167 if (magnitude > 0 && magnitude == grouping1) { in propertiesToPatternString()
171 … if (magnitude > grouping1 && grouping2 > 0 && (magnitude - grouping1) % grouping2 == 0) { 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/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.java81 int grouping1 = Math.max(0, Math.min(properties.getGroupingSize(), dosMax)); in propertiesToPatternString() local
104 grouping1 = 0; in propertiesToPatternString()
106 } else if (grouping1 == grouping2) { in propertiesToPatternString()
107 grouping1 = 0; in propertiesToPatternString()
109 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
162 if (magnitude > 0 && magnitude == grouping1) { in propertiesToPatternString()
166 … if (magnitude > grouping1 && grouping2 > 0 && (magnitude - grouping1) % grouping2 == 0) { 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/icu4c/source/i18n/
Dnumber_grouping.cpp58 auto grouping1 = static_cast<int16_t>(properties.groupingSize); in forProperties() local
61 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in forProperties()
62 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in forProperties()
63 return {grouping1, grouping2, minGrouping, UNUM_GROUPING_COUNT}; in forProperties()
77 auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData() local
81 grouping1 = fGrouping1 == -4 ? (short) 3 : (short) -1; in setLocaleData()
84 grouping2 = grouping1; in setLocaleData()
86 fGrouping1 = grouping1; in setLocaleData()
Dnumber_patternstring.cpp368 auto grouping1 = static_cast<int16_t> (result.groupingSizes & 0xffff); in consumeIntegerFormat()
371 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat()
496 auto grouping1 = static_cast<int16_t> (positive.groupingSizes & 0xffff); in patternInfoToProperties() local
500 properties.groupingSize = grouping1; in patternInfoToProperties()
673 int32_t grouping1 = uprv_max(0, uprv_min(properties.groupingSize, dosMax)); in propertiesToPatternString() local
697 grouping1 = 0; in propertiesToPatternString()
699 } else if (grouping1 == grouping2) { in propertiesToPatternString()
700 grouping1 = 0; in propertiesToPatternString()
702 int32_t groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
759 if (magnitude > 0 && magnitude == grouping1) { in propertiesToPatternString()
[all …]
Dnumparse_decimal.h48 int16_t grouping1; variable
Dnumparse_decimal.cpp87 grouping1 = grouper.getPrimary(); in DecimalMatcher()
416 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/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/libicu/cts_headers/
Dnumparse_decimal.h48 int16_t grouping1; variable
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h1307 …Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() argument
1308 : fGrouping1(grouping1), in Grouper()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1307 …Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() argument
1308 : fGrouping1(grouping1), in Grouper()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...