Lines Matching refs:zend_uchar
28 zend_uchar c; in check_mb_utf8mb3_sequence()
34 c = (zend_uchar) start[0]; in check_mb_utf8mb3_sequence()
46 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8mb3_sequence()
55 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8mb3_sequence()
56 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8mb3_sequence()
67 zend_uchar c; in check_mb_utf8_sequence()
73 c = (zend_uchar) start[0]; in check_mb_utf8_sequence()
85 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40)) { in check_mb_utf8_sequence()
94 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
95 (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { in check_mb_utf8_sequence()
124 if (!(((zend_uchar)start[1] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
125 ((zend_uchar)start[2] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
126 ((zend_uchar)start[3] ^ 0x80) < 0x40 && in check_mb_utf8_sequence()
127 (c >= 0xf1 || (zend_uchar)start[1] >= 0x90) && in check_mb_utf8_sequence()
128 (c <= 0xf3 || (zend_uchar)start[1] <= 0x8F))) in check_mb_utf8_sequence()
191 #define valid_big5head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF9)
192 #define valid_big5tail(c) ((0x40 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0x7E) || \
193 (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
217 return (valid_cp932head((zend_uchar)start[0]) && (end - start > 1) && in check_mb_cp932()
218 valid_cp932tail((zend_uchar)start[1])) ? 2 : 0; in check_mb_cp932()
224 return (valid_cp932head((zend_uchar)cp932)) ? 2 : 1; in mysqlnd_mbcharlen_cp932()
230 #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE))
237 if (*(zend_uchar *)start < 0x80) { in check_mb_euckr()
262 if (*((zend_uchar *)start) < 0x80) { in check_mb_eucjpms()
293 #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7)
294 #define valid_gb2312_tail(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE)
312 #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)
313 #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(…
334 …return (valid_sjis_head((zend_uchar)start[0]) && (end - start) > 1 && valid_sjis_tail((zend_uchar)… in check_mb_sjis()
340 return (valid_sjis_head((zend_uchar)sjis)) ? 2 : 1; in mysqlnd_mbcharlen_sjis()
366 if (*(zend_uchar*)start < 0x80) { in check_mb_ujis()
391 #define UTF16_HIGH_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xD8)
392 #define UTF16_LOW_HEAD(x) ((((zend_uchar) (x)) & 0xFC) == 0xDC)
433 #define is_gb18030_odd(c) (0x81 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0xFE)
434 …8030_even_2(c) ((0x40 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x7E) || (0x80 <= (zend_uch…
435 #define is_gb18030_even_4(c) (0x30 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x39)