Home
last modified time | relevance | path

Searched refs:remainingBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp31 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/
DMP3Extractor.cpp101 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 …]
DOMXCodec.cpp2987 size_t remainingBytes = info->mSize - offset; in drainInputBuffer() local
2989 if (srcBuffer->range_length() > remainingBytes) { in drainInputBuffer()
/frameworks/base/media/java/android/media/
DImageUtils.java147 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/
DPdfEditor.cpp138 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()