Home
last modified time | relevance | path

Searched refs:getEndIndex (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp337 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition()
397 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
399 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
407 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
409 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
418 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
420 "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
427 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
429 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
437 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
[all …]
Dpptest.cpp207 int tempOffset = (tempLen <= (tempLen - pos.getEndIndex())) ? in TestFieldPosition_example()
208 tempLen : (tempLen - pos.getEndIndex()); in TestFieldPosition_example()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java51 int limit = fpos.getEndIndex(); in nextPosition()
72 as.addAttribute(field, value, fp.getBeginIndex(), fp.getEndIndex()); in toCharacterIterator()
96 s1b = Math.max(s1b, fp1.getEndIndex()); in addOverlapSpans()
98 s2b = Math.max(s2b, fp2.getEndIndex()); in addOverlapSpans()
127 } else if (fp1.getEndIndex() != fp2.getEndIndex()) { in sort()
129 comparison = fp1.getEndIndex() - fp2.getEndIndex(); in sort()
DCharacterIteratorWrapper.java50 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()
DCharacterIteration.java68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
120 if (ci.getIndex() >= ci.getEndIndex()) { in current32()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java53 int limit = fpos.getEndIndex(); in nextPosition()
74 as.addAttribute(field, value, fp.getBeginIndex(), fp.getEndIndex()); in toCharacterIterator()
98 s1b = Math.max(s1b, fp1.getEndIndex()); in addOverlapSpans()
100 s2b = Math.max(s2b, fp2.getEndIndex()); in addOverlapSpans()
129 } else if (fp1.getEndIndex() != fp2.getEndIndex()) { in sort()
131 comparison = fp1.getEndIndex() - fp2.getEndIndex(); in sort()
DCharacterIteratorWrapper.java52 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()
DCharacterIteration.java72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
124 if (ci.getIndex() >= ci.getEndIndex()) { in current32()
/third_party/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp146 copyFromOffset = fp.getEndIndex(); in format()
153 int32_t endIndex = fp.getEndIndex(); in format()
182 fp.getEndIndex(), in format()
187 copyFromOffset = fp.getEndIndex(); in format()
220 copyFromOffset = fp.getEndIndex(); in format()
228 fp.getEndIndex() - copyFromOffset); in format()
229 copyFromOffset = fp.getEndIndex(); in format()
/third_party/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp146 copyFromOffset = fp.getEndIndex(); in format()
153 int32_t endIndex = fp.getEndIndex(); in format()
182 fp.getEndIndex(), in format()
187 copyFromOffset = fp.getEndIndex(); in format()
220 copyFromOffset = fp.getEndIndex(); in format()
228 fp.getEndIndex() - copyFromOffset); in format()
229 copyFromOffset = fp.getEndIndex(); in format()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp146 copyFromOffset = fp.getEndIndex(); in format()
153 int32_t endIndex = fp.getEndIndex(); in format()
182 fp.getEndIndex(), in format()
187 copyFromOffset = fp.getEndIndex(); in format()
220 copyFromOffset = fp.getEndIndex(); in format()
228 fp.getEndIndex() - copyFromOffset); in format()
229 copyFromOffset = fp.getEndIndex(); in format()
Ddtitvfmt.cpp402 if (pos.getEndIndex() == 0 && otherPos.getEndIndex() > 0) { in formatImpl()
1312 if (pos0.getEndIndex() > 0) { in adjustPosition()
1314 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition()
1315 } else if (pos1.getEndIndex() > 0) { in adjustPosition()
1319 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition()
1322 if (pos1.getEndIndex() > 0) { in adjustPosition()
1324 posResult.setEndIndex(pos1.getEndIndex() + index1); in adjustPosition()
1325 } else if (pos0.getEndIndex() > 0) { in adjustPosition()
1329 posResult.setEndIndex(pos0.getEndIndex() + index0); in adjustPosition()
Dmeasfmt.cpp786 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit()
788 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit()
1058 intFieldPosition.getEndIndex() == 0) { in formatNumeric()
1078 smallestFieldPosition.getEndIndex() != 0) { in formatNumeric()
1088 smallestFieldPosition.getEndIndex(), in formatNumeric()
1092 intFieldPosition.getEndIndex(), in formatNumeric()
1096 smallestFieldPosition.getEndIndex(), in formatNumeric()
1230 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
1251 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
/third_party/node/deps/icu-small/source/i18n/
Dscientificnumberformatter.cpp146 copyFromOffset = fp.getEndIndex(); in format()
153 int32_t endIndex = fp.getEndIndex(); in format()
182 fp.getEndIndex(), in format()
187 copyFromOffset = fp.getEndIndex(); in format()
220 copyFromOffset = fp.getEndIndex(); in format()
228 fp.getEndIndex() - copyFromOffset); in format()
229 copyFromOffset = fp.getEndIndex(); in format()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/
DCSCharacterIteratorTest.java37 assertEquals("", sci.getEndIndex(), csci.getEndIndex()); in TestAPI()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCSCharacterIteratorTest.java34 assertEquals("", sci.getEndIndex(), csci.getEndIndex()); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DBreakIteratorRegTest.java79 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
103 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
121 StringBuffer buf = new StringBuffer(ci.getEndIndex() - ci.getBeginIndex() + 2); in getString()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java76 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
100 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
118 StringBuffer buf = new StringBuffer(ci.getEndIndex() - ci.getBeginIndex() + 2); in getString()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DQuantityFormatter.java111 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format()
114 pos.setEndIndex(pos.getEndIndex() + offsets[0]); in format()
DSearchIterator.java153 return targetText.getEndIndex(); in endIndex()
244 if (text == null || text.getEndIndex() == text.getIndex()) { in setTarget()
611 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java110 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format()
113 pos.setEndIndex(pos.getEndIndex() + offsets[0]); in format()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java283 if (fposByInt.getEndIndex() != fposByField.getEndIndex()) in testJB6134()
285 errln("ERROR: End index for integer field - fposByInt:" + fposByInt.getEndIndex() + in testJB6134()
286 " / fposByField: " + fposByField.getEndIndex()); in testJB6134()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java286 if (fposByInt.getEndIndex() != fposByField.getEndIndex()) in testJB6134()
288 errln("ERROR: End index for integer field - fposByInt:" + fposByInt.getEndIndex() + in testJB6134()
289 " / fposByField: " + fposByField.getEndIndex()); in testJB6134()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java156 return targetText.getEndIndex(); in endIndex()
252 if (text == null || text.getEndIndex() == text.getIndex()) { in setTarget()
635 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java50 if(clone.getEndIndex()!= norm.getEndIndex()){ in TestNormalizerAPI()

1234567