/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Grouper.java | 27 private final byte grouping1; // -2 means "needs locale data"; -1 means "no grouping" field in Grouper 31 private Grouper(byte grouping1, byte grouping2, boolean min2) { in Grouper() argument 32 this.grouping1 = grouping1; in Grouper() 73 static Grouper getInstance(byte grouping1, byte grouping2, boolean min2) { in getInstance() argument 74 if (grouping1 == -1) { in getInstance() 76 } else if (!min2 && grouping1 == 3 && grouping2 == 3) { in getInstance() 78 } else if (!min2 && grouping1 == 3 && grouping2 == 2) { in getInstance() 80 } else if (min2 && grouping1 == 3 && grouping2 == 3) { in getInstance() 82 } else if (min2 && grouping1 == 3 && grouping2 == 2) { in getInstance() 85 return new Grouper(grouping1, grouping2, min2); in getInstance() [all …]
|
D | NumberPropertyMapper.java | 188 int grouping1 = properties.getGroupingSize(); in oldToNew() 191 assert grouping1 >= -2; // value of -2 means to forward no grouping information in oldToNew() 192 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in oldToNew() 193 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in oldToNew() 195 macros.grouper = Grouper.getInstance((byte) grouping1, (byte) grouping2, minGrouping == 2); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Grouper.java | 25 private final byte grouping1; // -2 means "needs locale data"; -1 means "no grouping" field in Grouper 29 private Grouper(byte grouping1, byte grouping2, boolean min2) { in Grouper() argument 30 this.grouping1 = grouping1; in Grouper() 71 static Grouper getInstance(byte grouping1, byte grouping2, boolean min2) { in getInstance() argument 72 if (grouping1 == -1) { in getInstance() 74 } else if (!min2 && grouping1 == 3 && grouping2 == 3) { in getInstance() 76 } else if (!min2 && grouping1 == 3 && grouping2 == 2) { in getInstance() 78 } else if (min2 && grouping1 == 3 && grouping2 == 3) { in getInstance() 80 } else if (min2 && grouping1 == 3 && grouping2 == 2) { in getInstance() 83 return new Grouper(grouping1, grouping2, min2); in getInstance() [all …]
|
D | NumberPropertyMapper.java | 187 int grouping1 = properties.getGroupingSize(); in oldToNew() 190 assert grouping1 >= -2; // value of -2 means to forward no grouping information in oldToNew() 191 grouping1 = grouping1 > 0 ? grouping1 : grouping2 > 0 ? grouping2 : grouping1; in oldToNew() 192 grouping2 = grouping2 > 0 ? grouping2 : grouping1; in oldToNew() 194 macros.grouper = Grouper.getInstance((byte) grouping1, (byte) grouping2, minGrouping == 2); in oldToNew()
|
/external/icu/icu4c/source/i18n/ |
D | number_grouping.cpp | 31 auto grouping1 = static_cast<int8_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData() local 35 grouping1 = -1; in setLocaleData() 38 grouping2 = grouping1; in setLocaleData() 40 fGrouping1 = grouping1; in setLocaleData()
|
D | number_patternstring.cpp | 343 auto grouping1 = static_cast<int16_t> (result.groupingSizes & 0xffff); in consumeIntegerFormat() 346 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 471 auto grouping1 = static_cast<int16_t> (positive.groupingSizes & 0xffff); in patternInfoToProperties() local 475 properties.groupingSize = grouping1; in patternInfoToProperties() 659 int grouping1, grouping2, grouping; in propertiesToPatternString() local 663 grouping1 = groupingSize; in propertiesToPatternString() 667 grouping1 = 0; in propertiesToPatternString() 671 grouping1 = 0; in propertiesToPatternString() 675 grouping1 = 0; in propertiesToPatternString() 678 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | PatternStringUtils.java | 63 int grouping1, grouping2, grouping; in propertiesToPatternString() local 67 grouping1 = groupingSize; in propertiesToPatternString() 71 grouping1 = 0; in propertiesToPatternString() 75 grouping1 = 0; in propertiesToPatternString() 79 grouping1 = 0; in propertiesToPatternString() 82 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
|
D | PatternStringParser.java | 426 short grouping1 = (short) (result.groupingSizes & 0xffff); in consumeIntegerFormat() local 429 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 539 short grouping1 = (short) (positive.groupingSizes & 0xffff); in patternInfoToProperties() local 543 properties.setGroupingSize(grouping1); in patternInfoToProperties()
|
D | Parse.java | 1303 int grouping1 = properties.getGroupingSize(); 1305 grouping1 = grouping1 > 0 ? grouping1 : grouping2; 1306 grouping2 = grouping2 > 0 ? grouping2 : grouping1; 1320 if (grouping1 <= 0) { 1324 } else if ((groupingWidths & 0xf) != grouping1) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | PatternStringUtils.java | 65 int grouping1, grouping2, grouping; in propertiesToPatternString() local 69 grouping1 = groupingSize; in propertiesToPatternString() 73 grouping1 = 0; in propertiesToPatternString() 77 grouping1 = 0; in propertiesToPatternString() 81 grouping1 = 0; in propertiesToPatternString() 84 int groupingLength = grouping1 + grouping2 + 1; in propertiesToPatternString()
|
D | PatternStringParser.java | 428 short grouping1 = (short) (result.groupingSizes & 0xffff); in consumeIntegerFormat() local 431 if (grouping1 == 0 && grouping2 != -1) { in consumeIntegerFormat() 541 short grouping1 = (short) (positive.groupingSizes & 0xffff); in patternInfoToProperties() local 545 properties.setGroupingSize(grouping1); in patternInfoToProperties()
|
D | Parse.java | 1305 int grouping1 = properties.getGroupingSize(); 1307 grouping1 = grouping1 > 0 ? grouping1 : grouping2; 1308 grouping2 = grouping2 > 0 ? grouping2 : grouping1; 1322 if (grouping1 <= 0) { 1326 } else if ((groupingWidths & 0xf) != grouping1) {
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 1030 Grouper(int8_t grouping1, int8_t grouping2, bool min2) in Grouper() argument 1031 : fGrouping1(grouping1), fGrouping2(grouping2), fMin2(min2) {} in Grouper()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 1737 int grouping1 = properties.getGroupingSize(); in getSecondaryGroupingSize() local 1739 if (grouping1 == grouping2 || grouping2 < 0) { in getSecondaryGroupingSize()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 1868 int grouping1 = properties.getGroupingSize(); in getSecondaryGroupingSize() local 1870 if (grouping1 == grouping2 || grouping2 < 0) { in getSecondaryGroupingSize()
|