• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/

Lines Matching defs:cst

348 				     struct cstate *cst, uint16_t *p,
359 if (cst->state >= LZMA_NUM_LIT_STATES) {
360 int match_byte = peek_old_byte(wr, cst->rep0);
382 if (cst->state < 4)
383 cst->state = 0;
384 else if (cst->state < 10)
385 cst->state -= 3;
387 cst->state -= 6;
391 struct cstate *cst, uint16_t *p,
399 prob = p + LZMA_IS_REP + cst->state;
402 cst->rep3 = cst->rep2;
403 cst->rep2 = cst->rep1;
404 cst->rep1 = cst->rep0;
405 cst->state = cst->state < LZMA_NUM_LIT_STATES ? 0 : 3;
409 prob = p + LZMA_IS_REP_G0 + cst->state;
413 + (cst->state <<
419 cst->state = cst->state < LZMA_NUM_LIT_STATES ?
421 copy_byte(wr, cst->rep0);
430 prob = p + LZMA_IS_REP_G1 + cst->state;
433 distance = cst->rep1;
436 prob = p + LZMA_IS_REP_G2 + cst->state;
439 distance = cst->rep2;
442 distance = cst->rep3;
443 cst->rep3 = cst->rep2;
445 cst->rep2 = cst->rep1;
447 cst->rep1 = cst->rep0;
448 cst->rep0 = distance;
450 cst->state = cst->state < LZMA_NUM_LIT_STATES ? 8 : 11;
484 if (cst->state < 4) {
487 cst->state += LZMA_NUM_LIT_STATES;
500 cst->rep0 = 2 | (pos_slot & 1);
502 cst->rep0 <<= num_bits;
504 cst->rep0 - pos_slot - 1;
508 cst->rep0 = (cst->rep0 << 1) |
511 cst->rep0 <<= LZMA_NUM_ALIGN_BITS;
518 cst->rep0 |= i;
522 cst->rep0 = pos_slot;
523 if (++(cst->rep0) == 0)
529 copy_bytes(wr, cst->rep0, len);
551 struct cstate cst;
566 cst.state = 0;
567 cst.rep0 = cst.rep1 = cst.rep2 = cst.rep3 = 1;
629 (cst.state << LZMA_NUM_POS_BITS_MAX) + pos_state;
631 process_bit0(&wr, &rc, &cst, p, pos_state, prob,
634 process_bit1(&wr, &rc, &cst, p, pos_state, prob);
635 if (cst.rep0 == 0)