Searched defs:toRead (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/ |
H A D | StreamingZipInflater.cpp | 139 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition)); local 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); local 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);
|
H A D | BackupHelpers.cpp | 682 size_t toRead = toWrite; local 683 if (toRead > BUFSIZE) { 684 toRead = BUFSIZE; 686 ssize_t nRead = read(fd, buf, toRead);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 882 int toRead = (mode == MUTED) ? 0 : sampleCount; local 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;
|
Completed in 95 milliseconds