Lines Matching refs:compressedLen
142 static Bool SendCompressedData(rfbClientPtr cl, char *buf, int compressedLen);
922 static Bool SendCompressedData(cl, buf, compressedLen) in SendCompressedData() argument
925 int compressedLen;
929 updateBuf[ublen++] = compressedLen & 0x7F;
931 if (compressedLen > 0x7F) {
933 updateBuf[ublen++] = compressedLen >> 7 & 0x7F;
935 if (compressedLen > 0x3FFF) {
937 updateBuf[ublen++] = compressedLen >> 14 & 0xFF;
943 for (i = 0; i < compressedLen; i += portionLen) {
944 if (i + portionLen > compressedLen) {
945 portionLen = compressedLen - i;
954 cl->rfbBytesSent[rfbEncodingTight] += compressedLen;