Lines Matching refs:b2
253 uint8_t b2=s[--i]; in utf8_prevCharSafeBody() local
254 if(0xe0<=b2 && b2<=0xf4) { in utf8_prevCharSafeBody()
255 if(b2<0xf0) { in utf8_prevCharSafeBody()
256 b2&=0xf; 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()
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()
281 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_prevCharSafeBody()
285 if(U8_IS_VALID_LEAD4_AND_T1(b3, b2)) { in utf8_prevCharSafeBody()
287 c=(b3<<18)|((b2&0x3f)<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
315 uint8_t b2=s[--i]; in utf8_back1SafeBody() local
316 if(0xe0<=b2 && b2<=0xf4) { 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()
320 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_back1SafeBody()
322 if(0xf0<=b3 && b3<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b3, b2)) { in utf8_back1SafeBody()