Lines Matching refs:b1
240 uint8_t b1=s[--i]; in utf8_prevCharSafeBody() local
241 if(U8_IS_LEAD(b1)) { in utf8_prevCharSafeBody()
242 if(b1<0xe0) { in utf8_prevCharSafeBody()
244 return ((b1-0xc0)<<6)|(c&0x3f); in utf8_prevCharSafeBody()
245 } else if(b1<0xf0 ? U8_IS_VALID_LEAD3_AND_T1(b1, c) : U8_IS_VALID_LEAD4_AND_T1(b1, c)) { in utf8_prevCharSafeBody()
250 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_prevCharSafeBody()
258 if(U8_IS_VALID_LEAD3_AND_T1(b2, b1)) { in utf8_prevCharSafeBody()
260 c=(b2<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
270 b1-=0x80; in utf8_prevCharSafeBody()
271 if((b2>0 || b1>=0x20)) { in utf8_prevCharSafeBody()
273 return (b2<<12)|(b1<<6)|c; in utf8_prevCharSafeBody()
276 } else if(U8_IS_VALID_LEAD4_AND_T1(b2, b1)) { in utf8_prevCharSafeBody()
287 c=(b3<<18)|((b2&0x3f)<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
308 uint8_t b1=s[--i]; in utf8_back1SafeBody() local
309 if(U8_IS_LEAD(b1)) { in utf8_back1SafeBody()
310 if(b1<0xe0 || in utf8_back1SafeBody()
311 (b1<0xf0 ? U8_IS_VALID_LEAD3_AND_T1(b1, c) : U8_IS_VALID_LEAD4_AND_T1(b1, c))) { in utf8_back1SafeBody()
314 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_back1SafeBody()
317 if(b2<0xf0 ? U8_IS_VALID_LEAD3_AND_T1(b2, b1) : U8_IS_VALID_LEAD4_AND_T1(b2, b1)) { in utf8_back1SafeBody()