Lines Matching refs:entity
184 mbfl_html_entity_entry *entity; in mbfl_filt_conv_html_dec() local
250 entity = (mbfl_html_entity_entry *)mbfl_html_entity_list; in mbfl_filt_conv_html_dec()
251 while (entity->name) { in mbfl_filt_conv_html_dec()
252 if (!strcmp((const char*)buffer+1, entity->name)) { in mbfl_filt_conv_html_dec()
253 ent = entity->code; in mbfl_filt_conv_html_dec()
256 entity++; in mbfl_filt_conv_html_dec()
401 mbfl_html_entity_entry *entity = (mbfl_html_entity_entry*)mbfl_html_entity_list; in mb_htmlent_to_wchar() local
402 while (entity->name) { in mb_htmlent_to_wchar()
403 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar()
404 *out++ = entity->code; in mb_htmlent_to_wchar()
408 entity++; in mb_htmlent_to_wchar()
449 mbfl_html_entity_entry *entity = (mbfl_html_entity_entry*)mbfl_html_entity_list; in mb_wchar_to_htmlent() local
450 while (entity->name) { in mb_wchar_to_htmlent()
451 if (w == entity->code) { in mb_wchar_to_htmlent()
452 MB_CONVERT_BUF_ENSURE(buf, out, limit, len + 1 + strlen(entity->name)); in mb_wchar_to_htmlent()
453 for (char *str = entity->name; *str; str++) { in mb_wchar_to_htmlent()
459 entity++; in mb_wchar_to_htmlent()