Lines Matching refs:size_t
122 void infoCallback(size_t idatLength);
135 SkStream* stream, void* buffer, size_t bufferSize, size_t length) {
137 const size_t bytesToProcess = std::min(bufferSize, length);
138 const size_t bytesRead = stream->read(buffer, bytesToProcess);
158 constexpr size_t kBufferSize = 4096;
178 const size_t length = png_get_uint_32(chunk);
215 constexpr size_t kBufferSize = 65536; // 65536, expand buffer to improve performance
217 constexpr size_t kBufferSize = 4096;
223 size_t length;
331 bool SkPngCodec::IsPng(const void* buf, size_t bytesRead) {
449 const size_t bytesPerPixel = (bitsPerPixel > 32) ? bitsPerPixel / 8 : 4;
450 const size_t colorXformBytes = dstInfo.width() * bytesPerPixel;
519 size_t fRowBytes;
532 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override {
561 void setRange(int firstRow, int lastRow, void* dst, size_t rowBytes) override {
636 size_t fRowBytes;
639 size_t fPng_rowbytes;
678 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override {
707 void setRange(int firstRow, int lastRow, void* dst, size_t rowBytes) override {
842 void AutoCleanPng::infoCallback(size_t idatLength) {
1159 size_t rowBytes, const Options& options,
1176 void* dst, size_t rowBytes, const SkCodec::Options& options) {