Searched refs:ZRLE_BUFFER_LENGTH (Results 1 – 3 of 3) sorted by relevance
190 …EncodingZRLE, sz_rfbFramebufferUpdateRectHeader + sz_rfbZRLEHeader + ZRLE_BUFFER_LENGTH(&zos->out), in rfbSendRectEncodingZRLE()210 hdr.length = Swap32IfLE(ZRLE_BUFFER_LENGTH(&zos->out)); in rfbSendRectEncodingZRLE()217 for (i = 0; i < ZRLE_BUFFER_LENGTH(&zos->out);) { in rfbSendRectEncodingZRLE()221 if (i + bytesToCopy > ZRLE_BUFFER_LENGTH(&zos->out)) { in rfbSendRectEncodingZRLE()222 bytesToCopy = ZRLE_BUFFER_LENGTH(&zos->out) - i; in rfbSendRectEncodingZRLE()
53 offset = ZRLE_BUFFER_LENGTH (buffer); in zrleBufferGrow()108 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); in zrleOutStreamFlush()160 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); in zrleOutStreamOverrun()
41 #define ZRLE_BUFFER_LENGTH(b) ((b)->ptr - (b)->start) macro