Home
last modified time | relevance | path

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

/external/libvncserver/libvncclient/
Dultra.c38 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()
[all …]
Dzlib.c41 int toRead; in HandleZlibBPP() local
100 toRead = RFB_BUFFER_SIZE; in HandleZlibBPP()
103 toRead = remaining; in HandleZlibBPP()
107 if (!ReadFromRFBServer(client, client->buffer,toRead)) in HandleZlibBPP()
111 client->decompStream.avail_in = toRead; in HandleZlibBPP()
138 remaining -= toRead; in HandleZlibBPP()
Dzrle.c89 int toRead; in HandleZRLE() local
149 toRead = RFB_BUFFER_SIZE; in HandleZRLE()
152 toRead = remaining; in HandleZRLE()
156 if (!ReadFromRFBServer(client, client->buffer,toRead)) in HandleZRLE()
160 client->decompStream.avail_in = toRead; in HandleZRLE()
187 remaining -= toRead; in HandleZRLE()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java167 int toRead = (int) Math.min(frameLength - frameBytesRead, maskBuffer.length); in readControlFrame() local
168 int read = source.read(maskBuffer, 0, toRead); in readControlFrame()
259 long toRead = Math.min(byteCount, frameLength - frameBytesRead); in read() local
263 toRead = Math.min(toRead, maskBuffer.length); in read()
264 read = source.read(maskBuffer, 0, (int) toRead); in read()
269 read = source.read(sink, toRead); in read()
DWebSocketWriter.java240 int toRead = (int) Math.min(byteCount, maskBuffer.length); in writeAllMasked() local
241 int read = source.read(maskBuffer, 0, toRead); in writeAllMasked()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DNettyHttpClient.java180 for (int toRead; (toRead = byteBuf.readableBytes()) > 0; ) { in receive()
181 byteBuf.readBytes(buffer, 0, Math.min(buffer.length, toRead)); in receive()
182 total += toRead; in receive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDefiniteLengthInputStream.java73 int toRead = Math.min(len, _remaining); in read() local
74 int numRead = _in.read(buf, off, toRead); in read()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DPutFilter.java215 int toRead = request.getContentLength(); in handlePut() local
223 if (toRead >= 0) in handlePut()
224 IO.copy(in, out, toRead); in handlePut()
235 if (toRead >= 0) in handlePut()
236 IO.copy(in, out, toRead); in handlePut()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLBIOSource.java85 int toRead = Math.min(source.remaining(), byteCount); in read() local
87 source.get(buffer, byteOffset, toRead); in read()
DOpenSSLEngineImpl.java581 int toRead = src.remaining(); in wrap() local
582 if (buffer == null || toRead > buffer.length) { in wrap()
583 buffer = new byte[toRead]; in wrap()
589 src.duplicate().get(buffer, 0, toRead); in wrap()
590 int numRead = NativeCrypto.SSL_write_BIO(sslNativePointer, buffer, toRead, in wrap()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DSavableSerializer.java96 int toRead = len > input.remaining() ? input.remaining() : len; in read() local
98 return toRead; in read()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
DHttpZipLocator.java130 int toRead = Math.min(len - read, byteBuf.capacity()); in getUTF8String() local
132 boolean endOfInput = toRead < byteBuf.capacity(); in getUTF8String()
135 byteBuf.put(b, off + read, toRead); in getUTF8String()
162 read += toRead; in getUTF8String()
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSource.java54 long toRead = Math.min(byteCount, buffer.size); in read() local
55 return buffer.read(sink, toRead); in read()
129 int toRead = (int) Math.min(byteCount, buffer.size); in read() local
130 return buffer.read(sink, offset, toRead); in read()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java743 long toRead = Math.min(Math.min(2048, byteCount), bytesPerPeriod - b); in throttledTransfer() local
744 long read = source.read(buffer, toRead); in throttledTransfer()
796 long toRead = Math.min(remainingByteCount, byteCount); in write() local
797 if (toRead > 0) { in write()
798 source.read(buffer, toRead); in write()
800 long toSkip = byteCount - toRead; in write()
804 remainingByteCount -= toRead; in write()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java536 int toRead = (int) Math.min(Math.min(buffer.length, limit), bytesPerPeriod - b); in throttledTransfer() local
537 int read = in.read(buffer, 0, toRead); in throttledTransfer()
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch21857 + int toRead;
21917 + toRead = BUFFER_SIZE;
21920 + toRead = remaining;
21924 + if (!ReadFromRFBServer(buffer,toRead))
21928 + decompStream.avail_in = toRead;
21955 + remaining -= toRead;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...