Home
last modified time | relevance | path

Searched refs:spanLength (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/common/
Dunisetspan.cpp193 makeSpanLengthByte(int32_t spanLength) { in makeSpanLengthByte() argument
195 return spanLength<0xfe ? (uint8_t)spanLength : (uint8_t)0xfe; in makeSpanLengthByte()
224 int32_t i, spanLength; in UnicodeSetStringSpan() local
231 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
232 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
310 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
311 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
315 spanLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan()
318 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
319 spanBackLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan()
[all …]
Dfilterednormalizer2.cpp61 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() local
63 if(spanLength!=0) { in normalize()
64 dest.append(src, prevSpanLimit, spanLength); in normalize()
68 if(spanLength!=0) { in normalize()
/external/icu4c/test/intltest/
Dusettest.cpp2489 … int32_t spanLength=containsSpanUTF16(set, s+matchLimit, length-matchLimit, in containsSpanUTF16() local
2491 if((matchLimit+spanLength)>maxSpanLimit) { in containsSpanUTF16()
2492 maxSpanLimit=matchLimit+spanLength; in containsSpanUTF16()
2697 … int32_t spanLength=containsSpanUTF8(set, s+matchLimit, length-matchLimit, in containsSpanUTF8() local
2699 if((matchLimit+spanLength)>maxSpanLimit) { in containsSpanUTF8()
2700 maxSpanLimit=matchLimit+spanLength; in containsSpanUTF8()