Home
last modified time | relevance | path

Searched refs:bytesToSkip (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/images/
DSkJpegUtility.cpp59 long bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data() local
60 while (bytesToSkip > 0) { in sk_skip_input_data()
61 long bytes = (long)src->fStream->skip(bytesToSkip); in sk_skip_input_data()
62 if (bytes <= 0 || bytes > bytesToSkip) { in sk_skip_input_data()
68 bytesToSkip -= bytes; in sk_skip_input_data()
/external/quake/src/com/android/quake/
DDownloaderActivity.java614 long bytesToSkip = 0; in downloadFile() local
617 bytesToSkip = dest.length(); in downloadFile()
618 mDownloadedSize += bytesToSkip; in downloadFile()
626 if ((part.size > bytesToSkip) || (part.size == 0)) { in downloadFile()
630 if (bytesToSkip > 0) { in downloadFile()
634 readIntoDigest(is, bytesToSkip, digest); in downloadFile()
643 downloadPart(part.src, os, bytesToSkip, in downloadFile()
660 bytesToSkip -= Math.min(bytesToSkip, part.size); in downloadFile()
846 long bytesToSkip = 0; in get() local
853 bytesToSkip = startOffset; in get()
[all …]
/external/skia/src/ports/
DSkFontHost_tables.cpp194 size_t bytesToSkip = realOffset + offset; in GetTableData() local
195 if (stream->skip(bytesToSkip) != bytesToSkip) { in GetTableData()
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp175 long bytesToSkip = std::min(numBytes, (long)src->pub.bytes_in_buffer); in skipBytes() local
176 src->pub.bytes_in_buffer -= (size_t)bytesToSkip; in skipBytes()
177 src->pub.next_input_byte += bytesToSkip; in skipBytes()
179 m_bytesToSkip = std::max(numBytes - bytesToSkip, static_cast<long>(0)); in skipBytes()