Searched refs:toRead (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 139 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition)); in read() local 140 while (toRead > 0) { in read() 142 size_t deliverable = min_of(toRead, mOutLastDecoded - mOutDeliverable); in read() 149 toRead -= deliverable; in read() 153 if (toRead > 0) { in read() 211 size_t toRead = min_of(mInBufSize, mInTotalSize - mInNextChunkOffset); in readNextChunk() local 212 if (toRead > 0) { in readNextChunk() 213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); in readNextChunk() 215 ALOGV("Reading input chunk, size %08zx didread %08zx", toRead, didRead); in readNextChunk()
|
D | BackupHelpers.cpp | 682 size_t toRead = toWrite; in write_tarfile() local 683 if (toRead > BUFSIZE) { in write_tarfile() 684 toRead = BUFSIZE; in write_tarfile() 686 ssize_t nRead = read(fd, buf, toRead); in write_tarfile()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprModelTest.java | 199 List<Expr> toRead = getShouldRead(); in testTernaryWithPlus() local 200 List<Expr> readNow = getReadFirst(toRead); in testTernaryWithPlus() 205 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 209 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 212 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 216 toRead = getShouldRead(); in testTernaryWithPlus() 217 assertEquals(2, toRead.size()); in testTernaryWithPlus() 219 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 224 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 229 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() [all …]
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 255 long toRead = fileLen - commentSize - 2; in verifyPackage() 268 if (soFar >= toRead) { in verifyPackage() 276 if (soFar + size > toRead) { in verifyPackage() 277 size = (int)(toRead - soFar); in verifyPackage() 284 int p = (int)(soFar * 100 / toRead); in verifyPackage()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 882 int toRead = (mode == MUTED) ? 0 : sampleCount; in threadLoop() local 885 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { in threadLoop() 902 if (toRead > 0) { in threadLoop() 904 buffer.frameCount = toRead; in threadLoop() 908 int offset = sampleCount - toRead; in threadLoop() 910 toRead -= buffer.frameCount; in threadLoop()
|
/frameworks/base/core/java/android/app/backup/ |
D | FullBackup.java | 169 int toRead = (size > buffer.length) ? buffer.length : (int)size; in restoreFile() local 170 int got = in.read(buffer, 0, toRead); in restoreFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 3554 int toRead = (chunkTotal > buffer.length) ? buffer.length : chunkTotal; in routeSocketDataToOutput() local 3555 int nRead = in.read(buffer, 0, toRead); in routeSocketDataToOutput() 5592 int toRead = (toCopy > mBuffer.length) in restoreOneFile() local 5594 int nRead = instream.read(mBuffer, 0, toRead); in restoreOneFile() 5648 int toRead = (bytesToConsume > mBuffer.length) in restoreOneFile() local 5650 long nRead = instream.read(mBuffer, 0, toRead); in restoreOneFile() 5792 long toRead = (buffer.length < size) ? buffer.length : size; in installApk() local 5793 int didRead = instream.read(buffer, 0, (int)toRead); in installApk() 7012 int toRead = (toCopy > buffer.length) in restoreOneFile() local 7014 int nRead = instream.read(buffer, 0, toRead); in restoreOneFile() [all …]
|