Lines Matching defs:bytes

515     const size_t bytes, const size_t num_literals, const size_t num_commands) {
517 if (bytes <= 2) return BROTLI_FALSE;
518 if (num_commands < (bytes >> 8) + 2) {
519 if ((double)num_literals > 0.99 * (double)bytes) {
524 (double)bytes * kMinEntropy / kSampleRate;
525 size_t t = (bytes + kSampleRate - 1) / kSampleRate;
557 const size_t bytes,
576 if (bytes == 0) {
583 if (!ShouldCompress(data, mask, last_flush_pos, bytes,
589 wrapped_last_flush_pos, mask, bytes,
599 bytes, mask, is_last, params,
605 bytes, mask, is_last, params,
617 data, wrapped_last_flush_pos, bytes, mask, params->quality,
639 BrotliStoreMetaBlock(m, data, wrapped_last_flush_pos, bytes, mask,
650 if (bytes + 4 < (*storage_ix >> 3)) {
658 bytes, storage_ix, storage);
847 accumulated input. At most input_block_size() bytes of input data can be
859 /* TL;DR: If needed, initialize 7 more bytes in the ring buffer to make the
864 Background information: The compressor stores short (at most 8 bytes)
873 reading new bytes from the input. However, at the last few indexes of
874 the ring buffer, there are not enough bytes to build full-length
890 We clear 7 bytes just after the bytes that have been copied from
899 LOAD64, which can go 7 bytes beyond the bytes written in the
914 static void ExtendLastCommand(BrotliEncoderState* s, uint32_t* bytes,
931 while (*bytes != 0 && data[*wrapped_last_processed_pos & mask] ==
934 (*bytes)--;
964 uint32_t bytes = (uint32_t)delta;
1007 storage = GetBrotliStorage(s, 2 * bytes + 503);
1011 table = GetHashTable(s, s->params.quality, bytes, &table_size);
1016 bytes, is_last,
1025 bytes, is_last,
1040 /* Theoretical max number of commands is 1 per 2 bytes. */
1041 size_t newsize = s->num_commands_ + bytes / 2 + 1;
1046 newsize += (bytes / 4) + 16;
1059 wrapped_last_processed_pos, bytes, is_last);
1069 ExtendLastCommand(s, &bytes, &wrapped_last_processed_pos);
1074 BrotliCreateZopfliBackwardReferences(m, bytes, wrapped_last_processed_pos,
1082 BrotliCreateHqZopfliBackwardReferences(m, bytes, wrapped_last_processed_pos,
1089 BrotliCreateBackwardReferences(bytes, wrapped_last_processed_pos,
1177 Returns number of produced bytes.
1178 REQUIRED: |header| should be 8-byte aligned and at least 16 bytes long.
1437 addressable bytes.