Home
last modified time | relevance | path

Searched refs:rep0 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/lib/
H A Ddecompress_unlzma.c289 uint32_t rep0, rep1, rep2, rep3; member
336 uint32_t rep0, int len) in copy_bytes() argument
339 if (copy_byte(wr, rep0)) in copy_bytes()
360 int match_byte = peek_old_byte(wr, cst->rep0); in process_bit0()
405 cst->rep1 = cst->rep0; in process_bit1()
422 return copy_byte(wr, cst->rep0); in process_bit1()
447 cst->rep1 = cst->rep0; in process_bit1()
448 cst->rep0 = distance; in process_bit1()
500 cst->rep0 = 2 | (pos_slot & 1); in process_bit1()
502 cst->rep0 <<= num_bits; in process_bit1()
[all …]
/openbmc/linux/lib/xz/
H A Dxz_dec_lzma2.c134 uint32_t rep0; member
628 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; in lzma_literal()
688 s->lzma.rep1 = s->lzma.rep0; in lzma_match()
696 s->lzma.rep0 = dist_slot; in lzma_match()
699 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
702 s->lzma.rep0 <<= limit; in lzma_match()
703 probs = s->lzma.dist_special + s->lzma.rep0 in lzma_match()
706 &s->lzma.rep0, limit); in lzma_match()
708 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS); in lzma_match()
709 s->lzma.rep0 <<= ALIGN_BITS; in lzma_match()
[all …]
/openbmc/u-boot/lib/lzma/
H A DLzmaDec.c139 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() local
186 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
231 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
266 rep1 = rep0; in LzmaDec_DecodeReal()
267 rep0 = distance; in LzmaDec_DecodeReal()
381 rep1 = rep0; in LzmaDec_DecodeReal()
382 rep0 = distance + 1; in LzmaDec_DecodeReal()
400 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
445 p->reps[0] = rep0; in LzmaDec_DecodeReal()
462 UInt32 rep0 = p->reps[0]; in LzmaDec_WriteRem() local
[all …]