Searched defs:toRead (Results 1 - 3 of 3) sorted by last modified time

/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp882 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;
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp682 size_t toRead = toWrite; local
683 if (toRead > BUFSIZE) {
684 toRead = BUFSIZE;
686 ssize_t nRead = read(fd, buf, toRead);
H A DStreamingZipInflater.cpp139 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);

Completed in 101 milliseconds