Lines Matching refs:this_char

109 	unsigned int this_char = 0;  in get_next_char()  local
127 this_char = c; in get_next_char()
138 this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); in get_next_char()
139 if (this_char < 0x80) { /* non-shortest form */ in get_next_char()
156 this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); in get_next_char()
157 if (this_char < 0x800) { /* non-shortest form */ in get_next_char()
159 } else if (this_char >= 0xd800 && this_char <= 0xdfff) { /* surrogate */ in get_next_char()
179this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (s… in get_next_char()
180 if (this_char < 0x10000 || this_char > 0x10FFFF) { /* non-shortest form or outside range */ in get_next_char()
203 this_char = (c << 8) | next; in get_next_char()
209 this_char = c; in get_next_char()
227 this_char = (c << 8) | next; in get_next_char()
235 this_char = c; in get_next_char()
252 this_char = (c << 8) | next; in get_next_char()
260 this_char = c; in get_next_char()
279 this_char = (c << 8) | next; in get_next_char()
287 this_char = c; in get_next_char()
307 this_char = (c << 8) | next; in get_next_char()
320 this_char = (c << 8) | next; in get_next_char()
338 this_char = (c << 16) | (str[pos + 1] << 8) | str[pos + 2]; in get_next_char()
343 this_char = c; in get_next_char()
352 this_char = str[pos++]; in get_next_char()
357 return this_char; in get_next_char()
1283 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex() local
1309 if (this_char != '&') { /* no entity on this position */ in php_escape_html_entities_ex()
1313 if (((this_char == '\'' && !(flags & ENT_HTML_QUOTE_SINGLE)) || in php_escape_html_entities_ex()
1314 (this_char == '"' && !(flags & ENT_HTML_QUOTE_DOUBLE)))) in php_escape_html_entities_ex()
1322 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1323 if (this_char == 0xFFFF) /* no mapping; pass through */ in php_escape_html_entities_ex()
1327 find_entity_for_char(this_char, charset, entity_table.ms_table, &rep, in php_escape_html_entities_ex()
1330 find_entity_for_char_basic(this_char, entity_table.table, &rep, &rep_len); in php_escape_html_entities_ex()
1343 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1349 map_to_unicode(this_char, to_uni_table, &this_char); in php_escape_html_entities_ex()
1350 if (!unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()
1362 if (this_char <= 0x7D && in php_escape_html_entities_ex()
1363 !unicode_cp_is_allowed(this_char, doctype)) { in php_escape_html_entities_ex()