Home
last modified time | relevance | path

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

1234567

/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
68 // 20.11.5, ratio comparison
255 typedef ratio<num, den> type;
274 typedef ratio<1LL, 1000LL> milli;
275 typedef ratio<1LL, 100LL> centi;
276 typedef ratio<1LL, 10LL> deci;
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dratio.inc11 // [ratio.ratio], class template ratio
12 using std::ratio;
14 // [ratio.arithmetic], ratio arithmetic
20 // [ratio.comparison], ratio comparison
35 // [ratio.si], convenience SI typedefs
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dti,tsc2046.yaml56 oversampling-ratio: true
91 oversampling-ratio = <5>;
99 oversampling-ratio = <5>;
104 oversampling-ratio = <5>;
109 oversampling-ratio = <5>;
/freebsd/sys/contrib/device-tree/Bindings/rng/
H A Darm-cctrng.yaml27 arm,rosc-ratio:
30 Sampling ratio values for these 4 ring oscillators. (from calibration)
41 - arm,rosc-ratio
51 arm,rosc-ratio = <5000 1000 500 0>;
/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/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.c335 int ratio; in archive_compressor_compress_write() local
393 ratio = (int)(state->in_count * 256 / state->out_count); in archive_compressor_compress_write()
394 else if ((ratio = (int)(state->out_count / 256)) == 0) in archive_compressor_compress_write()
395 ratio = 0x7fffffff; in archive_compressor_compress_write()
397 ratio = (int)(state->in_count / ratio); in archive_compressor_compress_write()
399 if (ratio > state->compress_ratio) in archive_compressor_compress_write()
400 state->compress_ratio = ratio; in archive_compressor_compress_write()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DChrono.h106 template <> struct unit<std::ratio<3600>> { static const char value[]; };
107 template <> struct unit<std::ratio<60>> { static const char value[]; };
108 template <> struct unit<std::ratio<1>> { static const char value[]; };
161 return {getAs<std::ratio<1>>(D), "s"};
163 return {getAs<std::ratio<60>>(D), "m"};
165 return {getAs<std::ratio<3600>>(D), "h"};
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-skov-revb-lt6.dts58 oversampling-ratio = <5>;
64 oversampling-ratio = <5>;
70 oversampling-ratio = <5>;
76 oversampling-ratio = <5>;
/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/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_common.kshlib103 typeset ratio=$4
106 ratio=1
107 elif [[ $ratio -eq 1 ]]; then
111 verify_pool_prop_eq bclonesaved $(($osaved+dsize*(ratio-1)))
113 verify_pool_prop_eq bcloneratio "${ratio}.00"
/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/llvm-project/libcxx/include/__chrono/
H A Dduration.h34 template <class _Rep, class _Period = ratio<1> >
189 typedef ratio<__mul<__n1, __d2, !value>::value, __mul<__n2, __d1, !value>::value> type;
288 typedef duration< long, ratio< 60> > minutes;
289 typedef duration< long, ratio<3600> > hours;
291 typedef duration< int, ratio_multiply<ratio<24>, hours::period>> days;
292 typedef duration< int, ratio_multiply<ratio<7>, days::period>> weeks;
293 typedef duration< int, ratio_multiply<ratio<146097, 400>, days::period>> years;
294 typedef duration< int, ratio_divide<years::period, ratio<12>>> months;
489 _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600, 1>> operator""h(long doub…
490 return chrono::duration<long double, ratio<3600, 1>>(__h);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dadi,adau7118.yaml38 adi,decimation-ratio:
40 This property set's the decimation ratio of PDM to PCM audio data.
78 adi,decimation-ratio = <16>;
H A Dnvidia,tegra186-asrc.yaml13 ASRC has two modes of operation. One where ratio can be programmed in SW
14 and the other where it gets the information from ratio estimator module.
54 input (port 6) is for receiving ratio information from estimator.
/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.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/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c590 double ratio = (double)(*max_child_ios) / (double)(*min_child_ios); in eval_resilver() local
594 return (ratio); in eval_resilver()
649 double ratio; in eval_decluster() local
652 ratio = eval_resilver(map, groupwidth, in eval_decluster()
656 if (ratio > worst_ratio) { in eval_decluster()
657 worst_ratio = ratio; in eval_decluster()
662 sum += ratio; in eval_decluster()
669 ratio = eval_resilver(map, in eval_decluster()
674 if (ratio > worst_ratio) { in eval_decluster()
675 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()
644 if (rat > ratio) in cl_block()
645 ratio = rat; in cl_block()
647 ratio = 0; in cl_block()
709 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/zstd/programs/
H A Dbenchzstd.c322 double ratio = 0.; in BMK_benchMemAdvancedNoAlloc() local
353 ratio = (double)srcSize / (double)cSize; in BMK_benchMemAdvancedNoAlloc()
450 ratio = (double)srcSize / (double)cSize; in BMK_benchMemAdvancedNoAlloc()
458 { int const ratioAccuracy = (ratio < 10.) ? 3 : 2; in BMK_benchMemAdvancedNoAlloc()
463 ratioAccuracy, ratio, in BMK_benchMemAdvancedNoAlloc()
482 { int const ratioAccuracy = (ratio < 10.) ? 3 : 2; in BMK_benchMemAdvancedNoAlloc()
486 ratioAccuracy, ratio, in BMK_benchMemAdvancedNoAlloc()
544 …%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, d… in BMK_benchMemAdvancedNoAlloc()
546 …OUTPUT("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed,… 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.md112 at the cost of some compression ratio.
163 to improve compression ratio at the cost of speed
170 compression ratio, and the faster compression levels will see a small
333 resulting in a _small_ compression ratio improvement for this level.
473 improves compression ratio.
493 improves compression ratio.
506 compression ratio but decreases compression speed.
513 Larger search lengths usually decrease compression ratio but improve
523 A larger `targetLength` usually improves compression ratio
529 but decreases compression ratio.
[all …]

1234567