Home
last modified time | relevance | path

Searched refs:prob (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.c172 CLzmaProb *prob; in LzmaDec_DecodeReal() local
178 IF_BIT_0(prob) in LzmaDec_DecodeReal()
181 UPDATE_0(prob); in LzmaDec_DecodeReal()
217 UPDATE_1(prob); in LzmaDec_DecodeReal()
219 IF_BIT_0(prob) in LzmaDec_DecodeReal()
221 UPDATE_0(prob); in LzmaDec_DecodeReal()
227 UPDATE_1(prob); in LzmaDec_DecodeReal()
231 IF_BIT_0(prob) in LzmaDec_DecodeReal()
235 IF_BIT_0(prob) in LzmaDec_DecodeReal()
251 IF_BIT_0(prob) in LzmaDec_DecodeReal()
[all …]
H A DLzmaEnc.c572 static void RangeEnc_EncodeBit(CRangeEnc *p, CLzmaProb *prob, UInt32 symbol) in RangeEnc_EncodeBit() argument
574 UInt32 ttt = *prob; in RangeEnc_EncodeBit()
587 *prob = (CLzmaProb)ttt; in RangeEnc_EncodeBit()
644 #define GET_PRICE(prob, symbol) \ argument
645 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
647 #define GET_PRICEa(prob, symbol) \ argument
648 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
650 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits] argument
651 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits] argument
653 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits] argument
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_cmds.c59 inj_rand_create(inj_defn_t *ev, uint_t prob) in inj_rand_create() argument
64 re->re_prob = prob; in inj_rand_create()
81 uint_t prob, tmpprob; in inj_cmd_rand() local
84 prob = 0; in inj_cmd_rand()
86 prob += r->re_prob; in inj_cmd_rand()
88 if (prob != 100) { in inj_cmd_rand()
100 prob = 0; in inj_cmd_rand()
103 r->re_prob = prob; in inj_cmd_rand()
104 prob += tmpprob; in inj_cmd_rand()
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c603 double prob; in scsi_inject_errors() local
609 prob = (double)len / mtbf; in scsi_inject_errors()
611 while (prob > 1) { in scsi_inject_errors()
614 prob -= 1; in scsi_inject_errors()
617 if (drand48() <= prob) { in scsi_inject_errors()
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c677 double prob; in smp_inject_errors() local
683 prob = (double)len / mtbf; in smp_inject_errors()
685 while (prob > 1) { in smp_inject_errors()
688 prob -= 1; in smp_inject_errors()
691 if (drand48() <= prob) { in smp_inject_errors()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl194 my ($prob, $incomp, $c, $w);
201 $prob = 1;
228 $prob = 0;
230 $problem_count += $prob;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c1467 char *prob = "unsafe"; local
1471 prob = "missing";
1473 sm_dprintf("\t%s map file: %d\n", prob, ret);
1476 map->map_mname, prob, map->map_file);
2061 char *prob = "unsafe"; variable
2065 prob = "missing";
2067 sm_dprintf("\t%s map file: %s\n", prob, sm_errstring(i));
2071 mapclassname, map->map_mname, prob, buf);