Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dwebsockets.c82 char codeBuf[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */ member
493 wsctx->codeBuf[sz++] = '\x00'; in webSocketsEncodeHixie()
494 … len = __b64_ntop((unsigned char *)src, len, wsctx->codeBuf+sz, sizeof(wsctx->codeBuf) - (sz + 1)); in webSocketsEncodeHixie()
500 wsctx->codeBuf[sz++] = '\xff'; in webSocketsEncodeHixie()
501 *dst = wsctx->codeBuf; in webSocketsEncodeHixie()
539 buf = wsctx->codeBuf; in webSocketsDecodeHixie()
660 buf = wsctx->codeBuf; in webSocketsDecodeHybi()
661 header = (ws_header_t *)wsctx->codeBuf; in webSocketsDecodeHybi()
745 …if (-1 == (flength = __b64_pton(payload, (unsigned char *)wsctx->codeBuf, sizeof(wsctx->codeBuf)))… in webSocketsDecodeHybi()
749 payload = wsctx->codeBuf; in webSocketsDecodeHybi()
[all …]