/external/icu/icu4c/source/test/intltest/ |
D | compactdecimalformattest.cpp | 258 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition() 318 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants() 320 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants() 328 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants() 330 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants() 345 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants() 347 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants() 355 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants() 357 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants() 372 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants() [all …]
|
D | pptest.cpp | 207 int tempOffset = (tempLen <= (tempLen - pos.getEndIndex())) ? in TestFieldPosition_example() 208 tempLen : (tempLen - pos.getEndIndex()); in TestFieldPosition_example()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CharacterIteratorWrapper.java | 50 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength() 103 iterator.setIndex(iterator.getEndIndex()); in setToLimit() 111 int length =iterator.getEndIndex() - iterator.getBeginIndex(); in getText() 143 int length = iterator.getEndIndex() - iterator.getBeginIndex(); in moveIndex()
|
D | CharacterIteration.java | 68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32() 120 if (ci.getIndex() >= ci.getEndIndex()) { in current32()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CharacterIteratorWrapper.java | 52 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength() 105 iterator.setIndex(iterator.getEndIndex()); in setToLimit() 113 int length =iterator.getEndIndex() - iterator.getBeginIndex(); in getText() 145 int length = iterator.getEndIndex() - iterator.getBeginIndex(); in moveIndex()
|
D | CharacterIteration.java | 72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32() 124 if (ci.getIndex() >= ci.getEndIndex()) { in current32()
|
/external/icu/icu4c/source/i18n/ |
D | scientificnumberformatter.cpp | 147 copyFromOffset = fp.getEndIndex(); in format() 153 int32_t endIndex = fp.getEndIndex(); in format() 182 fp.getEndIndex(), in format() 187 copyFromOffset = fp.getEndIndex(); in format() 221 copyFromOffset = fp.getEndIndex(); in format() 229 fp.getEndIndex() - copyFromOffset); in format() 230 copyFromOffset = fp.getEndIndex(); in format()
|
D | dtitvfmt.cpp | 402 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in formatImpl() 1314 if (pos0.getEndIndex() > 0) { in adjustPosition() 1316 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition() 1317 } else if (pos1.getEndIndex() > 0) { in adjustPosition() 1321 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 1324 if (pos1.getEndIndex() > 0) { in adjustPosition() 1326 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 1327 } else if (pos0.getEndIndex() > 0) { in adjustPosition() 1331 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition()
|
D | measfmt.cpp | 777 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 779 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit() 1050 intFieldPosition.getEndIndex() == 0) { in formatNumeric() 1066 smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 1076 smallestFieldPosition.getEndIndex(), in formatNumeric() 1080 intFieldPosition.getEndIndex(), in formatNumeric() 1084 smallestFieldPosition.getEndIndex(), in formatNumeric() 1220 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1241 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | QuantityFormatter.java | 119 pos.setEndIndex(fpos.getEndIndex()); in selectPlural() 130 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format() 133 pos.setEndIndex(pos.getEndIndex() + offsets[0]); in format()
|
D | DateIntervalFormat.java | 781 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in format() 783 pos.setEndIndex(otherPos.getEndIndex()); in format() 801 if (pos0.getEndIndex() > 0) { in adjustPosition() 803 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition() 804 } else if (pos1.getEndIndex() > 0) { in adjustPosition() 808 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 811 if (pos1.getEndIndex() > 0) { in adjustPosition() 813 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 814 } else if (pos0.getEndIndex() > 0) { in adjustPosition() 818 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition()
|
D | SearchIterator.java | 153 return targetText.getEndIndex(); in endIndex() 244 if (text == null || text.getEndIndex() == text.getIndex()) { in setTarget() 611 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
|
D | MeasureFormat.java | 316 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 318 pos.setEndIndex(fpos.getEndIndex() + prevLength); in format() 497 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 499 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit() 1176 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1189 fieldPosition.setEndIndex(fpos.getEndIndex() + builder.getOffset() + appendTo.length()); in formatMeasuresSlowTrack() 1311 if (intFieldPosition.getBeginIndex() == 0 && intFieldPosition.getEndIndex() == 0) { in formatNumeric() 1322 || smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 1334 smallestFieldPosition.getEndIndex()); in formatNumeric() 1339 intFieldPosition.getEndIndex(), in formatNumeric() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 118 pos.setEndIndex(fpos.getEndIndex()); in selectPlural() 129 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format() 132 pos.setEndIndex(pos.getEndIndex() + offsets[0]); in format()
|
D | DateIntervalFormat.java | 790 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in format() 792 pos.setEndIndex(otherPos.getEndIndex()); in format() 810 if (pos0.getEndIndex() > 0) { in adjustPosition() 812 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition() 813 } else if (pos1.getEndIndex() > 0) { in adjustPosition() 817 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 820 if (pos1.getEndIndex() > 0) { in adjustPosition() 822 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition() 823 } else if (pos0.getEndIndex() > 0) { in adjustPosition() 827 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition()
|
D | MeasureFormat.java | 332 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 334 pos.setEndIndex(fpos.getEndIndex() + prevLength); in format() 515 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 517 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit() 1204 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1217 fieldPosition.setEndIndex(fpos.getEndIndex() + builder.getOffset() + appendTo.length()); in formatMeasuresSlowTrack() 1339 if (intFieldPosition.getBeginIndex() == 0 && intFieldPosition.getEndIndex() == 0) { in formatNumeric() 1350 || smallestFieldPosition.getEndIndex() != 0) { in formatNumeric() 1362 smallestFieldPosition.getEndIndex()); in formatNumeric() 1367 intFieldPosition.getEndIndex(), in formatNumeric() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | NumberFormat.java | 248 pos.setEndIndex(jdkPos.getEndIndex()); in format() 327 pos.setEndIndex(jdkPos.getEndIndex()); in format() 342 pos.setEndIndex(jdkPos.getEndIndex()); in format() 356 pos.setEndIndex(jdkPos.getEndIndex()); in format() 370 pos.setEndIndex(jdkPos.getEndIndex()); in format() 384 pos.setEndIndex(jdkPos.getEndIndex()); in format() 1312 jdkPos.setEndIndex(icuPos.getEndIndex()); in toJDKFieldPosition()
|
D | MessageFormat.java | 908 pos.setEndIndex(jdkPos.getEndIndex()); in format() 1027 pos.setEndIndex(jdkPos.getEndIndex()); in format() 1083 while (idx < it.getEndIndex()) { in formatToCharacterIterator() 1427 jdkPos.setEndIndex(icuPos.getEndIndex()); in toJDKFieldPosition()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | BreakIteratorRegTest.java | 73 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg() 97 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg() 115 StringBuffer buf = new StringBuffer(ci.getEndIndex() - ci.getBeginIndex() + 2); in getString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | BreakIteratorRegTest.java | 74 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg() 98 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg() 116 StringBuffer buf = new StringBuffer(ci.getEndIndex() - ci.getBeginIndex() + 2); in getString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 288 if (fposByInt.getEndIndex() != fposByField.getEndIndex()) in testJB6134() 290 errln("ERROR: End index for integer field - fposByInt:" + fposByInt.getEndIndex() + in testJB6134() 291 " / fposByField: " + fposByField.getEndIndex()); in testJB6134()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 289 if (fposByInt.getEndIndex() != fposByField.getEndIndex()) in testJB6134() 291 errln("ERROR: End index for integer field - fposByInt:" + fposByInt.getEndIndex() + in testJB6134() 292 " / fposByField: " + fposByField.getEndIndex()); in testJB6134()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | SearchIterator.java | 156 return targetText.getEndIndex(); in endIndex() 252 if (text == null || text.getEndIndex() == text.getIndex()) { in setTarget() 635 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 442 if(ci.getEndIndex()!=wrap_ci.getEndIndex()){ in TestUCharacterIteratorWrapper() 443 …IteratorWrapper.getEndIndex() failed expected: " + ci.getEndIndex() + " got: " +wrap_ci.getEndInde… in TestUCharacterIteratorWrapper()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 443 if(ci.getEndIndex()!=wrap_ci.getEndIndex()){ in TestUCharacterIteratorWrapper() 444 …IteratorWrapper.getEndIndex() failed expected: " + ci.getEndIndex() + " got: " +wrap_ci.getEndInde… in TestUCharacterIteratorWrapper()
|