Searched refs:spanLimit (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | FilteredNormalizer2.java | 127 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() local 131 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized() 136 prevSpanLimit=spanLimit; in isNormalized() 150 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() local 155 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck() 163 prevSpanLimit=spanLimit; in quickCheck() 175 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in spanQuickCheckYes() local 181 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes() 182 if(yesLimit<spanLimit) { in spanQuickCheckYes() 187 prevSpanLimit=spanLimit; in spanQuickCheckYes() [all …]
|
/external/icu/icu4c/source/common/ |
D | filterednormalizer2.cpp | 62 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() local 63 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() 73 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize() 81 prevSpanLimit=spanLimit; in normalize() 181 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() local 185 if( !norm2.isNormalized(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode) || in isNormalized() 192 prevSpanLimit=spanLimit; in isNormalized() 206 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() local 211 norm2.quickCheck(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode); in quickCheck() 219 prevSpanLimit=spanLimit; in quickCheck() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UnicodeSetStringSpan.java | 367 int spanLimit = spanSet.span(s, start, SpanCondition.CONTAINED); in span() local 368 if (spanLimit == s.length()) { in span() 369 return spanLimit; in span() 371 return spanWithStrings(s, start, spanLimit, spanCondition); in span() 380 private synchronized int spanWithStrings(CharSequence s, int start, int spanLimit, in spanWithStrings() argument 390 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings() 391 int spanLength = spanLimit - start; in spanWithStrings() 499 spanLimit = spanSet.span(s, pos, SpanCondition.CONTAINED); in spanWithStrings() 500 spanLength = spanLimit - pos; in spanWithStrings() 504 return spanLimit; in spanWithStrings() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | RuleBasedCollator.java | 1586 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText() local 1587 if(spanLimit == seq.length()) { in setText() 1596 str.append(seq, start, spanLimit); in setText() 1598 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
|
/external/icu/icu4c/source/i18n/ |
D | rulebasedcollator.cpp | 855 const UChar *spanLimit = nfcImpl.makeFCD(text, textLimit, NULL, errorCode); in FCDUTF16NFDIterator() local 857 if(spanLimit == textLimit || (textLimit == NULL && *spanLimit == 0)) { in FCDUTF16NFDIterator() 859 limit = spanLimit; in FCDUTF16NFDIterator() 861 str.setTo(text, (int32_t)(spanLimit - text)); in FCDUTF16NFDIterator() 865 nfcImpl.makeFCD(spanLimit, textLimit, &buffer, errorCode); in FCDUTF16NFDIterator()
|