Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dratio14 ratio synopsis
20 class ratio
25 typedef ratio<num, den> type;
28 // ratio arithmetic
34 // ratio comparison
43 using quecto = ratio <1, 1'000'000'000'000'000'000'000'000'000'000>; // Since C++26; not supported
44 using ronto = ratio <1, 1'000'000'000'000'000'000'000'000'000>; // Since C++26; not supported
45 typedef ratio<1, 1000000000000000000000000> yocto; // not supported
46 typedef ratio<1, 1000000000000000000000> zepto; // not supported
47 typedef ratio<1, 1000000000000000000> atto;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dratio14 ratio synopsis
20 class ratio
25 typedef ratio<num, den> type;
28 // ratio arithmetic
34 // ratio comparison
43 using quecto = ratio <1, 1'000'000'000'000'000'000'000'000'000'000>; // Since C++26; not supported
44 using ronto = ratio <1, 1'000'000'000'000'000'000'000'000'000>; // Since C++26; not supported
45 typedef ratio<1, 1000000000000000000000000> yocto; // not supported
46 typedef ratio<1, 1000000000000000000000> zepto; // not supported
47 typedef ratio<1, 1000000000000000000> atto;
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dratio.cppm
/freebsd/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/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c341 int ratio; in archive_compressor_compress_write() local
400 ratio = (int)(compress->in_count * 256 / compress->out_count); in archive_compressor_compress_write()
401 else if ((ratio = (int)(compress->out_count / 256)) == 0) in archive_compressor_compress_write()
402 ratio = 0x7fffffff; in archive_compressor_compress_write()
404 ratio = (int)(compress->in_count / ratio); in archive_compressor_compress_write()
406 if (ratio > compress->compress_ratio) in archive_compressor_compress_write()
407 compress->compress_ratio = ratio; in archive_compressor_compress_write()
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi39 oversampling-ratio = <5>;
45 oversampling-ratio = <5>;
51 oversampling-ratio = <5>;
57 oversampling-ratio = <5>;
H A Dimx6dl-plym2m.dts242 oversampling-ratio = <5>;
248 oversampling-ratio = <5>;
254 oversampling-ratio = <5>;
260 oversampling-ratio = <5>;
266 oversampling-ratio = <5>;
272 oversampling-ratio = <5>;
280 oversampling-ratio = <5>;
H A Dimx6dl-victgo.dts190 oversampling-ratio = <5>;
196 oversampling-ratio = <5>;
202 oversampling-ratio = <5>;
208 oversampling-ratio = <5>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DChrono.h106 template <> struct unit<std::ratio<3600>> {
109 template <> struct unit<std::ratio<60>> {
112 template <> struct unit<std::ratio<1>> {
173 return {getAs<std::ratio<1>>(D), "s"};
175 return {getAs<std::ratio<60>>(D), "m"};
177 return {getAs<std::ratio<3600>>(D), "h"};
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c65 uint32_t ratio; member
149 if (sc->ratio > sc->period) in bcm_pwm_reconf()
150 sc->ratio = sc->period; in bcm_pwm_reconf()
151 W_DAT(sc, sc->ratio); in bcm_pwm_reconf()
253 r = sc->ratio; in bcm_pwm_ratio_proc()
259 sc->ratio = r; in bcm_pwm_ratio_proc()
260 W_DAT(sc, sc->ratio); in bcm_pwm_ratio_proc()
459 sc->ratio = 2500; /* 25% */ in bcm_pwm_attach()
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-skov-revb-lt6.dts97 oversampling-ratio = <5>;
103 oversampling-ratio = <5>;
109 oversampling-ratio = <5>;
115 oversampling-ratio = <5>;
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_common.kshlib87 typeset ratio=$4
90 ratio=1
91 elif [[ $ratio -eq 1 ]]; then
95 verify_pool_prop_eq bclonesaved $(($osaved+dsize*(ratio-1)))
97 verify_pool_prop_eq bcloneratio "${ratio}.00"
/freebsd/contrib/libsamplerate/
H A Dcommon.h179 is_bad_src_ratio (double ratio) in is_bad_src_ratio() argument
180 { return (ratio < (1.0 / SRC_MAX_RATIO) || ratio > (1.0 * SRC_MAX_RATIO)) ; in is_bad_src_ratio()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dduration.h34 template <class _Rep, class _Period = ratio<1> >
188 typedef ratio<__mul<__n1, __d2, !value>::value, __mul<__n2, __d1, !value>::value> type;
287 typedef duration< long, ratio< 60> > minutes;
288 typedef duration< long, ratio<3600> > hours;
290 typedef duration< int, ratio_multiply<ratio<24>, hours::period>> days;
291 typedef duration< int, ratio_multiply<ratio<7>, days::period>> weeks;
292 typedef duration< int, ratio_multiply<ratio<146097, 400>, days::period>> years;
293 typedef duration< int, ratio_divide<years::period, ratio<12>>> months;
488 _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600, 1>> operator""h(long doub…
489 return chrono::duration<long double, ratio<3600, 1>>(__h);
[all …]
/freebsd/sys/amd64/vmm/intel/
H A Dvmx_msr.c245 uint64_t bus_freq, ratio; in vmx_msr_init() local
282 ratio = (tsc_freq / bus_freq) & 0xff; in vmx_msr_init()
295 platform_info = (ratio << 8) | (ratio << 40); in vmx_msr_init()
308 turbo_ratio_limit = (turbo_ratio_limit << 8) | ratio; in vmx_msr_init()
/freebsd/contrib/file/magic/Magdir/
H A Dpc9820 >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
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp19 LLVM_ABI const char llvm::detail::unit<std::ratio<3600>>::value[] = "h";
20 LLVM_ABI const char llvm::detail::unit<std::ratio<60>>::value[] = "m";
21 LLVM_ABI const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.c446 double ratio = 0.; in BMK_benchMemAdvancedNoAlloc() local
499 ratio = (double)srcSize / (double)cSize; in BMK_benchMemAdvancedNoAlloc()
623 ratio = (double)srcSize / (double)cSize; in BMK_benchMemAdvancedNoAlloc()
636 int const ratioDigits = 1 + (ratio < 100.) + (ratio < 10.); in BMK_benchMemAdvancedNoAlloc()
646 ratio, in BMK_benchMemAdvancedNoAlloc()
672 int const ratioDigits = 1 + (ratio < 100.) + (ratio < 10.); in BMK_benchMemAdvancedNoAlloc()
681 ratio, in BMK_benchMemAdvancedNoAlloc()
755 ratio, in BMK_benchMemAdvancedNoAlloc()
764 ratio, in BMK_benchMemAdvancedNoAlloc()
H A Dzstdcli_trace.c84 double const ratio = (double)trace->uncompressedSize / (double)trace->compressedSize; in TRACE_log() local
118 ratio, in TRACE_log()
H A Dzstd.1.md102 Display information related to a zstd compressed file, such as size, ratio, and checksum.
110 …Higher compression levels *generally* produce higher compression ratio at the expense of speed and…
121 at the cost of some compression ratio.
159 This setting is designed to improve the compression ratio for files with
182 to improve compression ratio marginally at the cost of speed. Using
186 Note: for level 19, you can get increased compression ratio at the cost
192 There is a negligible impact to compression ratio,
228 small, this guess may be a poor one, resulting in a higher compression ratio than
382 improves compression ratio.
403 improves compression ratio.
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c581 double ratio = (double)(*max_child_ios) / (double)(*min_child_ios); in eval_resilver() local
585 return (ratio); in eval_resilver()
640 double ratio; in eval_decluster() local
643 ratio = eval_resilver(map, groupwidth, in eval_decluster()
647 if (ratio > worst_ratio) { in eval_decluster()
648 worst_ratio = ratio; in eval_decluster()
653 sum += ratio; in eval_decluster()
660 ratio = eval_resilver(map, in eval_decluster()
665 if (ratio > worst_ratio) { in eval_decluster()
666 worst_ratio = ratio; in eval_decluster()
[all …]
/freebsd/usr.bin/compress/
H A Dzopen.c152 #define ratio zs->zs_ratio macro
263 ratio = 0; in zwrite()
645 if (rat > ratio) in cl_block()
646 ratio = rat; in cl_block()
648 ratio = 0; in cl_block()
710 ratio = 0; in zopen()
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Drenesas,r8a7740-cpg-clocks.txt6 and several fixed ratio and variable ratio dividers.
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Ddavinci-mcasp-audio.txt48 - auxclk-fs-ratio: When McASP is bus master indicates the ratio between AUCLK
50 AUCLK rate = auxclk-fs-ratio * FS rate
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-ratelim.c631 double ratio; in main() local
668 seconds_per_tick = ratio = cfg_tick_msec / 1000.0; in main()
670 cfg_connlimit *= ratio; in main()
671 cfg_grouplimit *= ratio; in main()

1234567