Searched refs:U8_COUNT_TRAIL_BYTES (Results 1 – 8 of 8) sorted by relevance
129 uint8_t count=U8_COUNT_TRAIL_BYTES(c); in utf8_nextCharSafeBody()252 uint8_t shouldCount=U8_COUNT_TRAIL_BYTES(b); in utf8_prevCharSafeBody()318 if(U8_COUNT_TRAIL_BYTES(b)>=(i-I)) { in utf8_back1SafeBody()
839 if(i<U8_COUNT_TRAIL_BYTES(b)) { in ucnv_UTF8FromUTF8()905 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_UTF8FromUTF8()978 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_UTF8FromUTF8()
277 uint8_t count=U8_COUNT_TRAIL_BYTES(c); in utf8_nextCharSafeBodyTerminated()348 uint8_t count=U8_COUNT_TRAIL_BYTES(c); in utf8_nextCharSafeBodyPointer()
5095 if(i<U8_COUNT_TRAIL_BYTES(b)) { in ucnv_SBCSFromUTF8()5188 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_SBCSFromUTF8()5313 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_SBCSFromUTF8()5395 if(i<U8_COUNT_TRAIL_BYTES(b)) { in ucnv_DBCSFromUTF8()5468 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_DBCSFromUTF8()5623 toULimit=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_DBCSFromUTF8()
411 utf8->mode=U8_COUNT_TRAIL_BYTES(b)+1; in ucnv_Latin1FromUTF8()
82 #define U8_COUNT_TRAIL_BYTES(leadByte) \ macro516 uint8_t __count=U8_COUNT_TRAIL_BYTES(__b); \
1654 …if (!U8_IS_LEAD(str[lastOffset]) || U8_COUNT_TRAIL_BYTES(str[lastOffset]) + lastOffset < (int32_t)…1659 U8_MASK_LEAD_BYTE(leadByte, U8_COUNT_TRAIL_BYTES(leadByte));
2528 if(length>=(1+U8_COUNT_TRAIL_BYTES(badUTF8[i][0]))) { in testFromTruncatedUTF8()