Lines Matching refs:prob

349 				     int pos_state, uint16_t *prob,  in process_bit0()  argument
352 rc_update_bit_0(rc, prob); in process_bit0()
353 prob = (p + LZMA_LITERAL + in process_bit0()
367 prob_lit = prob + 0x100 + bit + mi; in process_bit0()
378 uint16_t *prob_lit = prob + mi; in process_bit0()
393 int pos_state, uint16_t *prob) { in process_bit1() argument
399 rc_update_bit_1(rc, prob); in process_bit1()
400 prob = p + LZMA_IS_REP + cst->state; in process_bit1()
401 if (rc_is_bit_0(rc, prob)) { in process_bit1()
402 rc_update_bit_0(rc, prob); in process_bit1()
407 prob = p + LZMA_LEN_CODER; in process_bit1()
409 rc_update_bit_1(rc, prob); in process_bit1()
410 prob = p + LZMA_IS_REP_G0 + cst->state; in process_bit1()
411 if (rc_is_bit_0(rc, prob)) { in process_bit1()
412 rc_update_bit_0(rc, prob); in process_bit1()
413 prob = (p + LZMA_IS_REP_0_LONG in process_bit1()
417 if (rc_is_bit_0(rc, prob)) { in process_bit1()
418 rc_update_bit_0(rc, prob); in process_bit1()
424 rc_update_bit_1(rc, prob); in process_bit1()
429 rc_update_bit_1(rc, prob); in process_bit1()
430 prob = p + LZMA_IS_REP_G1 + cst->state; in process_bit1()
431 if (rc_is_bit_0(rc, prob)) { in process_bit1()
432 rc_update_bit_0(rc, prob); in process_bit1()
435 rc_update_bit_1(rc, prob); in process_bit1()
436 prob = p + LZMA_IS_REP_G2 + cst->state; in process_bit1()
437 if (rc_is_bit_0(rc, prob)) { in process_bit1()
438 rc_update_bit_0(rc, prob); in process_bit1()
441 rc_update_bit_1(rc, prob); in process_bit1()
451 prob = p + LZMA_REP_LEN_CODER; in process_bit1()
454 prob_len = prob + LZMA_LEN_CHOICE; in process_bit1()
457 prob_len = (prob + LZMA_LEN_LOW in process_bit1()
464 prob_len = prob + LZMA_LEN_CHOICE_2; in process_bit1()
467 prob_len = (prob + LZMA_LEN_MID in process_bit1()
474 prob_len = prob + LZMA_LEN_HIGH; in process_bit1()
488 prob = in process_bit1()
494 rc_bit_tree_decode(rc, prob, in process_bit1()
503 prob = p + LZMA_SPEC_POS + in process_bit1()
510 prob = p + LZMA_ALIGN; in process_bit1()
517 if (rc_get_bit(rc, prob + mi, &mi)) in process_bit1()
633 uint16_t *prob = p + LZMA_IS_MATCH + in unlzma() local
635 if (rc_is_bit_0(&rc, prob)) { in unlzma()
636 if (process_bit0(&wr, &rc, &cst, p, pos_state, prob, in unlzma()
642 if (process_bit1(&wr, &rc, &cst, p, pos_state, prob)) { in unlzma()