Home | History | Annotate | Download | only in common

Lines Matching defs:illegal

274     uint8_t trail, illegal=0;
278 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
283 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
284 illegal=1;
291 illegal=1;
298 illegal=1;
306 illegal=1;
316 /* illegal is also set if count>=4 */
317 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) {
343 uint8_t trail, illegal=0;
347 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
352 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
353 illegal=1;
359 illegal|=(trail&0xc0)^0x80;
362 illegal=1;
368 illegal|=(trail&0xc0)^0x80;
372 illegal|=(trail&0xc0)^0x80;
379 illegal=1; /* too few bytes left */
383 /* illegal is also set if count>=4 */
385 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) {
771 * resynchronization after illegal sequences.
819 * resynchronization after illegal sequences.
874 * resynchronization after illegal sequences.
904 * resynchronization after illegal sequences.