/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | ratio | 14 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 D | ratio.cppm |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Chrono.h | 17 #include <ratio> 106 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/contrib/tnftp/src/ |
H A D | progressbar.c | 141 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 D | archive_write_add_filter_compress.c | 335 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/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6qdl-skov-cpu-revc.dtsi | 39 oversampling-ratio = <5>; 45 oversampling-ratio = <5>; 51 oversampling-ratio = <5>; 57 oversampling-ratio = <5>;
|
H A D | imx6dl-plym2m.dts | 242 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 D | imx6dl-victgo.dts | 190 oversampling-ratio = <5>; 196 oversampling-ratio = <5>; 202 oversampling-ratio = <5>; 208 oversampling-ratio = <5>;
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_pwm.c | 65 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 D | bclone_common.kshlib | 103 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/contrib/llvm-project/llvm/lib/Support/ |
H A D | Chrono.cpp | 18 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/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | duration.h | 34 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 …]
|
H A D | ostream.h | 96 else if constexpr (same_as<typename _Period::type, ratio<1>>) in __units_suffix() 114 else if constexpr (same_as<typename _Period::type, ratio<60>>) in __units_suffix() 116 else if constexpr (same_as<typename _Period::type, ratio<3600>>) in __units_suffix() 118 else if constexpr (same_as<typename _Period::type, ratio<86400>>) in __units_suffix()
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vmx_msr.c | 245 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 D | pc98 | 20 >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/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | draid.c | 590 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 D | zopen.c | 152 #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/zstd/programs/ |
H A D | benchzstd.c | 322 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 D | zstd.1.md | 97 Display information related to a zstd compressed file, such as size, ratio, and checksum. 112 at the cost of some compression ratio. 146 This setting is designed to improve the compression ratio for files with 163 to improve compression ratio at the cost of speed 164 Note: for level 19, you can get increased compression ratio at the cost 170 compression ratio, and the faster compression levels will see a small 205 small, this guess may be a poor one, resulting in a higher compression ratio than 333 resulting in a _small_ compression ratio improvement for this level. 369 in size until compression ratio of the truncated dictionary is at most 370 _shrinkDictMaxRegression%_ worse than the compression ratio of the largest dictionary. [all …]
|
H A D | zstdcli_trace.c | 84 double const ratio = (double)trace->uncompressedSize / (double)trace->compressedSize; in TRACE_log() local 118 ratio, in TRACE_log()
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | renesas,r8a7740-cpg-clocks.txt | 6 and several fixed ratio and variable ratio dividers.
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | davinci-mcasp-audio.txt | 48 - 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 D | test-ratelim.c | 631 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()
|
/freebsd/contrib/libevent/test/ |
H A D | test-ratelim.c | 631 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()
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-time.c | 218 packet.ratio = 0; in tcal_cbr_zero() 285 packet.ratio = 0x38; in cbr() 303 packet.ratio = 0; in cbr_zero()
|