Home
last modified time | relevance | path

Searched refs:esclen (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/base/
Dstringencode.cc271 size_t esclen = 0; in html_encode() local
273 case '<': escseq = "&lt;"; esclen = 4; break; in html_encode()
274 case '>': escseq = "&gt;"; esclen = 4; break; in html_encode()
275 case '\'': escseq = "&#39;"; esclen = 5; break; in html_encode()
276 case '\"': escseq = "&quot;"; esclen = 6; break; in html_encode()
277 case '&': escseq = "&amp;"; 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 …]
/external/python/cpython3/Modules/cjkcodecs/
D_codecs_iso2022.c295 Py_ssize_t i, esclen = 0; in iso2022processesc() local
301 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()
/external/python/cpython2/Modules/cjkcodecs/
D_codecs_iso2022.c307 Py_ssize_t i, esclen; in iso2022processesc() local
313 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()