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

  /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/utils/
StreamingZipInflater.cpp 120 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
121 while (toRead > 0) {
123 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable);
130 toRead -= deliverable;
134 if (toRead > 0) {
192 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset);
193 if (toRead > 0) {
194 ssize_t didRead = ::read(mFd, mInBuf, toRead);
195 //LOGV("Reading input chunk, size %08x didread %08x", toRead, didRead);
BackupHelpers.cpp 687 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE;
688 ssize_t nRead = read(fd, buf, toRead);
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DefiniteLengthInputStream.java 73 int toRead = Math.min(len, _remaining);
74 int numRead = _in.read(buf, off, 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;
  /libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java 315 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
316 if ((csize - inRead) < toRead) {
317 toRead = csize - inRead;
319 System.arraycopy(buf, lastRead, buffer, offset, toRead);
320 lastRead += toRead;
321 inRead += toRead;
322 crc.update(buffer, offset, toRead);
323 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 122 int toRead = (size > buffer.length) ? buffer.length : (int)size;
123 int got = in.read(buffer, 0, toRead);
  /frameworks/base/core/java/android/os/
RecoverySystem.java 264 long toRead = fileLen - commentSize - 2;
269 while (soFar < toRead) {
273 if (soFar + size > toRead) {
274 size = (int)(toRead - soFar);
282 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;
  /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/base/voip/jni/rtp/
AudioGroup.cpp 872 int toRead = (mode == MUTED) ? 0 : sampleCount;
875 while (--chances > 0 && (toWrite > 0 || toRead > 0)) {
892 if (toRead > 0) {
894 buffer.frameCount = toRead;
898 int offset = sampleCount - toRead;
900 toRead -= buffer.frameCount;
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java     [all...]
  /frameworks/base/services/java/com/android/server/
BackupManagerService.java     [all...]
  /prebuilt/common/commons-compress/
commons-compress-1.0.jar 

Completed in 5516 milliseconds