Searched refs:BROTLI_DCHECK (Results 1 – 17 of 17) sorted by relevance
/external/brotli/c/enc/ |
D | write_bits.h | 41 BROTLI_DCHECK((bits >> n_bits) == 0); in BrotliWriteBits() 42 BROTLI_DCHECK(n_bits <= 56); in BrotliWriteBits() 79 BROTLI_DCHECK((pos & 7) == 0); in BrotliWriteBitsPrepareStorage()
|
D | block_splitter_inc.h | 79 BROTLI_DCHECK(num_histograms <= 256); in FN() 129 BROTLI_DCHECK((k >> 3) < bitmaplen); in FN() 140 BROTLI_DCHECK(((size_t)cur_id >> 3) < bitmaplen); in FN() 164 BROTLI_DCHECK(block_ids[i] < num_histograms); in FN() 171 BROTLI_DCHECK(block_ids[i] < num_histograms); in FN() 173 BROTLI_DCHECK(next_id <= num_histograms); in FN() 234 BROTLI_DCHECK(block_idx < num_blocks); in FN() 240 BROTLI_DCHECK(block_idx == num_blocks); in FN() 276 BROTLI_DCHECK(num_clusters == cluster_size_size); in FN() 277 BROTLI_DCHECK(num_clusters == all_histograms_size); in FN()
|
D | compress_fragment_two_pass.c | 51 BROTLI_DCHECK(offset <= 8 - length); in HashBytesAtOffset() 286 BROTLI_DCHECK(next_emit < ip); in CreateCommands() 292 BROTLI_DCHECK(hash == Hash(ip, shift, min_match)); in CreateCommands() 306 BROTLI_DCHECK(candidate >= base_ip); in CreateCommands() 307 BROTLI_DCHECK(candidate < ip); in CreateCommands() 331 BROTLI_DCHECK(0 == memcmp(base, candidate, matched)); in CreateCommands() 395 BROTLI_DCHECK(0 == memcmp(base, candidate, matched)); in CreateCommands() 445 BROTLI_DCHECK(next_emit <= ip_end); in CreateCommands() 491 BROTLI_DCHECK(code < 128); in StoreCommands() 505 BROTLI_DCHECK(code < 128); in StoreCommands() [all …]
|
D | compress_fragment.c | 50 BROTLI_DCHECK(offset >= 0); in HashBytesAtOffset() 51 BROTLI_DCHECK(offset <= 3); in HashBytesAtOffset() 524 BROTLI_DCHECK(next_emit < ip); in BrotliCompressFragmentFastImpl() 529 BROTLI_DCHECK(hash == Hash(next_ip, shift)); in BrotliCompressFragmentFastImpl() 544 BROTLI_DCHECK(candidate >= base_ip); in BrotliCompressFragmentFastImpl() 545 BROTLI_DCHECK(candidate < ip); in BrotliCompressFragmentFastImpl() 568 BROTLI_DCHECK(0 == memcmp(base, candidate, matched)); in BrotliCompressFragmentFastImpl() 628 BROTLI_DCHECK(0 == memcmp(base, candidate, matched)); in BrotliCompressFragmentFastImpl() 661 BROTLI_DCHECK(next_emit <= ip_end); in BrotliCompressFragmentFastImpl() 671 BROTLI_DCHECK(total_block_size > (1 << 16)); in BrotliCompressFragmentFastImpl() [all …]
|
D | metablock.c | 219 BROTLI_DCHECK(mb->command_histograms == 0); in BrotliBuildMetaBlock() 232 BROTLI_DCHECK(mb->literal_context_map == 0); in BrotliBuildMetaBlock() 239 BROTLI_DCHECK(mb->literal_histograms == 0); in BrotliBuildMetaBlock() 263 BROTLI_DCHECK(mb->distance_context_map == 0); in BrotliBuildMetaBlock() 270 BROTLI_DCHECK(mb->distance_histograms == 0); in BrotliBuildMetaBlock() 342 BROTLI_DCHECK(num_contexts <= BROTLI_MAX_STATIC_CONTEXTS); in InitContextBlockSplitter() 368 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter() 521 BROTLI_DCHECK(mb->literal_context_map == 0); in MapStaticContexts()
|
D | memory.c | 124 BROTLI_DCHECK(m->new_freed == 0); in CollectGarbagePointers() 128 BROTLI_DCHECK(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); in CollectGarbagePointers()
|
D | encode.c | 239 BROTLI_DCHECK(max_table_size >= 256); in GetHashTable() 375 BROTLI_DCHECK(total != 0); in ChooseContextMap() 594 BROTLI_DCHECK(*storage_ix <= 14); in WriteMetaBlockInternal() 1073 BROTLI_DCHECK(s->params.hasher.type == 10); in EncodeData() 1081 BROTLI_DCHECK(s->params.hasher.type == 10); in EncodeData() 1136 BROTLI_DCHECK(s->input_pos_ >= s->last_flush_pos_); in EncodeData() 1137 BROTLI_DCHECK(s->input_pos_ > s->last_flush_pos_ || is_last); in EncodeData() 1138 BROTLI_DCHECK(s->input_pos_ - s->last_flush_pos_ <= 1u << 24); in EncodeData() 1249 BROTLI_DCHECK(input_size <= mask + 1); in BrotliCompressBufferQuality10() 1695 BROTLI_DCHECK(out_bytes <= *available_out); in BrotliEncoderCompressStreamFast() [all …]
|
D | brotli_bit_stream.c | 77 BROTLI_DCHECK(length > 0); in BrotliEncodeMlen() 78 BROTLI_DCHECK(length <= (1 << 24)); in BrotliEncodeMlen() 79 BROTLI_DCHECK(lg <= 24); in BrotliEncodeMlen() 299 BROTLI_DCHECK(num <= BROTLI_NUM_COMMAND_SYMBOLS); in BrotliStoreHuffmanTree() 608 BROTLI_DCHECK(max_value < 256u); in MoveToFrontTransform() 616 BROTLI_DCHECK(index < mtf_size); in MoveToFrontTransform() 648 BROTLI_DCHECK(*out_size <= i); in RunLengthCodeZeros() 952 BROTLI_DCHECK( in BrotliStoreMetaBlock()
|
D | hash_to_binary_tree_inc.h | 156 BROTLI_DCHECK(cur_len <= MAX_TREE_COMP_LENGTH); in FN() 161 BROTLI_DCHECK( in FN()
|
D | entropy_encode.c | 28 BROTLI_DCHECK(max_depth <= 15); in BrotliSetDepth() 170 BROTLI_DCHECK(repetitions > 0); in BrotliWriteHuffmanTreeRepetitions()
|
D | metablock_inc.h | 70 BROTLI_DCHECK(*histograms == 0); in FN()
|
D | backward_references_hq.c | 786 BROTLI_DCHECK(BackwardMatchLength(&matches[j]) <= in BrotliCreateHqZopfliBackwardReferences()
|
/external/brotli/c/dec/ |
D | bit_reader.c | 62 BROTLI_DCHECK(n_bits <= 32); in BrotliSafeReadBits32Slow() 63 BROTLI_DCHECK(n_bits > 24); in BrotliSafeReadBits32Slow()
|
D | bit_reader.h | 251 BROTLI_DCHECK(n_bits <= 24); in BrotliReadBits24() 271 BROTLI_DCHECK(n_bits <= 32); in BrotliReadBits32() 293 BROTLI_DCHECK(n_bits <= 24); in BrotliSafeReadBits() 306 BROTLI_DCHECK(n_bits <= 32); in BrotliSafeReadBits32()
|
D | huffman.c | 118 BROTLI_DCHECK(BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH <= in BrotliBuildCodeLengthsHuffmanTable() 189 BROTLI_DCHECK(root_bits <= BROTLI_REVERSE_BITS_MAX); in BrotliBuildHuffmanTable() 190 BROTLI_DCHECK(BROTLI_HUFFMAN_MAX_CODE_LENGTH - root_bits <= in BrotliBuildHuffmanTable()
|
D | decode.c | 1403 BROTLI_DCHECK(0); /* Unreachable */ in CopyUncompressedBlockToOutput()
|
/external/brotli/c/common/ |
D | platform.h | 477 #define BROTLI_DCHECK(x) assert(x) macro 484 #define BROTLI_DCHECK(x) macro
|