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 | 163 List<Expr> toRead = getShouldRead(); in testTernaryWithPlus() local 164 List<Expr> readNow = getReadFirst(toRead); in testTernaryWithPlus() 169 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 173 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 176 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 180 toRead = getShouldRead(); in testTernaryWithPlus() 181 assertEquals(2, toRead.size()); in testTernaryWithPlus() 183 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 188 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 193 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() [all …]
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 277 long toRead = fileLen - commentSize - 2; in verifyPackage() local 282 while (soFar < toRead) { in verifyPackage() 286 if (soFar + size > toRead) { in verifyPackage() 287 size = (int)(toRead - soFar); in verifyPackage() 295 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 | 161 int toRead = (size > buffer.length) ? buffer.length : (int)size; in restoreFile() local 162 int got = in.read(buffer, 0, toRead); in restoreFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 3241 int toRead = (chunkTotal > buffer.length) ? buffer.length : chunkTotal; in routeSocketDataToOutput() local 3242 int nRead = in.read(buffer, 0, toRead); in routeSocketDataToOutput() 4971 int toRead = (toCopy > mBuffer.length) in restoreOneFile() local 4973 int nRead = instream.read(mBuffer, 0, toRead); in restoreOneFile() 5026 int toRead = (bytesToConsume > mBuffer.length) in restoreOneFile() local 5028 long nRead = instream.read(mBuffer, 0, toRead); in restoreOneFile() 5164 long toRead = (buffer.length < size) ? buffer.length : size; in installApk() local 5165 int didRead = instream.read(buffer, 0, (int)toRead); in installApk() 6323 int toRead = (toCopy > buffer.length) in restoreOneFile() local 6325 int nRead = instream.read(buffer, 0, toRead); in restoreOneFile() [all …]
|