/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 | 87 int grouping2 = Math.max(0, Math.min(properties.getSecondaryGroupingSize(), dosMax)); in propertiesToPatternString() local 111 grouping2 = 0; in propertiesToPatternString() 112 } else if (grouping1 == grouping2) { in propertiesToPatternString() 115 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() 176 … if (magnitude > grouping1 && grouping2 > 0 && (magnitude - grouping1) % grouping2 == 0) { in propertiesToPatternString()
|
D | PatternStringParser.java | 495 short grouping2 = (short) ((result.groupingSizes >>> 16) & 0xffff); in consumeIntegerFormat() local 497 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 500 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 613 short grouping2 = (short) ((positive.groupingSizes >>> 16) & 0xffff); in patternInfoToProperties() local 615 if (grouping2 != -1) { in patternInfoToProperties() 623 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 | 82 int grouping2 = Math.max(0, Math.min(properties.getSecondaryGroupingSize(), dosMax)); in propertiesToPatternString() local 106 grouping2 = 0; in propertiesToPatternString() 107 } else if (grouping1 == grouping2) { in propertiesToPatternString() 110 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() 171 … if (magnitude > grouping1 && grouping2 > 0 && (magnitude - grouping1) % grouping2 == 0) { in propertiesToPatternString()
|
D | PatternStringParser.java | 489 short grouping2 = (short) ((result.groupingSizes >>> 16) & 0xffff); in consumeIntegerFormat() local 491 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 494 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 607 short grouping2 = (short) ((positive.groupingSizes >>> 16) & 0xffff); in patternInfoToProperties() local 609 if (grouping2 != -1) { in patternInfoToProperties() 617 properties.setSecondaryGroupingSize(grouping2); in patternInfoToProperties()
|
/external/cronet/third_party/icu/source/i18n/ |
D | number_grouping.cpp | 59 auto grouping2 = static_cast<int16_t>(properties.secondaryGroupingSize); 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() 78 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData() local 80 if (grouping2 == -1) { in setLocaleData() 84 grouping2 = grouping1; in setLocaleData() 87 fGrouping2 = grouping2; in setLocaleData()
|
D | number_patternstring.cpp | 414 auto grouping2 = static_cast<int16_t> ((result.groupingSizes >> 16) & 0xffff); in consumeIntegerFormat() local 416 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 421 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 542 auto grouping2 = static_cast<int16_t> ((positive.groupingSizes >> 16) & 0xffff); in patternInfoToProperties() local 544 if (grouping2 != -1) { in patternInfoToProperties() 552 properties.secondaryGroupingSize = grouping2; in patternInfoToProperties() 722 int32_t grouping2 = uprv_max(0, uprv_min(properties.secondaryGroupingSize, dosMax)); in propertiesToPatternString() local 746 grouping2 = 0; in propertiesToPatternString() 747 } else if (grouping1 == grouping2) { in propertiesToPatternString() 750 int32_t groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() [all …]
|
D | numparse_decimal.cpp | 88 grouping2 = grouper.getSecondary(); in DecimalMatcher() 411 return count != 0 && count <= grouping2; in validateGroup() 418 return count == grouping2; in validateGroup()
|
D | numparse_decimal.h | 49 int16_t grouping2; variable
|
D | decimfmt.cpp | 1192 int32_t grouping2; in getSecondaryGroupingSize() local 1196 grouping2 = DecimalFormatProperties::getDefault().secondaryGroupingSize; in getSecondaryGroupingSize() 1198 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize() 1200 if (grouping2 < 0) { in getSecondaryGroupingSize() 1203 return grouping2; in getSecondaryGroupingSize()
|
/external/icu/icu4c/source/i18n/ |
D | number_grouping.cpp | 59 auto grouping2 = static_cast<int16_t>(properties.secondaryGroupingSize); 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() 78 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData() local 80 if (grouping2 == -1) { in setLocaleData() 84 grouping2 = grouping1; in setLocaleData() 87 fGrouping2 = grouping2; in setLocaleData()
|
D | number_patternstring.cpp | 414 auto grouping2 = static_cast<int16_t> ((result.groupingSizes >> 16) & 0xffff); in consumeIntegerFormat() local 416 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 421 if (grouping2 == 0 && grouping3 != -1) { in consumeIntegerFormat() 542 auto grouping2 = static_cast<int16_t> ((positive.groupingSizes >> 16) & 0xffff); in patternInfoToProperties() local 544 if (grouping2 != -1) { in patternInfoToProperties() 552 properties.secondaryGroupingSize = grouping2; in patternInfoToProperties() 722 int32_t grouping2 = uprv_max(0, uprv_min(properties.secondaryGroupingSize, dosMax)); in propertiesToPatternString() local 746 grouping2 = 0; in propertiesToPatternString() 747 } else if (grouping1 == grouping2) { in propertiesToPatternString() 750 int32_t groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString() [all …]
|
D | numparse_decimal.cpp | 88 grouping2 = grouper.getSecondary(); in DecimalMatcher() 411 return count != 0 && count <= grouping2; in validateGroup() 418 return count == grouping2; in validateGroup()
|
D | numparse_decimal.h | 49 int16_t grouping2; variable
|
D | decimfmt.cpp | 1192 int32_t grouping2; in getSecondaryGroupingSize() local 1196 grouping2 = DecimalFormatProperties::getDefault().secondaryGroupingSize; in getSecondaryGroupingSize() 1198 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize() 1200 if (grouping2 < 0) { in getSecondaryGroupingSize() 1203 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/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); 409 if (tuple.grouping2 != null) { 516 if (tuple.grouping2 != null) { in propertiesFromTuple() 517 properties.setSecondaryGroupingSize(tuple.grouping2); in propertiesFromTuple()
|
/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); 412 if (tuple.grouping2 != null) { 519 if (tuple.grouping2 != null) { in propertiesFromTuple() 520 properties.setSecondaryGroupingSize(tuple.grouping2); in propertiesFromTuple()
|
/external/icu/libicu/cts_headers/ |
D | numparse_decimal.h | 49 int16_t grouping2; variable
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | numberformattesttuple.h | 110 int32_t grouping2; variable
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 110 int32_t grouping2; variable
|