Lines Matching refs:p
113 char *p; in mbfl_filt_conv_html_enc() local
115 for (p = e->name; *p != '\0'; p++) { in mbfl_filt_conv_html_enc()
116 CK((*filter->output_function)((int)*p, filter->data)); in mbfl_filt_conv_html_enc()
123 int *p = tmp + sizeof(tmp) / sizeof(tmp[0]); in mbfl_filt_conv_html_enc() local
129 *(--p) = '\0'; in mbfl_filt_conv_html_enc()
131 *(--p) = "0123456789"[uc % 10]; in mbfl_filt_conv_html_enc()
135 for (; *p != '\0'; p++) { in mbfl_filt_conv_html_enc()
136 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc()
344 unsigned char *p = *in, *e = p + *in_len; in mb_htmlent_to_wchar() local
347 while (p < e && out < limit) { in mb_htmlent_to_wchar()
348 unsigned char c = *p++; in mb_htmlent_to_wchar()
352 unsigned char *terminator = p; in mb_htmlent_to_wchar()
356 if (*p == '#' && (e - p) >= 2) { in mb_htmlent_to_wchar()
359 unsigned char *digits = p + 1; in mb_htmlent_to_wchar()
396 p = terminator + 1; in mb_htmlent_to_wchar()
398 } else if (terminator > p && terminator < e) { in mb_htmlent_to_wchar()
402 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar()
404 p = terminator + 1; in mb_htmlent_to_wchar()
414 while (p < terminator && out < limit) { in mb_htmlent_to_wchar()
415 *out++ = *p++; in mb_htmlent_to_wchar()
418 *out++ = *p++; in mb_htmlent_to_wchar()
427 *in_len = e - p; in mb_htmlent_to_wchar()
428 *in = p; in mb_htmlent_to_wchar()