Searched refs:bytesToRead (Results 1 – 9 of 9) sorted by relevance
37 int32_t bytesToRead = numBytes; in readFromStorage() local39 if (bytesToRead > dataAvailable) { in readFromStorage()40 bytesToRead = dataAvailable; in readFromStorage()42 memcpy(buffer, mStorage + mPosition, bytesToRead); in readFromStorage()43 mPosition += bytesToRead; in readFromStorage()44 return bytesToRead; in readFromStorage()
247 ssize_t bytesToRead = kMaxReadBytes; in resync() local264 bytesToRead = kMaxReadBytes - remainingBytes; in resync()272 buf + remainingBytes, bytesToRead); in resync()277 reachEOS = (totalBytesRead != bytesToRead); in resync()
530 int bytesToRead = length; in read() local544 if (bytesToRead > mL2capBuffer.remaining()) { in read()545 bytesToRead = mL2capBuffer.remaining(); in read()549 + " bytesToRead: " + bytesToRead); in read()551 mL2capBuffer.get(b, offset, bytesToRead); in read()552 ret = bytesToRead; in read()
235 size_t bytesToRead = offset + size - mCachedOffset - mCachedSize; in readAt() local236 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt()237 if (bytesRead > bytesToRead || bytesRead == 0) { in readAt()241 } else if (bytesRead < bytesToRead) { in readAt()
99 ssize_t bytesToRead = kMaxReadBytes; in Resync() local117 bytesToRead = kMaxReadBytes - remainingBytes; in Resync()126 bytesToRead); in Resync()130 reachEOS = (totalBytesRead != bytesToRead); in Resync()
415 size_t bytesToRead = framesToRead * bytesPerDeviceFrame; in read() local416 … bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()
2472 int bytesToRead = (int) Math.min(buffer.length, length2 - total); in addTimedTextSource()2473 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
3032 int bytesToRead = (int) Math.min(buffer.length, length2 - total); in addTimedTextSource()3033 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...