Lines Matching refs:this_char

101 	unsigned int this_char = 0;  in get_next_char()  local
119 this_char = c; in get_next_char()
130 this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); in get_next_char()
131 if (this_char < 0x80) { /* non-shortest form */ in get_next_char()
148 this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); in get_next_char()
149 if (this_char < 0x800) { /* non-shortest form */ in get_next_char()
151 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { /* surrogate */ in get_next_char()
171this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (s… in get_next_char()
172 if (this_char < 0x10000 || this_char > 0x10FFFF) { /* non-shortest form or outside range */ in get_next_char()
195 this_char = (c << 8) | next; in get_next_char()
201 this_char = c; in get_next_char()
219 this_char = (c << 8) | next; in get_next_char()
227 this_char = c; in get_next_char()
244 this_char = (c << 8) | next; in get_next_char()
252 this_char = c; in get_next_char()
271 this_char = (c << 8) | next; in get_next_char()
279 this_char = c; in get_next_char()
299 this_char = (c << 8) | next; in get_next_char()
312 this_char = (c << 8) | next; in get_next_char()
330 this_char = (c << 16) | (str[pos + 1] << 8) | str[pos + 2]; in get_next_char()
335 this_char = c; in get_next_char()
344 this_char = str[pos++]; in get_next_char()
349 return this_char; in get_next_char()
1160 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex() local
1186 if (this_char != '&') { /* no entity on this position */ in php_escape_html_entities_ex()
1190 if (((this_char == '\'' && !(flags & ENT_HTML_QUOTE_SINGLE)) || in php_escape_html_entities_ex()
1191 (this_char == '"' && !(flags & ENT_HTML_QUOTE_DOUBLE)))) in php_escape_html_entities_ex()
1199 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1200 if (this_char == 0xFFFF) /* no mapping; pass through */ in php_escape_html_entities_ex()
1204 find_entity_for_char(this_char, charset, entity_table.ms_table, &rep, in php_escape_html_entities_ex()
1207 find_entity_for_char_basic(this_char, entity_table.table, &rep, &rep_len); in php_escape_html_entities_ex()
1220 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1226 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1227 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1239 if (this_char <= 0x7D && in php_escape_html_entities_ex()
1240 !unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()