Lines Matching refs:block_buf
65 lzi->block_buf = malloc(lzi->block_buf_size); in lz_init()
66 lzi->block_bufe = lzi->block_buf + lzi->block_buf_size; in lz_init()
67 assert(lzi->block_buf != NULL); in lz_init()
85 free(lzi->block_buf); in lz_release()
93 memmove(lzi->block_buf, lzi->block_buf + lzi->block_loc, residual); in lz_reset()
158 readhere = lzi->block_buf + lzi->chars_in_buf; in fill_blockbuf()
205 bbp = lzi->block_buf; in lz_analyze_block()
231 while (bbp > lzi->block_buf) { in lz_analyze_block()
239 prevlen = *(cursor - lzi->block_buf + lentab); in lz_analyze_block()
247 cursor = *(cursor - lzi->block_buf + prevtab); in lz_analyze_block()
312 memmove(lzi->block_buf, lzi->block_buf + lzi->chars_in_buf - bytes_to_move, in lz_compress()
337 bbp = lzi->block_buf + lzi->block_loc; in lz_compress()
341 bbe = lzi->block_buf + lzi->chars_in_buf - holdback; in lz_compress()
370 if (lzi->output_match(lzi, (*prevp - lzi->block_buf) - lzi->block_loc, in lz_compress()