/external/icu/icu4c/source/test/intltest/ |
D | formattedvaluetest.cpp | 172 const UFieldPosition* expectedFieldPositions, in checkFormattedValue() argument 177 converted[i].field = expectedFieldPositions[i].field; in checkFormattedValue() 178 converted[i].beginIndex = expectedFieldPositions[i].beginIndex; in checkFormattedValue() 179 converted[i].endIndex = expectedFieldPositions[i].endIndex; in checkFormattedValue() 204 const UFieldPositionWithCategory* expectedFieldPositions, in checkMixedFormattedValue() argument 225 int32_t expectedCategory = expectedFieldPositions[i].category; in checkMixedFormattedValue() 226 int32_t expectedField = expectedFieldPositions[i].field; in checkMixedFormattedValue() 227 int32_t expectedStart = expectedFieldPositions[i].beginIndex; in checkMixedFormattedValue() 228 int32_t expectedLimit = expectedFieldPositions[i].endIndex; in checkMixedFormattedValue() 251 if (expectedFieldPositions[i].category != category) { in checkMixedFormattedValue() [all …]
|
D | numbertest_api.cpp | 1161 static const UFieldPosition expectedFieldPositions[] = { in unitUsage() local 1167 expectedFieldPositions, in unitUsage() 1168 UPRV_LENGTHOF(expectedFieldPositions)); in unitUsage() 1197 static const UFieldPosition expectedFieldPositions[] = { in unitUsage() local 1203 expectedFieldPositions, in unitUsage() 1204 UPRV_LENGTHOF(expectedFieldPositions)); in unitUsage() 1233 static const UFieldPosition expectedFieldPositions[] = { in unitUsage() local 1240 expectedFieldPositions, in unitUsage() 1241 UPRV_LENGTHOF(expectedFieldPositions)); in unitUsage() 1271 static const UFieldPosition expectedFieldPositions[] = { in unitUsage() local [all …]
|
D | reldatefmttest.cpp | 1364 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local 1370 expectedFieldPositions, in TestFields() 1371 UPRV_LENGTHOF(expectedFieldPositions)); in TestFields() 1377 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local 1386 expectedFieldPositions, in TestFields() 1387 UPRV_LENGTHOF(expectedFieldPositions)); in TestFields() 1393 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local 1399 expectedFieldPositions, in TestFields() 1400 UPRV_LENGTHOF(expectedFieldPositions)); in TestFields() 1406 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local [all …]
|
D | itformat.h | 47 const UFieldPosition* expectedFieldPositions, 55 const UFieldPositionWithCategory* expectedFieldPositions,
|
D | listformattertest.cpp | 511 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormattedValue() local 525 expectedFieldPositions, in TestFormattedValue() 526 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormattedValue() 540 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormattedValue() local 552 expectedFieldPositions, in TestFormattedValue() 553 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormattedValue() 573 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormattedValue() local 606 expectedFieldPositions, in TestFormattedValue() 607 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormattedValue()
|
D | dtifmtts.cpp | 1862 static const UFieldPositionWithCategory expectedFieldPositions[] = { in testFormattedDateInterval() local 1874 expectedFieldPositions, in testFormattedDateInterval() 1875 UPRV_LENGTHOF(expectedFieldPositions)); in testFormattedDateInterval() 1884 static const UFieldPositionWithCategory expectedFieldPositions[] = { in testFormattedDateInterval() local 1893 expectedFieldPositions, in testFormattedDateInterval() 1894 UPRV_LENGTHOF(expectedFieldPositions)); in testFormattedDateInterval() 1938 static const UFieldPositionWithCategory expectedFieldPositions[] = { in testFormattedDateInterval() local 1952 expectedFieldPositions, in testFormattedDateInterval() 1953 UPRV_LENGTHOF(expectedFieldPositions)); in testFormattedDateInterval()
|
D | numbertest_range.cpp | 743 static const UFieldPosition expectedFieldPositions[] = { in testFieldPositions() local 755 expectedFieldPositions, in testFieldPositions() 756 UPRV_LENGTHOF(expectedFieldPositions)); in testFieldPositions() 768 static const UFieldPosition expectedFieldPositions[] = { in testFieldPositions() local 781 expectedFieldPositions, in testFieldPositions() 782 UPRV_LENGTHOF(expectedFieldPositions)); in testFieldPositions()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 374 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormatToResult() local 392 expectedFieldPositions, in TestFormatToResult() 393 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormatToResult() 400 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormatToResult() local 416 expectedFieldPositions, in TestFormatToResult() 417 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormatToResult() 444 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormatCalendarToResult() local 462 expectedFieldPositions, in TestFormatCalendarToResult() 463 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormatCalendarToResult() 470 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFormatCalendarToResult() local [all …]
|
D | uformattedvaluetst.c | 214 const UFieldPosition* expectedFieldPositions, in checkFormattedValue() argument 228 expectedFieldPositions[i].field, ucfpos_getField(ucfpos, &ec)); in checkFormattedValue() 232 expectedFieldPositions[i].beginIndex, start); in checkFormattedValue() 234 expectedFieldPositions[i].endIndex, limit); in checkFormattedValue() 246 const UFieldPositionWithCategory* expectedFieldPositions, in checkMixedFormattedValue() argument 258 expectedFieldPositions[i].category, ucfpos_getCategory(ucfpos, &ec)); in checkMixedFormattedValue() 260 expectedFieldPositions[i].field, ucfpos_getField(ucfpos, &ec)); in checkMixedFormattedValue() 264 expectedFieldPositions[i].beginIndex, start); in checkMixedFormattedValue() 266 expectedFieldPositions[i].endIndex, limit); in checkMixedFormattedValue()
|
D | ulistfmttest.c | 150 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestUListFmtToValue() local 164 expectedFieldPositions, in TestUListFmtToValue() 165 UPRV_LENGTHOF(expectedFieldPositions)); in TestUListFmtToValue() 181 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestUListFmtToValue() local 207 expectedFieldPositions, in TestUListFmtToValue() 208 UPRV_LENGTHOF(expectedFieldPositions)); in TestUListFmtToValue() 231 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestUListOpenStyled() local 245 expectedFieldPositions, in TestUListOpenStyled() 246 UPRV_LENGTHOF(expectedFieldPositions)); in TestUListOpenStyled()
|
D | cformtst.h | 48 const UFieldPosition* expectedFieldPositions, 55 const UFieldPositionWithCategory* expectedFieldPositions,
|
D | unumberrangeformattertst.c | 99 static const UFieldPosition expectedFieldPositions[] = { in TestFormattedValue() local 110 expectedFieldPositions, in TestFormattedValue() 111 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormattedValue()
|
D | crelativedateformattest.c | 663 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local 672 expectedFieldPositions, in TestFields() 673 UPRV_LENGTHOF(expectedFieldPositions)); in TestFields() 681 static const UFieldPositionWithCategory expectedFieldPositions[] = { in TestFields() local 688 expectedFieldPositions, in TestFields() 689 UPRV_LENGTHOF(expectedFieldPositions)); in TestFields()
|
D | unumberformattertst.c | 220 static const UFieldPosition expectedFieldPositions[] = { in TestFormattedValue() local 231 expectedFieldPositions, in TestFormattedValue() 232 UPRV_LENGTHOF(expectedFieldPositions)); in TestFormattedValue()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1135 final Object[][] expectedFieldPositions = { in unitUsage() local 1143 expectedFieldPositions); in unitUsage() 1170 final Object[][] expectedFieldPositions = { in unitUsage() local 1176 expectedFieldPositions); in unitUsage() 1203 final Object[][] expectedFieldPositions = { in unitUsage() local 1210 expectedFieldPositions); in unitUsage() 1237 final Object[][] expectedFieldPositions = { in unitUsage() local 1256 expectedFieldPositions); in unitUsage() 3525 Object[][] expectedFieldPositions = new Object[][]{ in fieldPositionLogic() local 3534 assertNumberFieldPositions(message, fmtd, expectedFieldPositions); in fieldPositionLogic() [all …]
|
D | NumberRangeFormatterTest.java | 740 Object[][] expectedFieldPositions = new Object[][]{ in testFieldPositions() local 746 … FormattedValueTest.checkFormattedValue(message, fmtd, expectedString, expectedFieldPositions); in testFieldPositions() 758 Object[][] expectedFieldPositions = new Object[][]{ in testFieldPositions() local 765 … FormattedValueTest.checkFormattedValue(message, fmtd, expectedString, expectedFieldPositions); in testFieldPositions()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1132 final Object[][] expectedFieldPositions = { in unitUsage() local 1140 expectedFieldPositions); in unitUsage() 1167 final Object[][] expectedFieldPositions = { in unitUsage() local 1173 expectedFieldPositions); in unitUsage() 1200 final Object[][] expectedFieldPositions = { in unitUsage() local 1207 expectedFieldPositions); in unitUsage() 1234 final Object[][] expectedFieldPositions = { in unitUsage() local 1253 expectedFieldPositions); in unitUsage() 3522 Object[][] expectedFieldPositions = new Object[][]{ in fieldPositionLogic() local 3531 assertNumberFieldPositions(message, fmtd, expectedFieldPositions); in fieldPositionLogic() [all …]
|
D | NumberRangeFormatterTest.java | 737 Object[][] expectedFieldPositions = new Object[][]{ in testFieldPositions() local 743 … FormattedValueTest.checkFormattedValue(message, fmtd, expectedString, expectedFieldPositions); in testFieldPositions() 755 Object[][] expectedFieldPositions = new Object[][]{ in testFieldPositions() local 762 … FormattedValueTest.checkFormattedValue(message, fmtd, expectedString, expectedFieldPositions); in testFieldPositions()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedValueTest.java | 150 Object[][] expectedFieldPositions) { in checkFormattedValue() argument 155 for (int i=0; i<expectedFieldPositions.length; i++) { in checkFormattedValue() 156 uniqueFields.add((Format.Field) expectedFieldPositions[i][0]); in checkFormattedValue() 157 uniqueFieldClasses.add(expectedFieldPositions[i][0].getClass()); in checkFormattedValue() 174 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 204 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 226 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 257 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue()
|
D | ListFormatterTest.java | 230 Object[][] expectedFieldPositions = new Object[][] { in TestFormattedValue() local 244 expectedFieldPositions); in TestFormattedValue() 257 Object[][] expectedFieldPositions = { in TestFormattedValue() local 270 expectedFieldPositions); in TestFormattedValue() 290 Object[][] expectedFieldPositions = { in TestFormattedValue() local 323 expectedFieldPositions); in TestFormattedValue()
|
D | RelativeDateTimeFormatterTest.java | 1049 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1051 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1057 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1062 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1068 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1070 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1076 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1083 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1089 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1093 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | FormattedValueTest.java | 153 Object[][] expectedFieldPositions) { in checkFormattedValue() argument 158 for (int i=0; i<expectedFieldPositions.length; i++) { in checkFormattedValue() 159 uniqueFields.add((Format.Field) expectedFieldPositions[i][0]); in checkFormattedValue() 160 uniqueFieldClasses.add(expectedFieldPositions[i][0].getClass()); in checkFormattedValue() 177 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 207 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 229 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue() 260 for (Object[] cas : expectedFieldPositions) { in checkFormattedValue()
|
D | ListFormatterTest.java | 233 Object[][] expectedFieldPositions = new Object[][] { in TestFormattedValue() local 247 expectedFieldPositions); in TestFormattedValue() 260 Object[][] expectedFieldPositions = { in TestFormattedValue() local 273 expectedFieldPositions); in TestFormattedValue() 293 Object[][] expectedFieldPositions = { in TestFormattedValue() local 326 expectedFieldPositions); in TestFormattedValue()
|
D | RelativeDateTimeFormatterTest.java | 1052 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1054 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1060 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1065 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1071 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1073 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1079 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1086 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() 1092 Object[][] expectedFieldPositions = new Object[][]{ in TestFields() local 1096 … FormattedValueTest.checkFormattedValue(message, fv, expectedString, expectedFieldPositions); in TestFields() [all …]
|
D | DateIntervalFormatTest.java | 2107 Object[][] expectedFieldPositions = new Object[][] { in testFormattedDateInterval() local 2119 expectedFieldPositions); in testFormattedDateInterval() 2156 Object[][] expectedFieldPositions = new Object[][] { in testFormattedDateInterval() local 2170 expectedFieldPositions); in testFormattedDateInterval() 2185 Object[][] expectedFieldPositions = new Object[][] { in testFormattedDateInterval() local 2198 expectedFieldPositions); in testFormattedDateInterval()
|