Lines Matching refs:length16
233 int32_t length16=string.length(); in UnicodeSetStringSpan() local
234 if (length16==0) { in UnicodeSetStringSpan()
238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan()
244 if((which&UTF16) && length16>maxLength16) { in UnicodeSetStringSpan()
245 maxLength16=length16; in UnicodeSetStringSpan()
248 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan()
316 int32_t length16=string.length(); in UnicodeSetStringSpan() local
317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
318 if(spanLength<length16 && length16>0) { // Relevant string. in UnicodeSetStringSpan()
325 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
334 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan()
359 U16_NEXT(s16, len, length16, c); in UnicodeSetStringSpan()
363 int32_t len=length16; in UnicodeSetStringSpan()
372 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan()
663 int32_t length16=string.length(); in span() local
668 overlap=length16; in span()
675 int32_t inc=length16-overlap; // Keep overlap+inc==length16. in span()
681 … if(!offsets.containsOffset(inc) && matches16CPB(s, pos-overlap, length, s16, length16)) { in span()
703 int32_t length16=string.length(); in span() local
704 if (length16==0) { in span()
710 overlap=length16; in span()
717 int32_t inc=length16-overlap; // Keep overlap+inc==length16. in span()
724 matches16CPB(s, pos-overlap, length, s16, length16) in span()
831 int32_t length16=string.length(); in spanBack() local
836 overlap=length16; in spanBack()
845 int32_t dec=length16-overlap; // Keep dec+overlap==length16. in spanBack()
851 … if(!offsets.containsOffset(dec) && matches16CPB(s, pos-dec, length, s16, length16)) { in spanBack()
873 int32_t length16=string.length(); in spanBack() local
874 if (length16==0) { in spanBack()
880 overlap=length16; in spanBack()
887 int32_t dec=length16-overlap; // Keep dec+overlap==length16. in spanBack()
894 matches16CPB(s, pos-dec, length, s16, length16) in spanBack()
1376 int32_t length16=string.length(); in spanNot() local
1378 if(length16<=rest && matches16CPB(s, pos, length, s16, length16)) { in spanNot()
1420 int32_t length16=string.length(); in spanNotBack() local
1422 if(length16<=pos && matches16CPB(s, pos-length16, length, s16, length16)) { in spanNotBack()