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

12

/freebsd-10.0-release/contrib/libstdc++/include/ext/pb_ds/detail/binary_heap_/
H A Dresize_policy.hpp122 ratio = 8, enumerator in enum:pb_ds::detail::resize_policy::__anon1738
200 m_next_shrink_size = m_next_grow_size / ratio;
225 m_next_shrink_size = m_next_grow_size / ratio;
236 m_next_shrink_size* ratio == m_next_grow_size);
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c342 int ratio; local
400 ratio = (int)(state->in_count * 256 / state->out_count);
401 else if ((ratio = (int)(state->out_count / 256)) == 0)
402 ratio = 0x7fffffff;
404 ratio = (int)(state->in_count / ratio);
406 if (ratio > state->compress_ratio)
407 state->compress_ratio = ratio;
/freebsd-10.0-release/contrib/tnftp/src/
H A Dprogressbar.c141 int ratio, i, remaining, barlength; local
224 ratio = (int)((double)cursize * 100.0 / (double)filesize);
225 ratio = MAX(ratio, 0);
226 ratio = MIN(ratio, 100);
227 len += snprintf(buf + len, BUFLEFT, "%3d%% ", ratio);
237 i = barlength * ratio / 100;
/freebsd-10.0-release/sys/net/
H A Dppp_defs.h135 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
/freebsd-10.0-release/usr.bin/compress/
H A Dzopen.c155 #define ratio zs->zs_ratio macro
228 * ratio decreases, but after the table fills. The variable-length output
266 ratio = 0;
647 if (rat > ratio)
648 ratio = rat;
650 ratio = 0;
712 ratio = 0;
/freebsd-10.0-release/contrib/gcc/
H A Dcfgloopanal.c387 unsigned i, binsns, ninsns, ratio; local
401 ratio = loop->header->frequency == 0
404 ninsns += binsns * ratio;
H A Dlibgcc2.c1891 MTYPE denom, ratio, x, y;
1899 ratio = c / d;
1900 denom = (c * ratio) + d;
1901 x = ((a * ratio) + b) / denom;
1902 y = ((b * ratio) - a) / denom;
1906 ratio = d / c;
1907 denom = (d * ratio) + c;
1908 x = ((b * ratio) + a) / denom;
1909 y = (b - (a * ratio)) / denom;
1863 MTYPE denom, ratio, x, y; variable
H A Dtree-complex.c1045 tree rr, ri, ratio, div, t1, t2, tr, ti, cond; local
1095 ratio = br/bi;
1096 div = (br * ratio) + bi;
1097 tr = (ar * ratio) + ai;
1098 ti = (ai * ratio) - ar;
1109 ratio = gimplify_build2 (bsi, code, inner_type, br, bi);
1111 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, br, ratio);
1114 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ar, ratio);
1117 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ai, ratio);
1134 ratio
[all...]
H A Dtree-ssa-loop-ivopts.c3043 tree ratio; local
3093 /* TODO maybe consider case when ustep divides cstep and the ratio is
3099 ratio = build_int_cst_type (uutype, ratioi);
3105 ratio = double_int_to_tree (uutype, rat);
3131 /* use = ubase - ratio * cbase + ratio * var.
3133 In general case ubase + ratio * (var - cbase) could be better (one less
3135 of computations from (ubase - ratio * cbase) term, and if it does not
3161 delta = fold_build2 (MULT_EXPR, common_type, cbase, ratio);
3165 expr = fold_build2 (MULT_EXPR, uutype, ratio, exp
3324 multiplier_allowed_in_address_p(HOST_WIDE_INT ratio) argument
3369 get_address_cost(bool symbol_present, bool var_present, unsigned HOST_WIDE_INT offset, HOST_WIDE_INT ratio) argument
3854 HOST_WIDE_INT ratio, aratio; local
[all...]
H A Dtree-vect-transform.c2311 ratio = ni_name / vf
2312 ratio_mult_vf_name = ratio * vf
2342 /* Create: ratio = ni >> log2(vf) */
2355 /* Create: ratio_mult_vf = ratio << log2 (vf). */
2585 vect_do_peeling_for_loop_bound (loop_vec_info loop_vinfo, tree *ratio, argument
2603 ratio = ni_name / vf
2604 ratio_mult_vf_name = ratio * vf */
2606 &ratio_mult_vf_name, ratio);
2975 tree ratio = NULL; local
3060 vect_do_peeling_for_loop_bound (loop_vinfo, &ratio, loop
[all...]
H A Dgcov.c1331 /* Format a HOST_WIDE_INT as either a percent ratio, or absolute
1344 float ratio = bottom ? (float)top / bottom : 0;
1352 percent = (unsigned) (ratio * limit + (float)0.5);
1342 float ratio = bottom ? (float)top / bottom : 0; local
/freebsd-10.0-release/contrib/gdtoa/
H A Dsmisc.c73 ratio function
H A Dgdtoaimp.h578 #define ratio __ratio_D2A macro
632 extern double ratio ANSI((Bigint*, Bigint*));
H A Dstrtod.c716 dval(&adj) = ratio(delta, bs);
891 if ((aadj = ratio(delta, bs)) <= 2.) {
H A Dstrtodg.c863 if ((dval(&adj) = ratio(delta, bs)) <= 2.) {
/freebsd-10.0-release/lib/libc++/
H A DMakefile139 ratio\
/freebsd-10.0-release/contrib/xz/src/xz/
H A Dmessage.c325 /// output produced, and the compression ratio.
343 // Avoid division by zero. If we cannot calculate the ratio, set
346 const double ratio = uncompressed_pos > 0 local
350 // If the ratio is very bad, just indicate that it is greater than
351 // 9.999. This way the length of the ratio field stays fixed.
352 if (ratio > 9.999)
355 snprintf(pos, left, " = %.3f", ratio);
1148 " -e, --extreme try to improve compression ratio by using more CPU time;\n"
H A Dlist.c537 /// \brief Get the compression ratio
546 const double ratio = (double)(compressed_size) local
548 if (ratio > 9.999)
552 snprintf(buf, sizeof(buf), "%.3f", ratio);
/freebsd-10.0-release/tools/sched/
H A Dschedgraph.py730 delta = duration / canvas.ratio
758 delta = duration / canvas.ratio
779 delta = duration / canvas.ratio
1153 self.ratio = 1
1163 # Compute a ratio to ensure that the file's timespan fits into
1167 self.ratio = (ktrfile.timespan() - 1) / 2**31 + 1
1233 return ((ktrfile.timespan() / self.ratio) + (X_BORDER * 2))
1243 def scaleset(self, ratio):
1246 oldratio = self.ratio
1250 self.ratio
[all...]
/freebsd-10.0-release/sys/dev/drm2/i915/
H A Dintel_overlay.c649 /* make the Y scale to UV scale ratio an exact multiply */
913 u32 ratio; local
920 ratio = I915_READ(PFIT_PGM_RATIOS) >> PFIT_VERT_SCALE_SHIFT_965;
923 ratio = I915_READ(PFIT_AUTO_RATIOS);
925 ratio = I915_READ(PFIT_PGM_RATIOS);
926 ratio >>= PFIT_VERT_SCALE_SHIFT;
929 overlay->pfit_vscale_ratio = ratio;
982 /* better safe than sorry, use 4 as the maximal subsampling ratio */
H A Dintel_lvds.c224 * when calculating the panel ratio.
228 u32 ratio = source * FACTOR / target; local
229 return (FACTOR * ratio + FACTOR/2) / FACTOR;
306 /* Scale but preserve the aspect ratio */
323 * ratio by hand and program it into the
361 * Full scaling, even if it changes the aspect ratio.
/freebsd-10.0-release/usr.sbin/bsdconfig/dot/
H A Ddot326 printf '\tratio = fill;\t\t// approximate aspect ratio\n'
/freebsd-10.0-release/sys/ia64/ia64/
H A Dmachdep.c658 freq_ratio(u_long base, u_long ratio) argument
662 f = (base * (ratio >> 32)) / (ratio & 0xfffffffful);
682 printf("Processor ratio %ld/%ld, Bus ratio %ld/%ld, "
683 "ITC ratio %ld/%ld\n",
/freebsd-10.0-release/tools/tools/shlib-compat/
H A Dshlib-compat.py110 ratio = '(undef)'
112 ratio = '%f' % (self.hit/float(total))
113 return '%s cache stats: hit: %d; miss: %d; ratio: %s' % \
114 (name, self.hit, self.miss, ratio)
/freebsd-10.0-release/sys/kern/
H A Dsched_ule.c155 * by the ratio of ticks to the tick total. NHALF priorities at the start
1458 * on past behavior. It is the ratio of sleep time to run time scaled to
1603 int ratio; local
1608 ratio = sum / SCHED_SLP_RUN_FORK;
1609 td->td_sched->ts_runtime /= ratio;
1610 td->td_sched->ts_slptime /= ratio;

Completed in 176 milliseconds

12