Lines Matching refs:p2

4121 		uint32_t *p2 = p;  in html_numeric_entity_decode()  local
4124 if (*++p2 == '#') { in html_numeric_entity_decode()
4125 if (*++p2 == 'x') { in html_numeric_entity_decode()
4127 uint32_t w = *++p2; in html_numeric_entity_decode()
4129 w = *++p2; in html_numeric_entity_decode()
4130 if ((p2 == wchar_buf + out_len) && in_len && (p2 - p) <= HEX_ENTITY_MAXLEN) { in html_numeric_entity_decode()
4134 memmove(wchar_buf, p, (p2 - p) * 4); in html_numeric_entity_decode()
4135 wchar_buf_offset = p2 - p; in html_numeric_entity_decode()
4137 } else if ((p2 - p) < HEX_ENTITY_MINLEN || (p2 - p) > HEX_ENTITY_MAXLEN) { in html_numeric_entity_decode()
4139 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4140 converted += p2 - p; in html_numeric_entity_decode()
4144 while (p3 < p2) { in html_numeric_entity_decode()
4156 if (*p2 == ';') in html_numeric_entity_decode()
4157 p2++; in html_numeric_entity_decode()
4159 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4160 converted += p2 - p; in html_numeric_entity_decode()
4165 uint32_t w = *p2; in html_numeric_entity_decode()
4167 w = *++p2; in html_numeric_entity_decode()
4168 if ((p2 == wchar_buf + out_len) && in_len && (p2 - p) <= DEC_ENTITY_MAXLEN) { in html_numeric_entity_decode()
4171 memmove(wchar_buf, p, (p2 - p) * 4); in html_numeric_entity_decode()
4172 wchar_buf_offset = p2 - p; in html_numeric_entity_decode()
4174 } else if ((p2 - p) < DEC_ENTITY_MINLEN || (p2 - p) > DEC_ENTITY_MAXLEN) { in html_numeric_entity_decode()
4176 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4177 converted += p2 - p; in html_numeric_entity_decode()
4181 while (p3 < p2) { in html_numeric_entity_decode()
4186 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4187 converted += p2 - p; in html_numeric_entity_decode()
4194 if (*p2 == ';') in html_numeric_entity_decode()
4195 p2++; in html_numeric_entity_decode()
4197 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4198 converted += p2 - p; in html_numeric_entity_decode()
4202 } else if ((p2 == wchar_buf + out_len) && in_len) { in html_numeric_entity_decode()
4214 p = p2; in html_numeric_entity_decode()
4215 while (*p2 != '&') in html_numeric_entity_decode()
4216 p2++; in html_numeric_entity_decode()
4218 if (p2 > p) { in html_numeric_entity_decode()
4219 memcpy(converted, p, (p2 - p) * 4); in html_numeric_entity_decode()
4220 converted += p2 - p; in html_numeric_entity_decode()
4221 p = p2; in html_numeric_entity_decode()