Lines Matching refs:length8
170 int32_t length8=0; in getUTF8Length() local
171 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length()
173 return length8; in getUTF8Length()
185 int32_t length8=0; in appendUTF8() local
186 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8()
188 return length8; in appendUTF8()
245 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan() local
246 utf8Length+=length8; in UnicodeSetStringSpan()
247 if(length8>maxLength8) { in UnicodeSetStringSpan()
248 maxLength8=length8; in UnicodeSetStringSpan()
331 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() local
332 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
333 if(length8==0) { // Irrelevant for UTF-8 because not representable in UTF-8. in UnicodeSetStringSpan()
338 … spanLength=spanSet.spanUTF8((const char *)s8, length8, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
342 … spanLength=length8-spanSet.spanBackUTF8((const char *)s8, length8, USET_SPAN_CONTAINED); in UnicodeSetStringSpan()
369 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); in UnicodeSetStringSpan() local
370 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
979 int32_t length8; in spanUTF8() local
982 length8=utf8Lengths[i]; in spanUTF8()
983 if(length8==0) { in spanUTF8()
988 s8+=length8; in spanUTF8()
994 overlap=length8; in spanUTF8()
1001 int32_t inc=length8-overlap; // Keep overlap+inc==length8. in spanUTF8()
1011 matches8(s+pos-overlap, s8, length8)) { in spanUTF8()
1023 s8+=length8; in spanUTF8()
1028 length8=utf8Lengths[i]; in spanUTF8()
1029 if(length8==0) { in spanUTF8()
1038 overlap=length8; in spanUTF8()
1045 int32_t inc=length8-overlap; // Keep overlap+inc==length8. in spanUTF8()
1056 matches8(s+pos-overlap, s8, length8)) { in spanUTF8()
1064 s8+=length8; in spanUTF8()
1156 int32_t length8; in spanBackUTF8() local
1159 length8=utf8Lengths[i]; in spanBackUTF8()
1160 if(length8==0) { in spanBackUTF8()
1165 s8+=length8; in spanBackUTF8()
1171 overlap=length8; in spanBackUTF8()
1180 int32_t dec=length8-overlap; // Keep dec+overlap==length8. in spanBackUTF8()
1190 matches8(s+pos-dec, s8, length8) in spanBackUTF8()
1203 s8+=length8; in spanBackUTF8()
1208 length8=utf8Lengths[i]; in spanBackUTF8()
1209 if(length8==0) { in spanBackUTF8()
1218 overlap=length8; in spanBackUTF8()
1225 int32_t dec=length8-overlap; // Keep dec+overlap==length8. in spanBackUTF8()
1235 matches8(s+pos-dec, s8, length8) in spanBackUTF8()
1244 s8+=length8; in spanBackUTF8()
1448 int32_t length8; in spanNotUTF8() local
1450 length8=utf8Lengths[i]; in spanNotUTF8()
1452 …if(length8!=0 && spanUTF8Lengths[i]!=ALL_CP_CONTAINED && length8<=rest && matches8(s+pos, s8, leng… in spanNotUTF8()
1455 s8+=length8; in spanNotUTF8()
1491 int32_t length8; in spanNotBackUTF8() local
1493 length8=utf8Lengths[i]; in spanNotBackUTF8()
1495 …if(length8!=0 && spanBackUTF8Lengths[i]!=ALL_CP_CONTAINED && length8<=pos && matches8(s+pos-length… in spanNotBackUTF8()
1498 s8+=length8; in spanNotBackUTF8()