Home
last modified time | relevance | path

Searched refs:spanLimit (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java129 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() local
133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
138 prevSpanLimit=spanLimit; in isNormalized()
152 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() local
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
165 prevSpanLimit=spanLimit; in quickCheck()
177 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes() local
183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
184 if(yesLimit<spanLimit) { in spanQuickCheckYes()
189 prevSpanLimit=spanLimit; in spanQuickCheckYes()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DFilteredNormalizer2.java120 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() local
124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
129 prevSpanLimit=spanLimit; in isNormalized()
142 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() local
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
155 prevSpanLimit=spanLimit; in quickCheck()
166 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes() local
172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
173 if(yesLimit<spanLimit) { in spanQuickCheckYes()
178 prevSpanLimit=spanLimit; in spanQuickCheckYes()
[all …]
DRuleBasedCollator.java1534 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText() local
1535 if(spanLimit == seq.length()) { in setText()
1544 str.append(seq, start, spanLimit); in setText()
1546 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
/external/icu/icu4c/source/common/
Dfilterednormalizer2.cpp66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() local
67 int32_t spanLength=spanLimit-prevSpanLimit; in normalize()
77 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize()
85 prevSpanLimit=spanLimit; in normalize()
231 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() local
235 if( !norm2.isNormalized(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode) || in isNormalized()
242 prevSpanLimit=spanLimit; in isNormalized()
281 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() local
286 norm2.quickCheck(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode); in quickCheck()
294 prevSpanLimit=spanLimit; in quickCheck()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java375 int spanLimit = spanSet.span(s, start, SpanCondition.CONTAINED); in span() local
376 if (spanLimit == s.length()) { in span()
377 return spanLimit; in span()
379 return spanWithStrings(s, start, spanLimit, spanCondition); in span()
388 private synchronized int spanWithStrings(CharSequence s, int start, int spanLimit, in spanWithStrings() argument
398 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings()
399 int spanLength = spanLimit - start; in spanWithStrings()
507 spanLimit = spanSet.span(s, pos, SpanCondition.CONTAINED); in spanWithStrings()
508 spanLength = spanLimit - pos; in spanWithStrings()
512 return spanLimit; in spanWithStrings()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java371 int spanLimit = spanSet.span(s, start, SpanCondition.CONTAINED); in span() local
372 if (spanLimit == s.length()) { in span()
373 return spanLimit; in span()
375 return spanWithStrings(s, start, spanLimit, spanCondition); in span()
384 private synchronized int spanWithStrings(CharSequence s, int start, int spanLimit, in spanWithStrings() argument
394 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings()
395 int spanLength = spanLimit - start; in spanWithStrings()
503 spanLimit = spanSet.span(s, pos, SpanCondition.CONTAINED); in spanWithStrings()
504 spanLength = spanLimit - pos; in spanWithStrings()
508 return spanLimit; in spanWithStrings()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1571 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText() local
1572 if(spanLimit == seq.length()) { in setText()
1581 str.append(seq, start, spanLimit); in setText()
1583 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp857 const UChar *spanLimit = nfcImpl.makeFCD(text, textLimit, NULL, errorCode); in FCDUTF16NFDIterator() local
859 if(spanLimit == textLimit || (textLimit == NULL && *spanLimit == 0)) { in FCDUTF16NFDIterator()
861 limit = spanLimit; in FCDUTF16NFDIterator()
863 str.setTo(text, (int32_t)(spanLimit - text)); in FCDUTF16NFDIterator()
867 nfcImpl.makeFCD(spanLimit, textLimit, &r_buffer, errorCode); in FCDUTF16NFDIterator()