Searched refs:ratio (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dppp_defs.h159 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
H A Dbsd_comp.c107 * The compression ratio is checked at the first end of a packet
132 u_int ratio; /* recent compression ratio */ member in struct:bsd_db
133 u_int checkpoint; /* when to next check the ratio */
239 db->ratio = 0;
248 * Compute the compression ratio using fixed-point arithmetic
252 * watch only the local compression ratio.
256 * must compute the same ratio.
265 /* age the ratio by limiting the size of the counts */
275 /* Reset the dictionary only if the ratio i
[all...]
H A Dppp_deflate.c394 stats->ratio = stats->unc_bytes;
396 if (stats->ratio <= 0x7ffffff)
397 stats->ratio <<= 8;
401 stats->ratio /= out;
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/
H A Dprng.c526 float ratio;
539 resp = comp_get_ratio((p->comp_state)+i,&ratio);
542 temp[i] = (int)(ratio*p->poolSize[i]*4);
553 resp = comp_get_ratio((p->comp_state)+i,&ratio);
556 temp[i] = _MIN((int)(ratio*p->poolSize[i]*4),(int)p->poolEstBits[i]);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmachine_routines_asm.s2273 ; Calculates the hdec to dec ratio

Completed in 34 milliseconds