Searched refs:esclen (Results 1 – 3 of 3) 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 …]
307 Py_ssize_t i, esclen; in iso2022processesc() local313 esclen = i + 1; in iso2022processesc()324 switch (esclen) { in iso2022processesc()359 return esclen; in iso2022processesc()370 return esclen; in iso2022processesc()374 *inleft -= esclen; in iso2022processesc()375 (*inbuf) += esclen; in iso2022processesc()
295 Py_ssize_t i, esclen = 0; in iso2022processesc() local301 esclen = i + 1; in iso2022processesc()310 switch (esclen) { in iso2022processesc()353 return esclen; in iso2022processesc()365 return esclen; in iso2022processesc()369 *inleft -= esclen; in iso2022processesc()370 (*inbuf) += esclen; in iso2022processesc()