Home | History | Annotate | Download | only in icu

Lines Matching refs:trail

140       uint8_t trail, illegal = 0;
143 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
148 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
152 trail=s[(i)++];
153 (c)=((c)<<6)|(trail&0x3f);
155 illegal|=(trail&0xc0)^0x80;
162 trail=s[(i)++];
163 (c)=((c)<<6)|(trail&0x3f);
164 illegal|=(trail&0xc0)^0x80;
166 trail=s[(i)++];
167 (c)=((c)<<6)|(trail&0x3f);
168 illegal|=(trail&0xc0)^0x80;
190 /* correct sequence - all trail bytes have (b7..b6)==(10)? */