Lines Matching refs:storage_ix
551 size_t* storage_ix, in WriteMetaBlockInternal() argument
561 BrotliWriteBits(2, 3, storage_ix, storage); in WriteMetaBlockInternal()
562 *storage_ix = (*storage_ix + 7u) & ~7u; in WriteMetaBlockInternal()
573 storage_ix, storage); in WriteMetaBlockInternal()
577 BROTLI_DCHECK(*storage_ix <= 14); in WriteMetaBlockInternal()
579 last_bytes_bits = (uint8_t)(*storage_ix); in WriteMetaBlockInternal()
584 storage_ix, storage); in WriteMetaBlockInternal()
590 storage_ix, storage); in WriteMetaBlockInternal()
633 storage_ix, storage); in WriteMetaBlockInternal()
637 if (bytes + 4 < (*storage_ix >> 3)) { in WriteMetaBlockInternal()
642 *storage_ix = last_bytes_bits; in WriteMetaBlockInternal()
645 bytes, storage_ix, storage); in WriteMetaBlockInternal()
960 size_t storage_ix = s->last_bytes_bits_; in EncodeData() local
983 &storage_ix, storage); in EncodeData()
991 &storage_ix, storage); in EncodeData()
994 s->last_bytes_ = (uint16_t)(storage[storage_ix >> 3]); in EncodeData()
995 s->last_bytes_bits_ = storage_ix & 7u; in EncodeData()
998 *out_size = storage_ix >> 3; in EncodeData()
1102 size_t storage_ix = s->last_bytes_bits_; in EncodeData() local
1110 s->dist_cache_, &storage_ix, storage); in EncodeData()
1112 s->last_bytes_ = (uint16_t)(storage[storage_ix >> 3]); in EncodeData()
1113 s->last_bytes_bits_ = storage_ix & 7u; in EncodeData()
1130 *out_size = storage_ix >> 3; in EncodeData()
1141 size_t storage_ix; in WriteMetadataHeader() local
1142 storage_ix = s->last_bytes_bits_; in WriteMetadataHeader()
1148 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1149 BrotliWriteBits(2, 3, &storage_ix, header); in WriteMetadataHeader()
1150 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1152 BrotliWriteBits(2, 0, &storage_ix, header); in WriteMetadataHeader()
1157 BrotliWriteBits(2, nbytes, &storage_ix, header); in WriteMetadataHeader()
1158 BrotliWriteBits(8 * nbytes, block_size - 1, &storage_ix, header); in WriteMetadataHeader()
1160 return (storage_ix + 7u) >> 3; in WriteMetadataHeader()
1225 size_t storage_ix; in BrotliCompressBufferQuality10() local
1284 storage_ix = last_bytes_bits; in BrotliCompressBufferQuality10()
1292 BrotliWriteBits(2, 3, &storage_ix, storage); in BrotliCompressBufferQuality10()
1293 storage_ix = (storage_ix + 7u) & ~7u; in BrotliCompressBufferQuality10()
1305 &storage_ix, storage); in BrotliCompressBufferQuality10()
1338 &storage_ix, storage); in BrotliCompressBufferQuality10()
1340 if (metablock_size + 4 < (storage_ix >> 3)) { in BrotliCompressBufferQuality10()
1345 storage_ix = last_bytes_bits; in BrotliCompressBufferQuality10()
1348 metablock_size, &storage_ix, storage); in BrotliCompressBufferQuality10()
1352 last_bytes = (uint16_t)(storage[storage_ix >> 3]); in BrotliCompressBufferQuality10()
1353 last_bytes_bits = storage_ix & 7u; in BrotliCompressBufferQuality10()
1364 const size_t out_size = storage_ix >> 3; in BrotliCompressBufferQuality10()
1612 size_t storage_ix = s->last_bytes_bits_; in BrotliEncoderCompressStreamFast() local
1635 s->cmd_code_, &storage_ix, storage); in BrotliEncoderCompressStreamFast()
1640 &storage_ix, storage); in BrotliEncoderCompressStreamFast()
1646 size_t out_bytes = storage_ix >> 3; in BrotliEncoderCompressStreamFast()
1648 BROTLI_DCHECK((storage_ix & 7) == 0 || out_bytes < *available_out); in BrotliEncoderCompressStreamFast()
1654 size_t out_bytes = storage_ix >> 3; in BrotliEncoderCompressStreamFast()
1658 s->last_bytes_ = (uint16_t)(storage[storage_ix >> 3]); in BrotliEncoderCompressStreamFast()
1659 s->last_bytes_bits_ = storage_ix & 7u; in BrotliEncoderCompressStreamFast()