Searched refs:esclen (Results 1 – 1 of 1) sorted by relevance
271 size_t esclen = 0; in html_encode() local273 case '<': escseq = "<"; esclen = 4; break; in html_encode()274 case '>': escseq = ">"; esclen = 4; break; in html_encode()275 case '\'': escseq = "'"; esclen = 5; break; in html_encode()276 case '\"': escseq = """; esclen = 6; break; in html_encode()277 case '&': escseq = "&"; esclen = 5; break; in html_encode()280 if (bufpos + esclen >= buflen) { in html_encode()283 memcpy(buffer + bufpos, escseq, esclen); in html_encode()284 bufpos += esclen; in html_encode()299 size_t esclen = sprintfn(escseq, kEscseqSize, "&#%lu;", val); in html_encode() local[all …]