Lines Matching refs:zend_uchar
29 zend_uchar c; in check_mb_utf8mb3_sequence()
35 c = (zend_uchar) start[0]; in check_mb_utf8mb3_sequence()
47 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8mb3_sequence()
56 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8mb3_sequence()
57 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8mb3_sequence()
68 zend_uchar c; in check_mb_utf8_sequence()
74 c = (zend_uchar) start[0]; in check_mb_utf8_sequence()
86 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8_sequence()
95 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
96 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8_sequence()
125 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
126 ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
127 ((zend_uchar)start[3] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
128 (c >= 0xf1 || (zend_uchar)start[1] >= 0x90) && in check_mb_utf8_sequence()
129 (c <= 0xf3 || (zend_uchar)start[1] <= 0x8F))) in check_mb_utf8_sequence()
218 return (valid_cp932head((zend_uchar)start[0]) && (end - start > 1) && in check_mb_cp932()
219 valid_cp932tail((zend_uchar)start[1])) ? 2 : 0; in check_mb_cp932()
225 return (valid_cp932head((zend_uchar)cp932)) ? 2 : 1; in mysqlnd_mbcharlen_cp932()
231 #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
238 if (*(zend_uchar *)start < 0x80) { in check_mb_euckr()
263 if (*((zend_uchar *)start) < 0x80) { in check_mb_eucjpms()
294 #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7)
295 #define valid_gb2312_tail(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE)
313 #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)
314 #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(…
335 …return (valid_sjis_head((zend_uchar)start[0]) && (end - start) > 1 && valid_sjis_tail((zend_uchar)… in check_mb_sjis()
341 return (valid_sjis_head((zend_uchar)sjis)) ? 2 : 1; in mysqlnd_mbcharlen_sjis()
367 if (*(zend_uchar*)start < 0x80) { in check_mb_ujis()
392 #define UTF16_HIGH_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xD8)
393 #define UTF16_LOW_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xDC)