Home
last modified time | relevance | path

Searched refs:groupingSize (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java229 int groupingSize = 0; in TestAPI() local
231 groupingSize = pat.getGroupingSize(); in TestAPI()
232 logln("Grouping size (should be 2): " + (long) groupingSize); in TestAPI()
233 if(groupingSize != 2) { in TestAPI()
DIntlTestDecimalFormatAPIC.java187 int groupingSize = 0; in TestAPI() local
189 groupingSize = pat.getGroupingSize(); in TestAPI()
190 logln("Grouping size (should be 2): " + (long) groupingSize); in TestAPI()
191 if (groupingSize != 2) { in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java225 int groupingSize = 0; in TestAPI() local
227 groupingSize = pat.getGroupingSize(); in TestAPI()
228 logln("Grouping size (should be 2): " + (long) groupingSize); in TestAPI()
229 if(groupingSize != 2) { in TestAPI()
DIntlTestDecimalFormatAPIC.java183 int groupingSize = 0; in TestAPI() local
185 groupingSize = pat.getGroupingSize(); in TestAPI()
186 logln("Grouping size (should be 2): " + (long) groupingSize); in TestAPI()
187 if (groupingSize != 2) { in TestAPI()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1234 if (isGroupingUsed() && (pos > 0) && (groupingSize > 0)) { in isGroupingPosition()
1235 if ((groupingSize2 > 0) && (pos > groupingSize)) { in isGroupingPosition()
1236 result = ((pos - groupingSize) % groupingSize2) == 0; in isGroupingPosition()
1238 result = pos % groupingSize == 0; in isGroupingPosition()
2478 int gs2 = groupingSize2 == 0 ? groupingSize : groupingSize2; in subparse()
2570 … (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1)) { in subparse()
2601 … (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1)) { in subparse()
2720 … if (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1) { in subparse()
3707 return groupingSize;
3720 groupingSize = (byte) newValue;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1246 if (isGroupingUsed() && (pos > 0) && (groupingSize > 0)) { in isGroupingPosition()
1247 if ((groupingSize2 > 0) && (pos > groupingSize)) { in isGroupingPosition()
1248 result = ((pos - groupingSize) % groupingSize2) == 0; in isGroupingPosition()
1250 result = pos % groupingSize == 0; in isGroupingPosition()
2492 int gs2 = groupingSize2 == 0 ? groupingSize : groupingSize2; in subparse()
2584 … (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1)) { in subparse()
2615 … (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1)) { in subparse()
2734 … if (lastGroup != -1 && countCodePoints(text,lastGroup,position) != groupingSize + 1) { in subparse()
3752 return groupingSize;
3766 groupingSize = (byte) newValue;
[all …]
/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp283 int32_t groupingSize = 0; in testAPI() local
285 groupingSize = pat.getGroupingSize(); in testAPI()
286 logln((UnicodeString)"Grouping size (should be 2): " + (int32_t) groupingSize); in testAPI()
287 if(groupingSize != 2) { in testAPI()