Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Drfbssl_gnutls.c31 int peekstart; member
195 if (ctx->peekstart) { in rfbssl_gc_peekbuf()
196 int spaceleft = sizeof(ctx->peekbuf) - ctx->peeklen - ctx->peekstart; in rfbssl_gc_peekbuf()
198 memmove(ctx->peekbuf, ctx->peekbuf + ctx->peekstart, ctx->peeklen); in rfbssl_gc_peekbuf()
199 ctx->peekstart = 0; in rfbssl_gc_peekbuf()
214 memcpy (buf, ctx->peekbuf + ctx->peekstart, ret); in __rfbssl_read()
218 ctx->peekstart += ret; in __rfbssl_read()
220 ctx->peekstart = 0; in __rfbssl_read()
232 memcpy(ctx->peekbuf + ctx->peekstart + ctx->peeklen, buf + ret, n); in __rfbssl_read()