Lines Matching refs:this_char

105 	unsigned int this_char = 0;  in get_next_char()  local
123 this_char = c; in get_next_char()
134 this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); in get_next_char()
135 if (this_char < 0x80) { /* non-shortest form */ in get_next_char()
152 this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); in get_next_char()
153 if (this_char < 0x800) { /* non-shortest form */ in get_next_char()
155 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { /* surrogate */ in get_next_char()
175this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (s… in get_next_char()
176 if (this_char < 0x10000 || this_char > 0x10FFFF) { /* non-shortest form or outside range */ in get_next_char()
199 this_char = (c << 8) | next; in get_next_char()
205 this_char = c; in get_next_char()
223 this_char = (c << 8) | next; in get_next_char()
231 this_char = c; in get_next_char()
248 this_char = (c << 8) | next; in get_next_char()
256 this_char = c; in get_next_char()
275 this_char = (c << 8) | next; in get_next_char()
283 this_char = c; in get_next_char()
303 this_char = (c << 8) | next; in get_next_char()
316 this_char = (c << 8) | next; in get_next_char()
334 this_char = (c << 16) | (str[pos + 1] << 8) | str[pos + 2]; in get_next_char()
339 this_char = c; in get_next_char()
348 this_char = str[pos++]; in get_next_char()
353 return this_char; in get_next_char()
1232 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex() local
1258 if (this_char != '&') { /* no entity on this position */ in php_escape_html_entities_ex()
1262 if (((this_char == '\'' && !(flags & ENT_HTML_QUOTE_SINGLE)) || in php_escape_html_entities_ex()
1263 (this_char == '"' && !(flags & ENT_HTML_QUOTE_DOUBLE)))) in php_escape_html_entities_ex()
1271 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1272 if (this_char == 0xFFFF) /* no mapping; pass through */ in php_escape_html_entities_ex()
1276 find_entity_for_char(this_char, charset, entity_table.ms_table, &rep, in php_escape_html_entities_ex()
1279 find_entity_for_char_basic(this_char, entity_table.table, &rep, &rep_len); in php_escape_html_entities_ex()
1292 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1298 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1299 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1311 if (this_char <= 0x7D && in php_escape_html_entities_ex()
1312 !unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()