Home
last modified time | relevance | path

Searched refs:getBeginIndex (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java52 int start = fpos.getBeginIndex(); in nextPosition()
74 as.addAttribute(field, value, fp.getBeginIndex(), fp.getEndIndex()); in toCharacterIterator()
97 s1a = Math.min(s1a, fp1.getBeginIndex()); in addOverlapSpans()
99 s2a = Math.min(s2a, fp2.getBeginIndex()); in addOverlapSpans()
126 if (fp1.getBeginIndex() != fp2.getBeginIndex()) { in sort()
128 comparison = fp2.getBeginIndex() - fp1.getBeginIndex(); in sort()
DCharacterIteratorWrapper.java52 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()
DCharacterIteration.java90 if (ci.getIndex() <= ci.getBeginIndex()) { in previous32()
95 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java50 int start = fpos.getBeginIndex(); in nextPosition()
72 as.addAttribute(field, value, fp.getBeginIndex(), fp.getEndIndex()); in toCharacterIterator()
95 s1a = Math.min(s1a, fp1.getBeginIndex()); in addOverlapSpans()
97 s2a = Math.min(s2a, fp2.getBeginIndex()); in addOverlapSpans()
124 if (fp1.getBeginIndex() != fp2.getBeginIndex()) { in sort()
126 comparison = fp2.getBeginIndex() - fp1.getBeginIndex(); in sort()
DCharacterIteratorWrapper.java50 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()
DCharacterIteration.java86 if (ci.getIndex() <= ci.getBeginIndex()) { in previous32()
91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32()
/third_party/node/deps/icu-small/source/i18n/
Dscientificnumberformatter.cpp145 fp.getBeginIndex() - copyFromOffset); in format()
152 int32_t beginIndex = fp.getBeginIndex(); in format()
178 fp.getBeginIndex() - copyFromOffset); in format()
181 fp.getBeginIndex(), in format()
219 fp.getBeginIndex() - copyFromOffset); in format()
Dfphdlimp.cpp50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
51 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
/third_party/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp145 fp.getBeginIndex() - copyFromOffset); in format()
152 int32_t beginIndex = fp.getBeginIndex(); in format()
178 fp.getBeginIndex() - copyFromOffset); in format()
181 fp.getBeginIndex(), in format()
219 fp.getBeginIndex() - copyFromOffset); in format()
Dfphdlimp.cpp50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
51 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
/third_party/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp145 fp.getBeginIndex() - copyFromOffset); in format()
152 int32_t beginIndex = fp.getBeginIndex(); in format()
178 fp.getBeginIndex() - copyFromOffset); in format()
181 fp.getBeginIndex(), in format()
219 fp.getBeginIndex() - copyFromOffset); in format()
Dfphdlimp.cpp50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
51 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
/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/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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/
DCSCharacterIteratorTest.java36 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex()); in TestAPI()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCSCharacterIteratorTest.java33 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex()); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DQuantityFormatter.java111 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format()
113 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]); in format()
DSearchIterator.java146 return targetText.getBeginIndex(); in beginIndex()
248 text.setIndex(text.getBeginIndex()); in setTarget()
611 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
DRuleBasedBreakIterator.java439 if (startPos < fText.getBeginIndex()) { in following()
461 } else if (offset < fText.getBeginIndex()) { in preceding()
478 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset()
636 fBreakCache.reset(newText.getBeginIndex(), 0); in setText()
993 if (text.getIndex() == text.getBeginIndex()) { in handleSafePrevious()
1050 if (index <= ci.getBeginIndex()) {
1425 int aBoundary = fText.getBeginIndex(); in populateNear()
1555 int textBegin = fText.getBeginIndex(); in populatePreceding()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java110 if (pos.getBeginIndex() != 0 || pos.getEndIndex() != 0) { in format()
112 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]); in format()
DRuleBasedBreakIterator.java500 if (startPos < fText.getBeginIndex()) { in following()
523 } else if (offset < fText.getBeginIndex()) { in preceding()
541 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset()
706 fBreakCache.reset(newText.getBeginIndex(), 0); in setText()
1016 if (text.getIndex() == text.getBeginIndex()) { in handleSafePrevious()
1072 if (index <= ci.getBeginIndex()) {
1459 int startOfText = fText.getBeginIndex(); in populateNear()
1625 int textBegin = fText.getBeginIndex(); in populatePreceding()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java149 return targetText.getBeginIndex(); in beginIndex()
256 text.setIndex(text.getBeginIndex()); in setTarget()
635 || (target.getEndIndex() - target.getBeginIndex()) == 0) { in SearchIterator()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java442 if(ci.getBeginIndex()!=wrap_ci.getBeginIndex()){ in TestUCharacterIteratorWrapper()
443 …atorWrapper.getBeginIndex() failed expected: " + ci.getBeginIndex() + " got: " +wrap_ci.getBeginIn… in TestUCharacterIteratorWrapper()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/
DTestUCharacterIterator.java445 if(ci.getBeginIndex()!=wrap_ci.getBeginIndex()){ in TestUCharacterIteratorWrapper()
446 …atorWrapper.getBeginIndex() failed expected: " + ci.getBeginIndex() + " got: " +wrap_ci.getBeginIn… in TestUCharacterIteratorWrapper()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java46 if(clone.getBeginIndex()!= norm.getBeginIndex()){ in TestNormalizerAPI()

123456