Searched refs:esclen (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | stringencode.cc | 288 size_t esclen = 0; in html_encode() local 290 case '<': escseq = "<"; esclen = 4; break; in html_encode() 291 case '>': escseq = ">"; esclen = 4; break; in html_encode() 292 case '\'': escseq = "'"; esclen = 5; break; in html_encode() 293 case '\"': escseq = """; esclen = 6; break; in html_encode() 294 case '&': escseq = "&"; 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/ |
D | stringencode.cc | 271 size_t esclen = 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() 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 …]
|