Searched refs:portionLen (Results 1 – 3 of 3) sorted by relevance
/external/libvncserver/libvncclient/ |
D | tight.c | 101 int bufferSize, rowSize, numRows, portionLen, rowsProcessed, extraBytes; in HandleTightBPP() local 244 portionLen = ZLIB_BUFFER_SIZE; in HandleTightBPP() 246 portionLen = compressedLen; in HandleTightBPP() 248 if (!ReadFromRFBServer(client, (char*)client->zlib_buffer, portionLen)) in HandleTightBPP() 251 compressedLen -= portionLen; in HandleTightBPP() 254 zs->avail_in = portionLen; in HandleTightBPP()
|
/external/libvncserver/x11vnc/misc/turbovnc/ |
D | tight.c | 927 int i, portionLen; local 942 portionLen = UPDATE_BUF_SIZE; 943 for (i = 0; i < compressedLen; i += portionLen) { 944 if (i + portionLen > compressedLen) { 945 portionLen = compressedLen - i; 947 if (ublen + portionLen > UPDATE_BUF_SIZE) { 951 memcpy(&updateBuf[ublen], &buf[i], portionLen); 952 ublen += portionLen;
|
/external/libvncserver/libvncserver/ |
D | tight.c | 1089 int i, portionLen; in SendCompressedData() local 1104 portionLen = UPDATE_BUF_SIZE; in SendCompressedData() 1105 for (i = 0; i < compressedLen; i += portionLen) { in SendCompressedData() 1106 if (i + portionLen > compressedLen) { in SendCompressedData() 1107 portionLen = compressedLen - i; in SendCompressedData() 1109 if (cl->ublen + portionLen > UPDATE_BUF_SIZE) { in SendCompressedData() 1113 memcpy(&cl->updateBuf[cl->ublen], &buf[i], portionLen); in SendCompressedData() 1114 cl->ublen += portionLen; in SendCompressedData()
|