Searched refs:prob (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/contrib/xz/src/liblzma/rangecoder/
H A Drange_decoder.h103 /// rc_if_0(prob, seq) {
104 /// rc_update_0(prob);
107 /// rc_update_1(prob);
111 #define rc_if_0(prob, seq) \
113 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BITS) * (prob); \
119 #define rc_update_0(prob) \
122 prob += (RC_BIT_MODEL_TOTAL - (prob)) >> RC_MOVE_BITS; \
128 #define rc_update_1(prob) \
132 prob
[all...]
H A Drange_common.h37 #define bit_reset(prob) \
38 prob = RC_BIT_MODEL_TOTAL >> 1
H A Dprice.h29 rc_bit_price(const probability prob, const uint32_t bit) argument
31 return lzma_rc_prices[(prob ^ ((UINT32_C(0) - bit)
37 rc_bit_0_price(const probability prob) argument
39 return lzma_rc_prices[prob >> RC_MOVE_REDUCING_BITS];
44 rc_bit_1_price(const probability prob) argument
46 return lzma_rc_prices[(prob ^ (RC_BIT_MODEL_TOTAL - 1))
H A Drange_encoder.h67 rc_bit(lzma_range_encoder *rc, probability *prob, uint32_t bit) argument
70 rc->probs[rc->count] = prob;
167 probability prob = *rc->probs[rc->pos]; local
169 * prob;
170 prob += (RC_BIT_MODEL_TOTAL - prob) >> RC_MOVE_BITS;
171 *rc->probs[rc->pos] = prob;
176 probability prob = *rc->probs[rc->pos]; local
177 const uint32_t bound = prob * (rc->range
181 prob
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_ppmd_private.h95 #define PPMD_UPDATE_PROB_0(prob) ((prob) + (1 << PPMD_INT_BITS) - PPMD_GET_MEAN(prob))
96 #define PPMD_UPDATE_PROB_1(prob) ((prob) - PPMD_GET_MEAN(prob))
H A Darchive_ppmd7.c905 UInt16 *prob = Ppmd7_GetBinSumm(p); local
906 if (rc->DecodeBit(rc, *prob) == 0)
909 *prob = (UInt16)PPMD_UPDATE_PROB_0(*prob);
914 *prob = (UInt16)PPMD_UPDATE_PROB_1(*prob);
915 p->InitEsc = PPMD7_kExpEscape[*prob >> 10];
1084 UInt16 *prob = Ppmd7_GetBinSumm(p); local
1088 RangeEnc_EncodeBit_0(rc, *prob);
1089 *prob
[all...]
H A Darchive_ppmd8.c1200 UInt16 *prob = Ppmd8_GetBinSumm(p); local
1201 if (((p->Code / (p->Range >>= 14)) < *prob))
1204 RangeDec_Decode(p, 0, *prob);
1205 *prob = (UInt16)PPMD_UPDATE_PROB_0(*prob);
1210 RangeDec_Decode(p, *prob, (1 << 14) - *prob);
1211 *prob = (UInt16)PPMD_UPDATE_PROB_1(*prob);
1212 p->InitEsc = PPMD8_kExpEscape[*prob >> 1
[all...]
H A Darchive_read_support_format_7zip.c3786 CProb *prob; local
3815 prob = zip->bcj2_p + zip->bcj2_prevByte;
3817 prob = zip->bcj2_p + 256;
3819 prob = zip->bcj2_p + 257;
3821 IF_BIT_0(prob) {
3822 UPDATE_0(prob)
3829 UPDATE_1(prob)
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_aqm_pie.c206 int64_t p, prob, oldprob; local
212 prob = pst->drop_prob;
241 if (prob < (PIE_MAX_PROB / 1000000)) /* 0.000001 */
243 else if (prob < (PIE_MAX_PROB / 100000)) /* 0.00001 */
245 else if (prob < (PIE_MAX_PROB / 10000)) /* 0.0001 */
247 else if (prob < (PIE_MAX_PROB / 1000)) /* 0.001 */
249 else if (prob < (PIE_MAX_PROB / 100)) /* 0.01 */
251 else if (prob < (PIE_MAX_PROB / 10)) /* 0.1 */
256 oldprob = prob;
259 prob
[all...]
H A Ddn_sched_fq_pie.c378 int64_t p, prob, oldprob; local
384 prob = pst->drop_prob;
413 if (prob < (PIE_MAX_PROB / 1000000)) /* 0.000001 */
415 else if (prob < (PIE_MAX_PROB / 100000)) /* 0.00001 */
417 else if (prob < (PIE_MAX_PROB / 10000)) /* 0.0001 */
419 else if (prob < (PIE_MAX_PROB / 1000)) /* 0.001 */
421 else if (prob < (PIE_MAX_PROB / 100)) /* 0.01 */
423 else if (prob < (PIE_MAX_PROB / 10)) /* 0.1 */
428 oldprob = prob;
431 prob
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dloop-unswitch.c92 compare_and_jump_seq (rtx op0, rtx op1, enum rtx_code comp, rtx label, int prob, argument
130 REG_NOTES (jump) = gen_rtx_EXPR_LIST (REG_BR_PROB, GEN_INT (prob),
408 int irred_flag, prob; local
442 prob = true_edge->probability;
446 prob, cinsn);
449 e->probability = prob;
450 e->count = latch_edge->count * prob / REG_BR_PROB_BASE;
H A Dvalue-prof.c176 tree op1, tree op2, tree value, int prob, gcov_type count,
239 e12->probability = prob;
243 e13->probability = REG_BR_PROB_BASE - prob;
267 int prob; local
311 prob = (count * REG_BR_PROB_BASE + all / 2) / all;
316 result = tree_divmod_fixed_value (stmt, op, op1, op2, tree_val, prob, count, all);
339 tree_mod_pow2 (tree stmt, tree operation, tree op1, tree op2, int prob, argument
406 e12->probability = prob;
410 e13->probability = REG_BR_PROB_BASE - prob;
434 int prob; local
175 tree_divmod_fixed_value(tree stmt, tree operation, tree op1, tree op2, tree value, int prob, gcov_type count, gcov_type all) argument
[all...]
H A Dcfg.c882 int prob;
897 prob = edge_frequency * REG_BR_PROB_BASE / bb->frequency;
899 prob = 0;
900 if (prob > taken_edge->probability)
906 taken_edge->probability, prob);
907 prob = taken_edge->probability;
911 taken_edge->probability -= prob;
912 prob = REG_BR_PROB_BASE - prob;
916 if (prob <
874 int prob; local
[all...]
H A Dpredict.c198 probability_reliable_p (int prob) argument
202 && (prob <= HITRATE (1) || prob >= HITRATE (99))));
507 int prob = INTVAL (XEXP (prob_note, 0)); local
509 BRANCH_EDGE (bb)->probability = prob;
510 FALLTHRU_EDGE (bb)->probability = REG_BR_PROB_BASE - prob;
662 int prob; local
670 prob = (REG_BR_PROB_BASE
674 if (prob == REG_BR_PROB_BASE)
675 prob
[all...]
H A Dbb-reorder.c480 int prob, freq;
512 prob = e->probability;
522 best_prob = prob;
531 || prob < branch_th || EDGE_FREQUENCY (e) < exec_th
538 if (better_edge_p (bb, e, prob, freq, best_prob, best_freq,
542 best_prob = prob;
585 prob = e->probability;
590 || prob < branch_th || freq < exec_th
850 better_edge_p (basic_block bb, edge e, int prob, int freq, int best_prob,
860 if (prob > best_pro
479 int prob, freq; local
849 better_edge_p(basic_block bb, edge e, int prob, int freq, int best_prob, int best_freq, edge cur_best_edge) argument
[all...]
H A Dsched-rgn.c238 static int *prob;
1295 prob[bb] = REG_BR_PROB_BASE;
1299 prob[bb] = 0;
1325 prob[bb] += ((prob[pred_bb] * in_edge->probability) / REG_BR_PROB_BASE);
1333 (100 * prob[bb]) / REG_BR_PROB_BASE);
1382 int tf = prob[trg], cf = prob[i];
2723 prob = XNEWVEC (int, current_nr_blocks);
2862 free (prob);
237 static int *prob; variable
[all...]
H A Dcfgloopmanip.c422 int freq, prob, tot_prob; local
432 prob = EDGE_SUCC (switch_bb, 0)->probability;
433 tot_prob = prob + EDGE_SUCC (switch_bb, 1)->probability;
467 scale_loop_frequencies (loop, prob, tot_prob);
468 scale_loop_frequencies (succ_bb->loop_father, tot_prob - prob, tot_prob);
H A Dprofile.c533 int prob;
543 prob = e->probability;
544 index = prob * 20 / REG_BR_PROB_BASE;
1172 /* Perform file-level initialization for branch-prob processing. */
1192 /* Performs file-level cleanup after branch-prob processing
530 int prob; local
H A Dreorg.c983 int prob = INTVAL (XEXP (note, 0));
985 if (prob >= REG_BR_PROB_BASE * 9 / 10)
987 else if (prob >= REG_BR_PROB_BASE / 2)
989 else if (prob >= REG_BR_PROB_BASE / 10)
974 int prob = INTVAL (XEXP (note, 0)); local
H A Dcfgrtl.c1025 int prob = INTVAL (XEXP (note, 0));
1027 b->probability = prob;
1028 b->count = e->count * prob / REG_BR_PROB_BASE;
1018 int prob = INTVAL (XEXP (note, 0)); local
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c497 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) argument
503 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob;
506 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS;
511 *prob -= *prob >> RC_MOVE_BITS;
/freebsd-11-stable/sbin/ipfw/
H A Ddummynet.c733 * "delay prob" | "prob delay"
752 prob delay
771 #define ED_TOK_PROB "prob"
842 double prob; member in struct:point
853 res = p1->prob - p2->prob;
957 points[points_no].prob = atof(arg);
960 points[points_no].prob = atof(name);
962 if (points[points_no].prob > 1.
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dmap.c1508 char *prob = "unsafe"; local
1512 prob = "missing";
1514 sm_dprintf("\t%s map file: %d\n", prob, ret);
1517 map->map_mname, prob, map->map_file);
2102 char *prob = "unsafe"; variable
2106 prob = "missing";
2108 sm_dprintf("\t%s map file: %s\n", prob, sm_errstring(i));
2112 mapclassname, map->map_mname, prob, buf);
2792 char *prob = "unsafe"; local
2796 prob
[all...]
/freebsd-11-stable/sbin/pfctl/
H A Dparse.y235 u_int32_t prob;
854 r.prob = $9.prob;
2047 r.prob = $9.prob;
2546 filter_opts.prob = (u_int32_t)p;
2547 if (filter_opts.prob == 0)
2548 filter_opts.prob = 1;
H A Dpfctl_parser.c875 if (r->prob) {
878 snprintf(buf, sizeof(buf), "%f", r->prob*100.0/(UINT_MAX+1.0));

Completed in 271 milliseconds

12