Lines Matching refs:header
284 struct lzma_header *header; member
303 while (offs > wr->header->dict_size) in peek_old_byte()
304 offs -= wr->header->dict_size; in peek_old_byte()
309 while (pos >= wr->header->dict_size) in peek_old_byte()
310 pos += wr->header->dict_size; in peek_old_byte()
319 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte()
321 wr->global_pos += wr->header->dict_size; in write_byte()
322 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte()
323 != wr->header->dict_size) in write_byte()
342 } while (len != 0 && wr->buffer_pos < wr->header->dst_size); in copy_bytes()
525 if (cst->rep0 > wr->header->dict_size in process_bit1()
545 struct lzma_header header; in unlzma() local
572 wr.header = &header; in unlzma()
580 for (i = 0; i < sizeof(header); i++) { in unlzma()
583 ((unsigned char *)&header)[i] = *rc.ptr++; in unlzma()
586 if (header.pos >= (9 * 5 * 5)) { in unlzma()
592 lc = header.pos; in unlzma()
606 ENDIAN_CONVERT(header.dict_size); in unlzma()
607 ENDIAN_CONVERT(header.dst_size); in unlzma()
609 if (header.dict_size == 0) in unlzma()
610 header.dict_size = 1; in unlzma()
615 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma()
631 while (get_pos(&wr) < header.dst_size) { in unlzma()