Lines Matching refs:toRead
38 int toRead=0; in HandleUltraBPP() local
45 toRead = rfbClientSwap32IfLE(hdr.nBytes); in HandleUltraBPP()
46 if (toRead==0) return TRUE; in HandleUltraBPP()
72 if ( client->ultra_buffer_size < toRead ) { in HandleUltraBPP()
76 client->ultra_buffer_size = toRead; in HandleUltraBPP()
84 if (!ReadFromRFBServer(client, client->ultra_buffer, toRead)) in HandleUltraBPP()
90 (lzo_byte *)client->ultra_buffer, toRead, in HandleUltraBPP()
119 int toRead=0; in HandleUltraZipBPP() local
128 toRead = rfbClientSwap32IfLE(hdr.nBytes); in HandleUltraZipBPP()
130 if (toRead==0) return TRUE; in HandleUltraZipBPP()
157 if ( client->ultra_buffer_size < toRead ) { in HandleUltraZipBPP()
161 client->ultra_buffer_size = toRead; in HandleUltraZipBPP()
166 if (!ReadFromRFBServer(client, client->ultra_buffer, toRead)) in HandleUltraZipBPP()
172 (lzo_byte *)client->ultra_buffer, toRead, in HandleUltraZipBPP()