Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/libcxx/include/
HDratio2 //===---------------------------- ratio -----------------------------------===//
14 ratio synopsis
20 class ratio
25 typedef ratio<num, den> type;
28 // ratio arithmetic
34 // ratio comparison
43 typedef ratio<1, 1000000000000000000000000> yocto; // not supported
44 typedef ratio<1, 1000000000000000000000> zepto; // not supported
45 typedef ratio<1, 1000000000000000000> atto;
46 typedef ratio<1, 1000000000000000> femto;
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDChrono.h103 template <> struct unit<std::ratio<3600>> { static const char value[]; };
104 template <> struct unit<std::ratio<60>> { static const char value[]; };
105 template <> struct unit<std::ratio<1>> { static const char value[]; };
134 return {getAs<std::ratio<1>>(D), "s"};
136 return {getAs<std::ratio<60>>(D), "m"};
138 return {getAs<std::ratio<3600>>(D), "h"};
/freebsd-11-stable/contrib/tnftp/src/
HDprogressbar.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-11-stable/contrib/libarchive/libarchive/
HDarchive_write_add_filter_compress.c337 int ratio; in archive_compressor_compress_write() local
395 ratio = (int)(state->in_count * 256 / state->out_count); in archive_compressor_compress_write()
396 else if ((ratio = (int)(state->out_count / 256)) == 0) in archive_compressor_compress_write()
397 ratio = 0x7fffffff; in archive_compressor_compress_write()
399 ratio = (int)(state->in_count / ratio); in archive_compressor_compress_write()
401 if (ratio > state->compress_ratio) in archive_compressor_compress_write()
402 state->compress_ratio = ratio; in archive_compressor_compress_write()
/freebsd-11-stable/contrib/libstdc++/include/ext/pb_ds/detail/binary_heap_/
Dresize_policy.hpp122 ratio = 8, enumerator
200 m_next_shrink_size = m_next_grow_size / ratio; in notify_grow_resize()
225 m_next_shrink_size = m_next_grow_size / ratio; in notify_arbitrary()
236 m_next_shrink_size* ratio == m_next_grow_size); in assert_valid()
/freebsd-11-stable/sys/amd64/vmm/intel/
HDvmx_msr.c247 uint64_t bus_freq, ratio; in vmx_msr_init() local
284 ratio = (tsc_freq / bus_freq) & 0xff; in vmx_msr_init()
297 platform_info = (ratio << 8) | (ratio << 40); in vmx_msr_init()
310 turbo_ratio_limit = (turbo_ratio_limit << 8) | ratio; in vmx_msr_init()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDChrono.cpp18 const char llvm::detail::unit<std::ratio<3600>>::value[] = "h";
19 const char llvm::detail::unit<std::ratio<60>>::value[] = "m";
20 const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
/freebsd-11-stable/contrib/file/magic/Magdir/
HDpc9820 >38 ubeshort&1 1 \b, 2:1 dot aspect ratio
35 # - b0=pixel aspect ratio: 1=2:1 (note: this ignores that the machine's 1:1 pixel aspect ratio is…
53 >>>&0 ubyte&0x01 1 \b, 2:1 dot aspect ratio
HDjpeg25 # Next, the resolution or aspect ratio of the image:
26 >>13 byte 0 \b, aspect ratio
/freebsd-11-stable/usr.bin/compress/
HDzopen.c155 #define ratio zs->zs_ratio macro
266 ratio = 0; in zwrite()
647 if (rat > ratio) in cl_block()
648 ratio = rat; in cl_block()
650 ratio = 0; in cl_block()
712 ratio = 0; in zopen()
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
HDtest-ratelim.c548 double ratio; in main() local
585 seconds_per_tick = ratio = cfg_tick_msec / 1000.0; in main()
587 cfg_connlimit *= ratio; in main()
588 cfg_grouplimit *= ratio; in main()
/freebsd-11-stable/contrib/gcc/
HDparams.def77 /* The ratio between instantiated fields and the complete structure
78 size. We say that if the ratio of the number of bytes in
84 "sra-field-structure-ratio",
85 "The threshold ratio between instantiated fields and the total structure size",
213 /* This is the threshold ratio when to perform partial redundancy
221 "The threshold ratio for performing partial redundancy elimination after reload",
223 /* This is the threshold ratio of the critical edges execution count compared to
228 …"The threshold ratio of critical edges execution count that permit performing redundancy eliminati…
358 "tracer-min-branch-ratio",
545 PARAM_VIRTUAL_MAPPINGS_TO_SYMS_RATIO specifies the ratio between
[all …]
HDtree-complex.c1045 tree rr, ri, ratio, div, t1, t2, tr, ti, cond; in expand_complex_div_wide() local
1109 ratio = gimplify_build2 (bsi, code, inner_type, br, bi); in expand_complex_div_wide()
1111 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, br, ratio); in expand_complex_div_wide()
1114 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ar, ratio); in expand_complex_div_wide()
1117 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ai, ratio); in expand_complex_div_wide()
1148 ratio = gimplify_build2 (bsi, code, inner_type, bi, br); in expand_complex_div_wide()
1150 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, bi, ratio); in expand_complex_div_wide()
1153 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ai, ratio); in expand_complex_div_wide()
1156 t1 = gimplify_build2 (bsi, MULT_EXPR, inner_type, ar, ratio); in expand_complex_div_wide()
HDtree-ssa-loop-ivopts.c3043 tree ratio; in get_computation_aff() local
3099 ratio = build_int_cst_type (uutype, ratioi); in get_computation_aff()
3105 ratio = double_int_to_tree (uutype, rat); in get_computation_aff()
3161 delta = fold_build2 (MULT_EXPR, common_type, cbase, ratio); in get_computation_aff()
3165 expr = fold_build2 (MULT_EXPR, uutype, ratio, expr); in get_computation_aff()
3324 multiplier_allowed_in_address_p (HOST_WIDE_INT ratio) in multiplier_allowed_in_address_p() argument
3356 if (ratio > MAX_RATIO || ratio < -MAX_RATIO) in multiplier_allowed_in_address_p()
3359 return TEST_BIT (valid_mult, ratio + MAX_RATIO); in multiplier_allowed_in_address_p()
3370 unsigned HOST_WIDE_INT offset, HOST_WIDE_INT ratio) in get_address_cost() argument
3546 ratio_p = (ratio != 1 in get_address_cost()
[all …]
HDlibgcc2.c1887 MTYPE denom, ratio, x, y; variable
1895 ratio = c / d;
1896 denom = (c * ratio) + d;
1897 x = ((a * ratio) + b) / denom;
1898 y = ((b * ratio) - a) / denom;
1902 ratio = d / c;
1903 denom = (d * ratio) + c;
1904 x = ((b * ratio) + a) / denom;
1905 y = (b - (a * ratio)) / denom;
HDcfgloopanal.c387 unsigned i, binsns, ninsns, ratio; in average_num_loop_insns() local
401 ratio = loop->header->frequency == 0 in average_num_loop_insns()
404 ninsns += binsns * ratio; in average_num_loop_insns()
/freebsd-11-stable/contrib/libxo/doc/
HDfaq.rst73 tag signal-to-noise-ratio {
74 help "Signal to noise ratio for all channels";
87 Signal to noise ratio: @
96 field signal-to-noise-ratio;
/freebsd-11-stable/contrib/xz/
HDREADME32 When aiming for the highest compression ratio, the LZMA2 encoder uses
36 ratio.
47 additional filter can improve the compression ratio. A filter chain may
50 in the filter chain can improve compression ratio of executable files.
54 compress than LZMA2 (but probably with worse compression ratio).
HDTODO19 compress extremely well, so going from compression ratio of 0.003
81 so that the encoding speed vs. compression ratio can be optimized
/freebsd-11-stable/tools/sched/
HDschedgraph.py743 delta = duration / canvas.ratio
771 delta = duration / canvas.ratio
792 delta = duration / canvas.ratio
1165 self.ratio = 1
1179 self.ratio = (ktrfile.timespan() - 1) / 2**31 + 1
1245 return ((ktrfile.timespan() / self.ratio) + (X_BORDER * 2))
1255 def scaleset(self, ratio): argument
1258 oldratio = self.ratio
1262 self.ratio = ratio
1264 self.scale(ALL, 0, 0, float(oldratio) / ratio, 1)
[all …]
/freebsd-11-stable/sys/contrib/xz-embedded/linux/Documentation/
HDxz.txt8 ratio and relatively fast decompression. The primary compression
10 compression ratio even further. E.g. Branch/Call/Jump (BCJ) filters
11 improve compression ratio of executable data.
/freebsd-11-stable/sys/net/
HDppp_defs.h135 unsigned int ratio; /* recent compression ratio << 8 */ member
/freebsd-11-stable/contrib/xz/src/xz/
HDmessage.c334 const double ratio = uncompressed_pos > 0 in progress_sizes() local
340 if (ratio > 9.999) in progress_sizes()
343 snprintf(pos, left, " = %.3f", ratio); in progress_sizes()
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/
HDlump.md10 U+003A : <-- ratio U+2236
/freebsd-11-stable/sys/dev/drm2/i915/
HDintel_overlay.c850 u32 ratio; in update_pfit_vscale_ratio() local
857 ratio = I915_READ(PFIT_PGM_RATIOS) >> PFIT_VERT_SCALE_SHIFT_965; in update_pfit_vscale_ratio()
860 ratio = I915_READ(PFIT_AUTO_RATIOS); in update_pfit_vscale_ratio()
862 ratio = I915_READ(PFIT_PGM_RATIOS); in update_pfit_vscale_ratio()
863 ratio >>= PFIT_VERT_SCALE_SHIFT; in update_pfit_vscale_ratio()
866 overlay->pfit_vscale_ratio = ratio; in update_pfit_vscale_ratio()

1234