Searched refs:BROTLI_DCHECK (Results 1 – 15 of 15) sorted by relevance
/external/brotli/c/enc/ |
D | write_bits.h | 51 BROTLI_DCHECK((bits >> n_bits) == 0); in BrotliWriteBits() 52 BROTLI_DCHECK(n_bits <= 56); in BrotliWriteBits() 77 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() 229 BROTLI_DCHECK(block_idx < num_blocks); in FN() 235 BROTLI_DCHECK(block_idx == num_blocks); in FN() 271 BROTLI_DCHECK(num_clusters == cluster_size_size); in FN() 272 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 | 223 BROTLI_DCHECK(mb->command_histograms == 0); in BrotliBuildMetaBlock() 236 BROTLI_DCHECK(mb->literal_context_map == 0); in BrotliBuildMetaBlock() 243 BROTLI_DCHECK(mb->literal_histograms == 0); in BrotliBuildMetaBlock() 267 BROTLI_DCHECK(mb->distance_context_map == 0); in BrotliBuildMetaBlock() 274 BROTLI_DCHECK(mb->distance_histograms == 0); in BrotliBuildMetaBlock() 346 BROTLI_DCHECK(num_contexts <= BROTLI_MAX_STATIC_CONTEXTS); in InitContextBlockSplitter() 372 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter() 525 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 | 222 BROTLI_DCHECK(max_table_size >= 256); in GetHashTable() 358 BROTLI_DCHECK(total != 0); in ChooseContextMap() 577 BROTLI_DCHECK(*storage_ix <= 14); in WriteMetaBlockInternal() 1035 BROTLI_DCHECK(s->params.hasher.type == 10); in EncodeData() 1042 BROTLI_DCHECK(s->params.hasher.type == 10); in EncodeData() 1095 BROTLI_DCHECK(s->input_pos_ >= s->last_flush_pos_); in EncodeData() 1096 BROTLI_DCHECK(s->input_pos_ > s->last_flush_pos_ || is_last); in EncodeData() 1097 BROTLI_DCHECK(s->input_pos_ - s->last_flush_pos_ <= 1u << 24); in EncodeData() 1206 BROTLI_DCHECK(input_size <= mask + 1); in BrotliCompressBufferQuality10() 1647 BROTLI_DCHECK(out_bytes <= *available_out); in BrotliEncoderCompressStreamFast() [all …]
|
D | brotli_bit_stream.c | 92 BROTLI_DCHECK(length > 0); in BrotliEncodeMlen() 93 BROTLI_DCHECK(length <= (1 << 24)); in BrotliEncodeMlen() 94 BROTLI_DCHECK(lg <= 24); in BrotliEncodeMlen() 314 BROTLI_DCHECK(num <= BROTLI_NUM_COMMAND_SYMBOLS); in BrotliStoreHuffmanTree() 623 BROTLI_DCHECK(max_value < 256u); in MoveToFrontTransform() 631 BROTLI_DCHECK(index < mtf_size); in MoveToFrontTransform() 663 BROTLI_DCHECK(*out_size <= i); in RunLengthCodeZeros()
|
D | hash_to_binary_tree_inc.h | 157 BROTLI_DCHECK(cur_len <= MAX_TREE_COMP_LENGTH); in FN() 162 BROTLI_DCHECK( in FN()
|
D | entropy_encode.c | 26 BROTLI_DCHECK(max_depth <= 15); in BrotliSetDepth() 168 BROTLI_DCHECK(repetitions > 0); in BrotliWriteHuffmanTreeRepetitions()
|
D | metablock_inc.h | 70 BROTLI_DCHECK(*histograms == 0); in FN()
|
D | backward_references_hq.c | 769 BROTLI_DCHECK(BackwardMatchLength(&matches[j]) <= in BrotliCreateHqZopfliBackwardReferences()
|
/external/brotli/c/dec/ |
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 | 1393 BROTLI_DCHECK(0); /* Unreachable */ in CopyUncompressedBlockToOutput()
|
/external/brotli/c/common/ |
D | platform.h | 469 #define BROTLI_DCHECK(x) assert(x) macro 472 #define BROTLI_DCHECK(x) macro
|