Searched refs:remainingBytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 31 size_t remainingBytes = byteCount; in writeAllBytes() local 32 while (remainingBytes > 0) { in writeAllBytes() 33 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes); in writeAllBytes() 42 remainingBytes -= writtenByteCount; in writeAllBytes() 50 size_t remainingBytes = byteCount; in readAllBytes() local 51 while (remainingBytes > 0) { in readAllBytes() 52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes); in readAllBytes() 61 remainingBytes -= readByteCount; in readAllBytes()
|
/frameworks/av/media/libstagefright/ |
D | MP3Extractor.cpp | 101 ssize_t remainingBytes = 0; in Resync() local 112 if (remainingBytes < 4) { in Resync() 116 memcpy(buf, tmp, remainingBytes); in Resync() 117 bytesToRead = kMaxReadBytes - remainingBytes; in Resync() 124 totalBytesRead = source->readAt(pos + remainingBytes, in Resync() 125 buf + remainingBytes, in Resync() 131 totalBytesRead += remainingBytes; in Resync() 132 remainingBytes = totalBytesRead; in Resync() 143 --remainingBytes; in Resync() 154 --remainingBytes; in Resync() [all …]
|
D | OMXCodec.cpp | 2987 size_t remainingBytes = info->mSize - offset; in drainInputBuffer() local 2989 if (srcBuffer->range_length() > remainingBytes) { in drainInputBuffer()
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 147 int remainingBytes = srcBuffer.remaining() - srcOffset; in imageCopy() local 148 if (srcByteCount > remainingBytes) { in imageCopy() 149 srcByteCount = remainingBytes; in imageCopy()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 138 size_t remainingBytes = byteCount; in writeAllBytes() local 139 while (remainingBytes > 0) { in writeAllBytes() 140 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes); in writeAllBytes() 149 remainingBytes -= writtenByteCount; in writeAllBytes()
|