Searched refs:this_char (Results 1 – 2 of 2) sorted by relevance
541 this_char = c; in get_next_char()568 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { in get_next_char()587 if (this_char < 0x10000 || this_char > 0x10FFFF) { in get_next_char()607 if (this_char >= 0x81 && this_char <= 0xfe) { in get_next_char()616 this_char = (this_char << 8) | next_char; in get_next_char()630 if ((this_char >= 0x81 && this_char <= 0x9f) || in get_next_char()631 (this_char >= 0xe0 && this_char <= 0xfc)) { in get_next_char()641 this_char = (this_char << 8) | next_char; in get_next_char()655 if (this_char >= 0xa1 && this_char <= 0xfe) { in get_next_char()663 this_char = (this_char << 8) | next_char; in get_next_char()[all …]
682 unsigned int this_char = 0; in php_next_utf8_char() local696 this_char = c; in php_next_utf8_char()707 this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); in php_next_utf8_char()708 if (this_char < 0x80) { /* non-shortest form */ in php_next_utf8_char()725 this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); in php_next_utf8_char()726 if (this_char < 0x800) { /* non-shortest form */ in php_next_utf8_char()728 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { /* surrogate */ in php_next_utf8_char()748 …this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (s… in php_next_utf8_char()749 if (this_char < 0x10000 || this_char > 0x10FFFF) { /* non-shortest form or outside range */ in php_next_utf8_char()758 return this_char; in php_next_utf8_char()
Completed in 12 milliseconds