Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/base/
Dstringencode.cc288 size_t esclen = 0; in html_encode() local
290 case '<': escseq = "&lt;"; esclen = 4; break; in html_encode()
291 case '>': escseq = "&gt;"; esclen = 4; break; in html_encode()
292 case '\'': escseq = "&#39;"; esclen = 5; break; in html_encode()
293 case '\"': escseq = "&quot;"; esclen = 6; break; in html_encode()
294 case '&': escseq = "&amp;"; esclen = 5; break; in html_encode()
297 if (bufpos + esclen >= buflen) { in html_encode()
300 memcpy(buffer + bufpos, escseq, esclen); in html_encode()
301 bufpos += esclen; in html_encode()
315 size_t esclen = sprintfn(escseq, ARRAY_SIZE(escseq), "&#%lu;", val); in html_encode() local
[all …]
/external/chromium_org/third_party/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()
298 size_t esclen = sprintfn(escseq, ARRAY_SIZE(escseq), "&#%lu;", val); in html_encode() local
[all …]