Searched refs:Assert (Results 1 – 4 of 4) sorted by relevance
/lib/zlib_deflate/ |
D | deflate.c | 451 Assert(strm->avail_out > 0, "bug2"); in zlib_deflate() 468 Assert(s->bi_valid == 0, "bi_buf not flushed"); in zlib_deflate() 600 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); in longest_match() 611 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); in longest_match() 614 Assert(cur_match < s->strstart, "no future"); in longest_match() 636 Assert(scan[2] == match[2], "scan[2]?"); in longest_match() 647 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); in longest_match() 667 Assert(*scan == *match, "match[2]?"); in longest_match() 679 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); in longest_match() 814 Assert(more >= 2, "more < 2"); in fill_window() [all …]
|
D | deftree.c | 192 Assert (length == 256, "tr_static_init: length != 256"); in tr_static_init() 207 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init() 215 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init() 461 Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1, in gen_codes() 646 Assert(count >= 3 && count <= 6, " 3_6?"); in send_tree() 715 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); in send_all_trees() 716 Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES, in send_all_trees() 846 Assert(buf != (char*)0, "lost buf"); 898 Assert (s->compressed_len == s->bits_sent, "bad compressed size"); 930 Assert((ush)dist < (ush)MAX_DIST(s) && [all …]
|
D | defutil.h | 6 #define Assert(err, str) macro 370 Assert(length > 0 && length <= 15, "invalid length"); in send_bits()
|
/lib/zlib_dfltcc/ |
D | dfltcc_deflate.c | 233 Assert(state->pending == 0, "There must be no pending bytes"); in dfltcc_deflate() 234 Assert(state->bi_valid < 8, "There must be less than 8 pending bits"); in dfltcc_deflate() 279 Assert(cc != DFLTCC_CC_OP2_CORRUPT || param->oesc == 0, "BUG"); in dfltcc_deflate()
|