Home
last modified time | relevance | path

Searched refs:toRead (Results 1 – 23 of 23) 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/pdfium/xfa/src/fxbarcode/common/
DBC_CommonBitSource.cpp39 int32_t toRead = numBits < bitsLeft ? numBits : bitsLeft; in ReadBits() local
40 int32_t bitsToNotRead = bitsLeft - toRead; in ReadBits()
41 int32_t mask = (0xff >> (8 - toRead)) << bitsToNotRead; in ReadBits()
43 numBits -= toRead; in ReadBits()
44 m_bitOffset += toRead; in ReadBits()
/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.java179 for (int toRead; (toRead = byteBuf.readableBytes()) > 0; ) { in receive()
180 byteBuf.readBytes(buffer, 0, Math.min(buffer.length, toRead)); in receive()
181 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/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.java763 long toRead = Math.min(byteCount, bytesPerPeriod - b);
766 toRead = Math.min(toRead, byteCount - halfByteCount);
769 long read = source.read(buffer, toRead);
826 long toRead = Math.min(remainingByteCount, byteCount);
827 if (toRead > 0) {
828 source.read(buffer, toRead);
830 long toSkip = byteCount - toRead;
834 remainingByteCount -= toRead;
/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/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/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/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...