/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CharacterIteratorWrapper.java | 50 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength() 111 int length =iterator.getEndIndex() - iterator.getBeginIndex(); in getText() 143 int length = iterator.getEndIndex() - iterator.getBeginIndex(); in moveIndex()
|
D | CharacterIteration.java | 86 if (ci.getIndex() <= ci.getBeginIndex()) { in previous32() 91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CharacterIteratorWrapper.java | 52 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength() 113 int length =iterator.getEndIndex() - iterator.getBeginIndex(); in getText() 145 int length = iterator.getEndIndex() - iterator.getBeginIndex(); in moveIndex()
|
D | CharacterIteration.java | 90 if (ci.getIndex() <= ci.getBeginIndex()) { in previous32() 95 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32()
|
/external/icu/icu4c/source/i18n/ |
D | scientificnumberformatter.cpp | 146 fp.getBeginIndex() - copyFromOffset); in format() 152 int32_t beginIndex = fp.getBeginIndex(); in format() 178 fp.getBeginIndex() - copyFromOffset); in format() 181 fp.getBeginIndex(), in format() 220 fp.getBeginIndex() - copyFromOffset); in format()
|
D | fphdlimp.cpp | 58 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast() 59 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
|
D | measfmt.cpp | 777 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 778 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit() 1049 intFieldPosition.getBeginIndex() == 0 && in formatNumeric() 1065 if (smallestFieldPosition.getBeginIndex() != 0 || in formatNumeric() 1067 appendRange(draft, 0, smallestFieldPosition.getBeginIndex(), appendTo); in formatNumeric() 1071 intFieldPosition.getBeginIndex(), in formatNumeric() 1075 smallestFieldPosition.getBeginIndex(), in formatNumeric() 1220 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1240 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
|
D | quantityformatter.cpp | 189 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format() 191 pos.setBeginIndex(pos.getBeginIndex() + offset); in format()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | QuantityFormatter.java | 118 pos.setBeginIndex(fpos.getBeginIndex()); in selectPlural() 130 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format() 132 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]); in format()
|
D | SearchIterator.java | 146 return targetText.getBeginIndex(); in beginIndex() 248 text.setIndex(text.getBeginIndex()); in setTarget() 611 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
|
D | RuleBasedBreakIterator.java | 616 if (fText == null || startPos == fText.getBeginIndex()) { in previous() 643 lastResult = fText.getBeginIndex(); in previous() 722 else if (offset < fText.getBeginIndex()) { in rulesFollowing() 782 if (offset == fText.getBeginIndex()) { in rulesFollowing() 836 else if (offset < fText.getBeginIndex()) { in rulesPreceding() 894 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset() 912 if (offset == fText.getBeginIndex()) { in isBoundary() 949 if (curr == BreakIterator.DONE || curr == fText.getBeginIndex()) { in makeRuleStatusValid()
|
D | MeasureFormat.java | 316 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 317 pos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format() 497 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 498 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit() 1176 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1188 … fieldPosition.setBeginIndex(fpos.getBeginIndex() + builder.getOffset() + appendTo.length()); in formatMeasuresSlowTrack() 1311 if (intFieldPosition.getBeginIndex() == 0 && intFieldPosition.getEndIndex() == 0) { in formatNumeric() 1321 if (smallestFieldPosition.getBeginIndex() != 0 in formatNumeric() 1324 appendTo.append(draft, 0, smallestFieldPosition.getBeginIndex()); in formatNumeric() 1327 appendTo.append(smallestAmountFormatted, 0, intFieldPosition.getBeginIndex()); in formatNumeric() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 117 pos.setBeginIndex(fpos.getBeginIndex()); in selectPlural() 129 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format() 131 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]); in format()
|
D | RuleBasedBreakIterator.java | 627 if (fText == null || startPos == fText.getBeginIndex()) { in previous() 654 lastResult = fText.getBeginIndex(); in previous() 734 else if (offset < fText.getBeginIndex()) { in rulesFollowing() 794 if (offset == fText.getBeginIndex()) { in rulesFollowing() 849 else if (offset < fText.getBeginIndex()) { in rulesPreceding() 908 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset() 927 if (offset == fText.getBeginIndex()) { in isBoundary() 965 if (curr == BreakIterator.DONE || curr == fText.getBeginIndex()) { in makeRuleStatusValid()
|
D | MeasureFormat.java | 332 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 333 pos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format() 515 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 516 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit() 1204 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1216 … fieldPosition.setBeginIndex(fpos.getBeginIndex() + builder.getOffset() + appendTo.length()); in formatMeasuresSlowTrack() 1339 if (intFieldPosition.getBeginIndex() == 0 && intFieldPosition.getEndIndex() == 0) { in formatNumeric() 1349 if (smallestFieldPosition.getBeginIndex() != 0 in formatNumeric() 1352 appendTo.append(draft, 0, smallestFieldPosition.getBeginIndex()); in formatNumeric() 1355 appendTo.append(smallestAmountFormatted, 0, intFieldPosition.getBeginIndex()); in formatNumeric() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | NumberFormat.java | 247 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 326 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 341 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 355 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 369 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 383 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 1311 jdkPos.setBeginIndex(icuPos.getBeginIndex()); in toJDKFieldPosition()
|
D | MessageFormat.java | 907 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 1026 pos.setBeginIndex(jdkPos.getBeginIndex()); in format() 1426 jdkPos.setBeginIndex(icuPos.getBeginIndex()); 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/classes/collate/src/com/ibm/icu/text/ |
D | SearchIterator.java | 149 return targetText.getBeginIndex(); in beginIndex() 256 text.setIndex(text.getBeginIndex()); in setTarget() 635 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 440 if(ci.getBeginIndex()!=wrap_ci.getBeginIndex()){ in TestUCharacterIteratorWrapper() 441 …atorWrapper.getBeginIndex() failed expected: " + ci.getBeginIndex() + " got: " +wrap_ci.getBeginIn… in TestUCharacterIteratorWrapper()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 439 if(ci.getBeginIndex()!=wrap_ci.getBeginIndex()){ in TestUCharacterIteratorWrapper() 440 …atorWrapper.getBeginIndex() failed expected: " + ci.getBeginIndex() + " got: " +wrap_ci.getBeginIn… in TestUCharacterIteratorWrapper()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 43 if(clone.getBeginIndex()!= norm.getBeginIndex()){ in TestNormalizerAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 44 if(clone.getBeginIndex()!= norm.getBeginIndex()){ in TestNormalizerAPI()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | NumberFormatTest.java | 40 assertEquals(0, fp.getBeginIndex()); in testFormatObjectStringBufferFieldPosition() 83 assertEquals(8, fp.getBeginIndex()); in testFormatDoubleStringBufferFieldPosition() 94 assertEquals(3, fp.getBeginIndex()); in testFormatLongStringBufferFieldPosition()
|