Lines Matching refs:this_char

97 	unsigned int this_char = 0;  in get_next_char()  local
115 this_char = c; in get_next_char()
126 this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); in get_next_char()
127 if (this_char < 0x80) { /* non-shortest form */ in get_next_char()
144 this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); in get_next_char()
145 if (this_char < 0x800) { /* non-shortest form */ in get_next_char()
147 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { /* surrogate */ in get_next_char()
167this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (s… in get_next_char()
168 if (this_char < 0x10000 || this_char > 0x10FFFF) { /* non-shortest form or outside range */ in get_next_char()
191 this_char = (c << 8) | next; in get_next_char()
197 this_char = c; in get_next_char()
215 this_char = (c << 8) | next; in get_next_char()
223 this_char = c; in get_next_char()
240 this_char = (c << 8) | next; in get_next_char()
248 this_char = c; in get_next_char()
267 this_char = (c << 8) | next; in get_next_char()
275 this_char = c; in get_next_char()
295 this_char = (c << 8) | next; in get_next_char()
308 this_char = (c << 8) | next; in get_next_char()
326 this_char = (c << 16) | (str[pos + 1] << 8) | str[pos + 2]; in get_next_char()
331 this_char = c; in get_next_char()
340 this_char = str[pos++]; in get_next_char()
345 return this_char; in get_next_char()
1275 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex() local
1302 if (this_char != '&') { /* no entity on this position */ in php_escape_html_entities_ex()
1306 if (((this_char == '\'' && !(flags & ENT_HTML_QUOTE_SINGLE)) || in php_escape_html_entities_ex()
1307 (this_char == '"' && !(flags & ENT_HTML_QUOTE_DOUBLE)))) in php_escape_html_entities_ex()
1315 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1316 if (this_char == 0xFFFF) /* no mapping; pass through */ in php_escape_html_entities_ex()
1320 find_entity_for_char(this_char, charset, entity_table.ms_table, &rep, in php_escape_html_entities_ex()
1323 find_entity_for_char_basic(this_char, entity_table.table, &rep, &rep_len); in php_escape_html_entities_ex()
1336 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1342 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1343 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1355 if (this_char <= 0x7D && in php_escape_html_entities_ex()
1356 !unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()