Home
last modified time | relevance | path

Searched refs:subSequence (Results 1 – 25 of 71) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DFilteredNormalizer2.java124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
231 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
258 CharSequence prefix=second.subSequence(0, prefixLimit); in normalizeSecondAndAppend()
268 first.subSequence(suffixStart, first.length())); in normalizeSecondAndAppend()
278 CharSequence rest=second.subSequence(prefixLimit, second.length()); in normalizeSecondAndAppend()
DUnicodeSetSpanner.java276 result.append(sequence.subSequence(endModify, endCopy)); in replaceFrom()
376 … return endLeadContained == 0 && startTrailContained == length ? sequence : sequence.subSequence( in trim()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
245 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
272 CharSequence prefix=second.subSequence(0, prefixLimit); in normalizeSecondAndAppend()
282 first.subSequence(suffixStart, first.length())); in normalizeSecondAndAppend()
292 CharSequence rest=second.subSequence(prefixLimit, second.length()); in normalizeSecondAndAppend()
DUnicodeSetSpanner.java307 result.append(sequence.subSequence(endModify, endCopy)); in replaceFrom()
421 … return endLeadContained == 0 && startTrailContained == length ? sequence : sequence.subSequence( in trim()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DJSArrayBuilder.java139 public CharSequence subSequence(int start, int end) { in subSequence() method in JSArrayBuilder
140 return data.subSequence(start, end); in subSequence()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantMultiFieldModifier.java118 temp.subSequence(0, prefixLength), in toString()
119 temp.subSequence(prefixLength, temp.length())); in toString()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DConstantMultiFieldModifier.java120 temp.subSequence(0, prefixLength), in toString()
121 temp.subSequence(prefixLength, temp.length())); in toString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java85 public CharSequence subSequence(int start, int end) { in subSequence() method in StringSegment
86 return str.subSequence(start + this.start, end + this.start); in subSequence()
DUTS46.java211 uts46Norm2.normalizeSecondAndAppend(dest, src.subSequence(mappingStart, src.length())); in processUnicode()
297 String normalized=uts46Norm2.normalize(dest.subSequence(labelStart, dest.length())); in mapDevChars()
356 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
475 … punycode=Punycode.encode(labelString.subSequence(labelStart, labelStart+labelLength), null); in processLabel()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DStringSegment.java87 public CharSequence subSequence(int start, int end) { in subSequence() method in StringSegment
88 return str.subSequence(start + this.start, end + this.start); in subSequence()
DUTS46.java212 uts46Norm2.normalizeSecondAndAppend(dest, src.subSequence(mappingStart, src.length())); in processUnicode()
298 String normalized=uts46Norm2.normalize(dest.subSequence(labelStart, dest.length())); in mapDevChars()
347 … fromPunycode=Punycode.decode(dest.subSequence(labelStart+4, labelStart+labelLength), null); in processLabel()
466 … punycode=Punycode.encode(labelString.subSequence(labelStart, labelStart+labelLength), null); in processLabel()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DLocalizedNumberFormatter.java191 return string.subSequence(0, prefixLength).toString(); in getAffixImpl()
193 return string.subSequence(prefixLength, string.length()).toString(); in getAffixImpl()
DFormattedNumber.java62 public CharSequence subSequence(int start, int end) { in subSequence() method in FormattedNumber
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java198 return string.subSequence(0, prefixLength).toString(); in getAffixImpl()
200 return string.subSequence(prefixLength, string.length()).toString(); in getAffixImpl()
DFormattedNumber.java77 public CharSequence subSequence(int start, int end) { in subSequence() method in FormattedNumber
DNumberSkeletonImpl.java1056 String currencyCode = segment.subSequence(0, segment.length()).toString(); in parseCurrencyOption()
1082 String type = segment.subSequence(0, firstHyphen).toString(); in parseMeasureUnitOption()
1083 String subType = segment.subSequence(firstHyphen + 1, segment.length()).toString(); in parseMeasureUnitOption()
1380 String str = segment.subSequence(0, segment.length()).toString();
1444 String nsName = segment.subSequence(0, segment.length()).toString();
1458 String str = segment.subSequence(0, segment.length()).toString();
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedStringBuilderTest.java275 assertCharSequenceEquals(msg, a.subSequence(start, end), b.subSequence(start, end)); in assertCharSequenceEquals()
278 … assertCharSequenceEquals(msg, a.subSequence(start, end), bnsb.subString(start, end)); in assertCharSequenceEquals()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DFormattedStringBuilderTest.java278 assertCharSequenceEquals(msg, a.subSequence(start, end), b.subSequence(start, end)); in assertCharSequenceEquals()
281 … assertCharSequenceEquals(msg, a.subSequence(start, end), bnsb.subString(start, end)); in assertCharSequenceEquals()
DFormattedValueTest.java287 assertCharSequenceEquals(a.subSequence(start, end), b.subSequence(start, end)); in assertCharSequenceEquals()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DMutablePatternModifierTest.java145 return nsb.subSequence(0, mod.getPrefixLength()).toString(); in getPrefix()
151 return nsb.subSequence(mod.getPrefixLength(), nsb.length()).toString(); in getSuffix()
/third_party/node/test/parallel/
Dtest-string-decoder.js273 const subSequence = sequence.concat([[start, end]]);
274 const subSequences = writeSequences(length, end, subSequence, sequences);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java142 return nsb.subSequence(0, mod.getPrefixLength()).toString(); in getPrefix()
148 return nsb.subSequence(mod.getPrefixLength(), nsb.length()).toString(); in getSuffix()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXCldrStub.java391 boolean matches = m.reset(s.subSequence(0, i)).matches(); in findMismatch()
400 String show = s.subSequence(0, failPoint) + "☹" + s.subSequence(failPoint, s.length()); in showMismatch()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DXCldrStub.java432 boolean matches = m.reset(s.subSequence(0, i)).matches(); in findMismatch()
441 String show = s.subSequence(0, failPoint) + "☹" + s.subSequence(failPoint, s.length()); in showMismatch()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java259 CharSequence candidate = text.subSequence(start, matcher.end()); in find()
285 candidate = candidate.subSequence(0, trailingCharsMatcher.start()); in trimAfterFirstMatch()
363 candidate.subSequence(0, groupMatcher.start())); in extractInnerMatch()

123