Lines Matching refs:zend_uchar
30 zend_uchar c; in check_mb_utf8mb3_sequence()
36 c = (zend_uchar) start[0]; in check_mb_utf8mb3_sequence()
48 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8mb3_sequence()
57 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8mb3_sequence()
58 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8mb3_sequence()
69 zend_uchar c; in check_mb_utf8_sequence()
75 c = (zend_uchar) start[0]; in check_mb_utf8_sequence()
87 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8_sequence()
96 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
97 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8_sequence()
126 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
127 ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
128 ((zend_uchar)start[3] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
129 (c >= 0xf1 || (zend_uchar)start[1] >= 0x90) && in check_mb_utf8_sequence()
130 (c <= 0xf3 || (zend_uchar)start[1] <= 0x8F))) in check_mb_utf8_sequence()
219 return (valid_cp932head((zend_uchar)start[0]) && (end - start > 1) && in check_mb_cp932()
220 valid_cp932tail((zend_uchar)start[1])) ? 2 : 0; in check_mb_cp932()
226 return (valid_cp932head((zend_uchar)cp932)) ? 2 : 1; in mysqlnd_mbcharlen_cp932()
232 #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
239 if (*(zend_uchar *)start < 0x80) { in check_mb_euckr()
264 if (*((zend_uchar *)start) < 0x80) { in check_mb_eucjpms()
295 #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7)
296 #define valid_gb2312_tail(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE)
314 #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)
315 #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(…
336 …return (valid_sjis_head((zend_uchar)start[0]) && (end - start) > 1 && valid_sjis_tail((zend_uchar)… in check_mb_sjis()
342 return (valid_sjis_head((zend_uchar)sjis)) ? 2 : 1; in mysqlnd_mbcharlen_sjis()
368 if (*(zend_uchar*)start < 0x80) { in check_mb_ujis()
393 #define UTF16_HIGH_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xD8)
394 #define UTF16_LOW_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xDC)
435 #define is_gb18030_odd(c) (0x81 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0xFE)
436 …8030_even_2(c) ((0x40 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x7E) || (0x80 <= (zend_uch…
437 #define is_gb18030_even_4(c) (0x30 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x39)