Lines Matching refs:b2
247 uint8_t b2=s[--i]; in utf8_prevCharSafeBody() local
248 if(0xe0<=b2 && b2<0xf0) { in utf8_prevCharSafeBody()
249 b2&=0xf; in utf8_prevCharSafeBody()
251 if(U8_IS_VALID_LEAD3_AND_T1(b2, b1)) { in utf8_prevCharSafeBody()
253 c=(b2<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
264 if((b2>0 || b1>=0x20)) { in utf8_prevCharSafeBody()
266 return (b2<<12)|(b1<<6)|c; in utf8_prevCharSafeBody()
269 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_prevCharSafeBody()
273 if(U8_IS_VALID_LEAD4_AND_T1(b3, b2)) { in utf8_prevCharSafeBody()
275 c=(b3<<18)|((b2&0x3f)<<12)|((b1&0x3f)<<6)|c; in utf8_prevCharSafeBody()
284 } else if(0xf0<=b2 && b2<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b2, b1)) { in utf8_prevCharSafeBody()
309 uint8_t b2=s[--i]; in utf8_back1SafeBody() local
310 if(0xe0<=b2 && b2<0xf0) { in utf8_back1SafeBody()
311 if(U8_IS_VALID_LEAD3_AND_T1(b2, b1)) { in utf8_back1SafeBody()
314 } else if(U8_IS_TRAIL(b2) && i>start) { in utf8_back1SafeBody()
317 if(U8_IS_VALID_LEAD4_AND_T1(b3, b2)) { in utf8_back1SafeBody()
321 } else if(0xf0<=b2 && b2<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b2, b1)) { in utf8_back1SafeBody()