Home
last modified time | relevance | path

Searched refs:spanLength (Results 1 – 2 of 2) 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 …]
/external/icu4c/test/intltest/
Dusettest.cpp2427 … int32_t spanLength=containsSpanUTF16(set, s+matchLimit, length-matchLimit, in containsSpanUTF16() local
2429 if((matchLimit+spanLength)>maxSpanLimit) { in containsSpanUTF16()
2430 maxSpanLimit=matchLimit+spanLength; in containsSpanUTF16()
2635 … int32_t spanLength=containsSpanUTF8(set, s+matchLimit, length-matchLimit, in containsSpanUTF8() local
2637 if((matchLimit+spanLength)>maxSpanLimit) { in containsSpanUTF8()
2638 maxSpanLimit=matchLimit+spanLength; in containsSpanUTF8()