Lines Matching refs:escseq
270 const char * escseq = 0; in html_encode() local
273 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()
283 memcpy(buffer + bufpos, escseq, esclen); in html_encode()
291 char escseq[kEscseqSize]; in html_encode() local
299 size_t esclen = sprintfn(escseq, kEscseqSize, "&#%lu;", val); in html_encode()
303 memcpy(buffer + bufpos, escseq, esclen); in html_encode()
327 const char * escseq = 0; in xml_encode() local
330 case '<': escseq = "<"; esclen = 4; break; in xml_encode()
331 case '>': escseq = ">"; esclen = 4; break; in xml_encode()
332 case '\'': escseq = "'"; esclen = 6; break; in xml_encode()
333 case '\"': escseq = """; esclen = 6; break; in xml_encode()
334 case '&': escseq = "&"; esclen = 5; break; in xml_encode()
340 memcpy(buffer + bufpos, escseq, esclen); in xml_encode()