Searched defs:remainingBytes (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp31 size_t remainingBytes = byteCount; local
32 while (remainingBytes > 0) {
33 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes);
42 remainingBytes -= writtenByteCount;
50 size_t remainingBytes = byteCount; local
51 while (remainingBytes > 0) {
52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes);
61 remainingBytes -= readByteCount;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp133 size_t remainingBytes = byteCount; local
134 while (remainingBytes > 0) {
135 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes);
144 remainingBytes -= writtenByteCount;
/frameworks/av/media/libstagefright/
H A DMP3Extractor.cpp101 ssize_t remainingBytes = 0; local
112 if (remainingBytes < 4) {
116 memcpy(buf, tmp, remainingBytes);
117 bytesToRead = kMaxReadBytes - remainingBytes;
124 totalBytesRead = source->readAt(pos + remainingBytes,
125 buf + remainingBytes,
131 totalBytesRead += remainingBytes;
132 remainingBytes = totalBytesRead;
143 --remainingBytes;
154 --remainingBytes;
[all...]
H A DOMXCodec.cpp3176 size_t remainingBytes = info->mSize - offset; local
3178 if (srcBuffer->range_length() > remainingBytes) {

Completed in 114 milliseconds