Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/lzma/
H A DLzmaDec.c172 CLzmaProb *prob; in LzmaDec_DecodeReal() local
177 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal()
178 IF_BIT_0(prob) in LzmaDec_DecodeReal()
181 UPDATE_0(prob); in LzmaDec_DecodeReal()
182 prob = probs + Literal; in LzmaDec_DecodeReal()
184 prob += (LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) + in LzmaDec_DecodeReal()
190 do { GET_BIT(prob + symbol, symbol) } while (symbol < 0x100); in LzmaDec_DecodeReal()
203 probLit = prob + offs + bit + symbol; in LzmaDec_DecodeReal()
217 UPDATE_1(prob); in LzmaDec_DecodeReal()
218 prob = probs + IsRep + state; 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 …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/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()
/titanic_44/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;
/titanic_44/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);