HomeSort by relevance Sort by last modified time
    Searched defs:toRead (Results 1 - 25 of 115) sorted by null

1 2 3 4 5

  /cts/suite/audio_quality/lib/src/audio/
AudioRecordingLocal.cpp 73 int toRead = mSizes;
75 toRead = buffer->amountToHandle();
77 LOGD("recording will read %d", toRead);
79 while (toRead > 0) {
80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead;
86 toRead -= readSize;
  /external/libvncserver/libvncclient/
zlib.c 41 int toRead;
100 toRead = RFB_BUFFER_SIZE;
103 toRead = remaining;
107 if (!ReadFromRFBServer(client, client->buffer,toRead))
111 client->decompStream.avail_in = toRead;
138 remaining -= toRead;
ultra.c 38 int toRead=0;
45 toRead = rfbClientSwap32IfLE(hdr.nBytes);
46 if (toRead==0) return TRUE;
72 if ( client->ultra_buffer_size < toRead ) {
76 client->ultra_buffer_size = toRead;
84 if (!ReadFromRFBServer(client, client->ultra_buffer, toRead))
90 (lzo_byte *)client->ultra_buffer, toRead,
119 int toRead=0;
128 toRead = rfbClientSwap32IfLE(hdr.nBytes);
130 if (toRead==0) return TRUE
    [all...]
zrle.c 89 int toRead;
149 toRead = RFB_BUFFER_SIZE;
152 toRead = remaining;
156 if (!ReadFromRFBServer(client, client->buffer,toRead))
160 client->decompStream.avail_in = toRead;
187 remaining -= toRead;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DefiniteLengthInputStream.java 73 int toRead = Math.min(len, _remaining);
74 int numRead = _in.read(buf, off, toRead);
  /external/pdfium/xfa/src/fxbarcode/common/
BC_CommonBitSource.cpp 39 int32_t toRead = numBits < bitsLeft ? numBits : bitsLeft;
40 int32_t bitsToNotRead = bitsLeft - toRead;
41 int32_t mask = (0xff >> (8 - toRead)) << bitsToNotRead;
43 numBits -= toRead;
44 m_bitOffset += toRead;
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
JavaSoundAudioRecorder.java 47 int toRead = numSamples * 2;
49 while (read != toRead)
50 read += line.read(buffer, read, toRead - read);
  /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
JavaSoundAudioRecorder.java 47 int toRead = numSamples * 2;
49 while (read != toRead)
50 read += line.read(buffer, read, toRead - read);
  /frameworks/base/libs/androidfw/
StreamingZipInflater.cpp 139 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
140 while (toRead > 0) {
142 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable);
149 toRead -= deliverable;
153 if (toRead > 0) {
211 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset);
212 if (toRead > 0) {
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
215 ALOGV("Reading input chunk, size %08zx didread %08zx", toRead, didRead);
BackupHelpers.cpp 682 size_t toRead = toWrite;
683 if (toRead > BUFSIZE) {
684 toRead = BUFSIZE;
686 ssize_t nRead = read(fd, buf, toRead);
    [all...]
  /cts/suite/audio_quality/lib/src/
ClientSocket.cpp 97 int toRead = len;
98 while (toRead > 0) {
117 read = recv(mSocket, (void*)data, toRead, 0);
119 toRead -= read;
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSource.java 85 int toRead = Math.min(source.remaining(), byteCount);
87 source.get(buffer, byteOffset, toRead);
OpenSSLEngineImpl.java 581 int toRead = src.remaining();
582 if (buffer == null || toRead > buffer.length) {
583 buffer = new byte[toRead];
589 src.duplicate().get(buffer, 0, toRead);
590 int numRead = NativeCrypto.SSL_write_BIO(sslNativePointer, buffer, toRead,
  /libcore/luni/src/main/java/libcore/io/
Streams.java 158 int toRead = (int) Math.min(byteCount - skipped, buffer.length);
159 int read = in.read(buffer, 0, toRead);
164 if (read < toRead) {
  /system/vold/
Keymaster.cpp 122 size_t toRead = static_cast<size_t>(input.end() - it);
123 keymaster_blob_t inputBlob{reinterpret_cast<const uint8_t*>(&*it), toRead};
135 if (inputConsumed > toRead) {
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
FileDisk.java 113 int toRead = dest.remaining();
114 if ((devOffset + toRead) > getSize()) throw new IOException(
117 while (toRead > 0) {
120 toRead -= read;
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
WebSocketReader.java 167 int toRead = (int) Math.min(frameLength - frameBytesRead, maskBuffer.length);
168 int read = source.read(maskBuffer, 0, toRead);
259 long toRead = Math.min(byteCount, frameLength - frameBytesRead);
263 toRead = Math.min(toRead, maskBuffer.length);
264 read = source.read(maskBuffer, 0, (int) toRead);
269 read = source.read(sink, toRead);
WebSocketWriter.java 240 int toRead = (int) Math.min(byteCount, maskBuffer.length);
241 int read = source.read(maskBuffer, 0, toRead);
  /external/okhttp/okio/okio/src/main/java/okio/
RealBufferedSource.java 54 long toRead = Math.min(byteCount, buffer.size);
55 return buffer.read(sink, toRead);
129 int toRead = (int) Math.min(byteCount, buffer.size);
130 return buffer.read(sink, offset, toRead);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
CachedInputStream.java 159 int toRead = count > leftInBuffer ? leftInBuffer : count;
160 int reads = in.read(buf, indexInBuf, toRead);
196 int toRead = read > leftInBuffer ? leftInBuffer : read;
197 System.arraycopy(buf, indexInBuf, buffer, offset, toRead);
198 offset += toRead;
199 read -= toRead;
200 totalRead += toRead;
201 mPos += toRead;
238 int toRead = (int) (byteCount > leftInBuffer ? leftInBuffer : byteCount);
239 int reads = in.read(buf, indexInBuf, toRead);
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/servlets/
PutFilter.java 215 int toRead = request.getContentLength();
223 if (toRead >= 0)
224 IO.copy(in, out, toRead);
235 if (toRead >= 0)
236 IO.copy(in, out, toRead);
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 536 int toRead = (int) Math.min(Math.min(buffer.length, limit), bytesPerPeriod - b);
537 int read = in.read(buffer, 0, toRead);
  /frameworks/base/core/java/android/app/backup/
FullBackup.java 171 int toRead = (size > buffer.length) ? buffer.length : (int)size;
172 int got = in.read(buffer, 0, toRead);
  /frameworks/opt/net/voip/src/jni/rtp/
AudioGroup.cpp 882 int toRead = (mode == MUTED) ? 0 : sampleCount;
885 while (--chances > 0 && (toWrite > 0 || toRead > 0)) {
902 if (toRead > 0) {
904 buffer.frameCount = toRead;
908 int offset = sampleCount - toRead;
910 toRead -= buffer.frameCount;
  /frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
ExprModelTest.java 199 List<Expr> toRead = getShouldRead();
200 List<Expr> readNow = getReadFirst(toRead);
205 readNow = filterOut(getReadFirst(toRead, justRead), justRead);
209 readNow = filterOut(getReadFirst(toRead, justRead), justRead);
212 readNow = filterOut(getReadFirst(toRead, justRead), justRead);
216 toRead = getShouldRead();
217 assertEquals(2, toRead.size());
219 readNow = filterOut(getReadFirst(toRead, justRead), justRead);
224 readNow = filterOut(getReadFirst(toRead, justRead), justRead);
229 readNow = filterOut(getReadFirst(toRead, justRead), justRead)
    [all...]

Completed in 1938 milliseconds

1 2 3 4 5