/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | Grouper.java | 57 short grouping2 = (short) properties.getSecondaryGroupingSize(); 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 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() 76 return new Grouper(grouping1, grouping2, minGrouping); in getInstance() [all …]
|
D | PatternStringUtils.java | 68 int grouping1, grouping2, grouping; in propertiesToPatternString() local 74 grouping2 = firstGroupingSize; in propertiesToPatternString() 78 grouping2 = groupingSize; in propertiesToPatternString() 82 grouping2 = firstGroupingSize; in propertiesToPatternString() 86 grouping2 = 0; in propertiesToPatternString() 88 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() 133 if (magnitude > grouping2 && grouping > 0 && (magnitude - grouping2) % grouping == 0) { in propertiesToPatternString() 135 } else if (magnitude > 0 && magnitude == grouping2) { in propertiesToPatternString()
|
D | PatternStringParser.java | 446 short grouping2 = (short) ((result.groupingSizes >>> 16) & 0xffff); in consumeIntegerFormat() local 448 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 451 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 564 short grouping2 = (short) ((positive.groupingSizes >>> 16) & 0xffff); in patternInfoToProperties() local 566 if (grouping2 != -1) { in patternInfoToProperties() 574 properties.setSecondaryGroupingSize(grouping2); in patternInfoToProperties()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | Grouper.java | 55 short grouping2 = (short) properties.getSecondaryGroupingSize(); 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 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() 74 return new Grouper(grouping1, grouping2, minGrouping); in getInstance() [all …]
|
D | PatternStringUtils.java | 66 int grouping1, grouping2, grouping; in propertiesToPatternString() local 72 grouping2 = firstGroupingSize; in propertiesToPatternString() 76 grouping2 = groupingSize; in propertiesToPatternString() 80 grouping2 = firstGroupingSize; in propertiesToPatternString() 84 grouping2 = 0; in propertiesToPatternString() 86 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() 131 if (magnitude > grouping2 && grouping > 0 && (magnitude - grouping2) % grouping == 0) { in propertiesToPatternString() 133 } else if (magnitude > 0 && magnitude == grouping2) { in propertiesToPatternString()
|
D | PatternStringParser.java | 440 short grouping2 = (short) ((result.groupingSizes >>> 16) & 0xffff); in consumeIntegerFormat() local 442 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 445 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 558 short grouping2 = (short) ((positive.groupingSizes >>> 16) & 0xffff); in patternInfoToProperties() local 560 if (grouping2 != -1) { in patternInfoToProperties() 568 properties.setSecondaryGroupingSize(grouping2); in patternInfoToProperties()
|
/external/icu/icu4c/source/i18n/ |
D | number_grouping.cpp | 60 auto grouping2 = static_cast<int16_t>(properties.secondaryGroupingSize); 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() 72 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData() local 74 if (grouping2 == -1) { in setLocaleData() 78 grouping2 = grouping1; in setLocaleData() 88 fGrouping2 = grouping2; in setLocaleData()
|
D | number_patternstring.cpp | 368 auto grouping2 = static_cast<int16_t> ((result.groupingSizes >> 16) & 0xffff); in consumeIntegerFormat() local 370 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 375 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 496 auto grouping2 = static_cast<int16_t> ((positive.groupingSizes >> 16) & 0xffff); in patternInfoToProperties() local 498 if (grouping2 != -1) { in patternInfoToProperties() 506 properties.secondaryGroupingSize = grouping2; in patternInfoToProperties() 684 int grouping1, grouping2, grouping; in propertiesToPatternString() local 689 grouping2 = firstGroupingSize; in propertiesToPatternString() 693 grouping2 = groupingSize; in propertiesToPatternString() 697 grouping2 = firstGroupingSize; in propertiesToPatternString() [all …]
|
D | numparse_decimal.cpp | 87 grouping2 = grouper.getSecondary(); in DecimalMatcher() 410 return count != 0 && count <= grouping2; in validateGroup() 417 return count == grouping2; in validateGroup()
|
D | numparse_decimal.h | 49 int16_t grouping2; variable
|
D | decimfmt.cpp | 856 int grouping2 = fields->properties->secondaryGroupingSize; in getSecondaryGroupingSize() local 857 if (grouping2 < 0) { in getSecondaryGroupingSize() 860 return grouping2; in getSecondaryGroupingSize()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | DecimalMatcher.java | 36 private final int grouping2; field in DecimalMatcher 103 grouping2 = grouper.getSecondary(); in DecimalMatcher() 431 return count != 0 && count <= grouping2; in validateGroup() 438 return count == grouping2; in validateGroup()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | DecimalMatcher.java | 34 private final int grouping2; field in DecimalMatcher 101 grouping2 = grouper.getSecondary(); in DecimalMatcher() 429 return count != 0 && count <= grouping2; in validateGroup() 436 return count == grouping2; in validateGroup()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 103 public Integer grouping2 = null; field in DataDrivenNumberFormatTestData 343 grouping2 = Integer.valueOf(value); in setGrouping2() 453 grouping2 = null; in clearGrouping2()
|
D | NumberFormatDataDrivenTest.java | 239 if (tuple.grouping2 != null) { 240 fmt.setSecondaryGroupingSize(tuple.grouping2); 600 if (tuple.grouping2 != null) { 707 if (tuple.grouping2 != null) { in propertiesFromTuple() 708 properties.setSecondaryGroupingSize(tuple.grouping2); in propertiesFromTuple()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 100 public Integer grouping2 = null; field in DataDrivenNumberFormatTestData 340 grouping2 = Integer.valueOf(value); in setGrouping2() 450 grouping2 = null; in clearGrouping2()
|
D | NumberFormatDataDrivenTest.java | 236 if (tuple.grouping2 != null) { 237 fmt.setSecondaryGroupingSize(tuple.grouping2); 597 if (tuple.grouping2 != null) { 704 if (tuple.grouping2 != null) { in propertiesFromTuple() 705 properties.setSecondaryGroupingSize(tuple.grouping2); in propertiesFromTuple()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 110 int32_t grouping2; variable
|
D | numberformattesttuple.cpp | 314 FIELD_INIT(grouping2, &gIntOps),
|
D | numfmtdatadriventest.cpp | 126 fmt.setSecondaryGroupingSize(tuple.grouping2); in adjustDecimalFormat()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 1792 int grouping2 = properties.getSecondaryGroupingSize(); in getSecondaryGroupingSize() local 1793 if (grouping2 < 0) { in getSecondaryGroupingSize() 1796 return grouping2; in getSecondaryGroupingSize()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 1929 int grouping2 = properties.getSecondaryGroupingSize(); in getSecondaryGroupingSize() local 1930 if (grouping2 < 0) { in getSecondaryGroupingSize() 1933 return grouping2; in getSecondaryGroupingSize()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 1277 …Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() argument 1279 fGrouping2(grouping2), in Grouper()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 483 output grouping grouping2 breaks 493 output grouping grouping2 minGroupingDigits breaks
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberformattestspecification.txt | 483 output grouping grouping2 breaks 493 output grouping grouping2 minGroupingDigits breaks
|