Lines Matching defs:bytes
83 // GETN(n, s) requests at least 'n' bytes available from 'q', at start of state 's'.
85 // Note, the hold will never need to be bigger than 256 bytes to gather up in the hold,
86 // as each GIF block (except colormaps) can never be bigger than 256 bytes.
298 // Move the remaining bytes to the beginning of the buffer.
325 const size_t bytes = m_colors * SK_BYTES_PER_COLORMAP_ENTRY;
326 sk_sp<SkData> rawData(streamBuffer->getDataAtPosition(m_position, bytes));
332 const uint8_t* srcColormap = rawData->bytes();
547 // The GIF spec mandates that the GIFControlExtension header block length is 4 bytes,
549 // and the parser for this block reads 4 bytes, so we must enforce that the buffer
550 // contains at least this many bytes. If the GIF specifies a different length, we
556 // (as 12 and 11 bytes, respectively). Because we ignore the plain text extension entirely
560 // that are both shorter and longer than 11 bytes.
662 // SkGIFConsumeNetscapeExtension always reads 3 bytes from the stream; we should at least wait for this amount.
692 // Wait for specified # of bytes to enter buffer.
977 // each value is a byte, this is also the number of bytes in the longest
983 // This means worst case we may have (row width - 1) bytes in the buffer