Lines Matching refs:b1
240 uint8_t b1=s[--i]; in utf8_prevCharSafeBody() local
241 if(0xc2<=b1 && b1<0xe0) { in utf8_prevCharSafeBody()
243 return ((b1-0xc0)<<6)|(c&0x3f); in utf8_prevCharSafeBody()
244 } else if(U8_IS_TRAIL(b1) && i>start) { 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()
263 b1-=0x80; in utf8_prevCharSafeBody()
264 if((b2>0 || b1>=0x20)) { in utf8_prevCharSafeBody()
266 return (b2<<12)|(b1<<6)|c; 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()
289 } else if((0xe0<=b1 && b1<0xf0 && U8_IS_VALID_LEAD3_AND_T1(b1, c)) || in utf8_prevCharSafeBody()
290 (0xf0<=b1 && b1<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b1, c))) { in utf8_prevCharSafeBody()
305 uint8_t b1=s[--i]; in utf8_back1SafeBody() local
306 if(0xc2<=b1 && b1<0xe0) { in utf8_back1SafeBody()
308 } else if(U8_IS_TRAIL(b1) && i>start) { in utf8_back1SafeBody()
311 if(U8_IS_VALID_LEAD3_AND_T1(b2, b1)) { in utf8_back1SafeBody()
321 } else if(0xf0<=b2 && b2<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b2, b1)) { in utf8_back1SafeBody()
325 } else if((0xe0<=b1 && b1<0xf0 && U8_IS_VALID_LEAD3_AND_T1(b1, c)) || in utf8_back1SafeBody()
326 (0xf0<=b1 && b1<=0xf4 && U8_IS_VALID_LEAD4_AND_T1(b1, c))) { in utf8_back1SafeBody()