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

1 2

  /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;
  /libcore/luni/src/main/java/java/io/
Reader.java 222 int toRead = charCount < 512 ? (int) charCount : 512;
223 char[] charsSkipped = new char[toRead];
225 int read = read(charsSkipped, 0, toRead);
230 if (read < toRead) {
233 if (charCount - skipped < toRead) {
234 toRead = (int) (charCount - skipped);
  /frameworks/base/libs/androidfw/
StreamingZipInflater.cpp 137 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
138 while (toRead > 0) {
140 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable);
147 toRead -= deliverable;
151 if (toRead > 0) {
209 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset);
210 if (toRead > 0) {
211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
212 //ALOGV("Reading input chunk, size %08x didread %08x", toRead, didRead);
BackupHelpers.cpp 684 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE;
685 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;
  /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/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);
  /libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java 316 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
317 if ((csize - inRead) < toRead) {
318 toRead = csize - inRead;
320 System.arraycopy(buf, lastRead, buffer, offset, toRead);
321 lastRead += toRead;
322 inRead += toRead;
323 crc.update(buffer, offset, toRead);
324 return toRead;
  /hardware/invensense/mlsdk/mllite/
mlFIFOHW.c 116 uint_fast16_t toRead;
119 toRead = length - FIFO_FOOTER_SIZE + fifo_objHW.fifoCount;
121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) {
140 0 ? buffer : buffer + FIFO_FOOTER_SIZE, toRead);
169 for (kk = 0; kk < (int)toRead; kk++) {
  /external/srec/shared/src/
CircularBuffer.c 80 int toRead = bufSize - nbRead;
81 memcpy(((unsigned char *) data) + nbRead, bufferData + buffer->readIdx, toRead);
82 buffer->size -= toRead;
83 buffer->readIdx += toRead;
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
SavableSerializer.java 96 int toRead = len > input.remaining() ? input.remaining() : len;
98 return toRead;
  /libcore/luni/src/main/java/libcore/io/
Streams.java 157 int toRead = (int) Math.min(byteCount - skipped, buffer.length);
158 int read = in.read(buffer, 0, toRead);
163 if (read < toRead) {
  /frameworks/base/core/java/android/app/backup/
FullBackup.java 124 int toRead = (size > buffer.length) ? buffer.length : (int)size;
125 int got = in.read(buffer, 0, toRead);
  /frameworks/base/core/java/android/os/
RecoverySystem.java 269 long toRead = fileLen - commentSize - 2;
274 while (soFar < toRead) {
278 if (soFar + size > toRead) {
279 size = (int)(toRead - soFar);
287 int p = (int)(soFar * 100 / toRead);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
BufferedInputStreamTest.java 360 int toRead = len;
361 if (toRead > available()) {
362 toRead = available();
364 System.arraycopy(contents, pos, buf, off, toRead);
365 pos += toRead;
366 return toRead;
BufferedReaderTest.java 312 int toRead = len;
313 if (toRead > (size - pos))
314 toRead = size - pos;
315 System.arraycopy(contents, pos, buf, off, toRead);
316 pos += toRead;
317 return toRead;
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
HttpZipLocator.java 130 int toRead = Math.min(len - read, byteBuf.capacity());
132 boolean endOfInput = toRead < byteBuf.capacity();
134 // read 'toRead' bytes into byteBuf
135 byteBuf.put(b, off + read, toRead);
162 read += toRead;
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java 267 int toRead = (int) Math.min(byteCount - skipped, buffer.length);
268 int read = in.read(buffer, 0, toRead);
273 if (read < toRead) {
  /packages/apps/Browser/src/com/android/browser/
BrowserBackupAgent.java 187 private long copyBackupToFile(BackupDataInput data, File file, int toRead)
195 while (toRead > 0) {
199 toRead -= numRead;
  /frameworks/opt/net/voip/src/jni/rtp/
AudioGroup.cpp 871 int toRead = (mode == MUTED) ? 0 : sampleCount;
874 while (--chances > 0 && (toWrite > 0 || toRead > 0)) {
891 if (toRead > 0) {
893 buffer.frameCount = toRead;
897 int offset = sampleCount - toRead;
899 toRead -= buffer.frameCount;
  /prebuilts/devtools/tools/lib/
jobb.jar 
fat32lib.jar 
commons-compress-1.0.jar 
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java     [all...]
  /frameworks/base/services/java/com/android/server/
BackupManagerService.java     [all...]

Completed in 1612 milliseconds

1 2