Lines Matching refs:prob

351 				     int pos_state, uint16_t *prob,  in process_bit0()  argument
354 rc_update_bit_0(rc, prob); in process_bit0()
355 prob = (p + LZMA_LITERAL + in process_bit0()
369 prob_lit = prob + 0x100 + bit + mi; in process_bit0()
380 uint16_t *prob_lit = prob + mi; in process_bit0()
395 int pos_state, uint16_t *prob) { in process_bit1() argument
401 rc_update_bit_1(rc, prob); in process_bit1()
402 prob = p + LZMA_IS_REP + cst->state; in process_bit1()
403 if (rc_is_bit_0(rc, prob)) { in process_bit1()
404 rc_update_bit_0(rc, prob); in process_bit1()
409 prob = p + LZMA_LEN_CODER; in process_bit1()
411 rc_update_bit_1(rc, prob); in process_bit1()
412 prob = p + LZMA_IS_REP_G0 + cst->state; in process_bit1()
413 if (rc_is_bit_0(rc, prob)) { in process_bit1()
414 rc_update_bit_0(rc, prob); in process_bit1()
415 prob = (p + LZMA_IS_REP_0_LONG in process_bit1()
419 if (rc_is_bit_0(rc, prob)) { in process_bit1()
420 rc_update_bit_0(rc, prob); in process_bit1()
426 rc_update_bit_1(rc, prob); in process_bit1()
431 rc_update_bit_1(rc, prob); in process_bit1()
432 prob = p + LZMA_IS_REP_G1 + cst->state; in process_bit1()
433 if (rc_is_bit_0(rc, prob)) { in process_bit1()
434 rc_update_bit_0(rc, prob); in process_bit1()
437 rc_update_bit_1(rc, prob); in process_bit1()
438 prob = p + LZMA_IS_REP_G2 + cst->state; in process_bit1()
439 if (rc_is_bit_0(rc, prob)) { in process_bit1()
440 rc_update_bit_0(rc, prob); in process_bit1()
443 rc_update_bit_1(rc, prob); in process_bit1()
453 prob = p + LZMA_REP_LEN_CODER; in process_bit1()
456 prob_len = prob + LZMA_LEN_CHOICE; in process_bit1()
459 prob_len = (prob + LZMA_LEN_LOW in process_bit1()
466 prob_len = prob + LZMA_LEN_CHOICE_2; in process_bit1()
469 prob_len = (prob + LZMA_LEN_MID in process_bit1()
476 prob_len = prob + LZMA_LEN_HIGH; in process_bit1()
490 prob = in process_bit1()
496 rc_bit_tree_decode(rc, prob, in process_bit1()
505 prob = p + LZMA_SPEC_POS + in process_bit1()
512 prob = p + LZMA_ALIGN; in process_bit1()
519 if (rc_get_bit(rc, prob + mi, &mi)) in process_bit1()
635 uint16_t *prob = p + LZMA_IS_MATCH + in unlzma() local
637 if (rc_is_bit_0(&rc, prob)) { in unlzma()
638 if (process_bit0(&wr, &rc, &cst, p, pos_state, prob, in unlzma()
644 if (process_bit1(&wr, &rc, &cst, p, pos_state, prob)) { in unlzma()