| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
| amdgpu_dce_scl_filters.c | 1020 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio) 1022 if (ratio.value < dc_fixpt_one.value) 1024 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) 1026 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) 1032 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio) 1034 if (ratio.value < dc_fixpt_one.value) 1036 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) 1038 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) 1044 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio) 1046 if (ratio.value < dc_fixpt_one.value [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
| amdgpu_dcn20_dwb_scl.c | 535 const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio) 537 if (ratio.value < dc_fixpt_one.value) 539 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) 541 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) 547 const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio) 549 if (ratio.value < dc_fixpt_one.value) 551 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) 553 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) 559 static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio) 561 if (ratio.value < dc_fixpt_one.value [all...] |
| /src/sys/arch/arm/amlogic/ |
| meson_clk_div.c | 45 u_int rate, ratio; local 64 ratio = __SHIFTOUT(val, div->div); 66 ratio = 0; 69 return rate >> ratio; 71 if (ratio < 1 || ratio > 8) 73 return rate / ((ratio + 1) * 2); 75 return rate / (ratio + 1); 87 int ratio, error; local 112 ratio = howmany(parent_rate, new_rate) [all...] |
| /src/sys/arch/arm/sunxi/ |
| sunxi_ccu_div.c | 67 u_int rate, ratio; local 83 ratio = __SHIFTOUT(val, div->div); 85 ratio = 0; 87 if ((div->flags & SUNXI_CCU_DIV_ZERO_IS_ONE) != 0 && ratio == 0) 88 ratio = 1; 90 ratio = 1 << ratio; 92 ratio = ratio << 1; 93 if (ratio == 0 141 int ratio; local [all...] |
| /src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/ |
| _divkc3.c | 57 TFtype denom, ratio, x, y; local 97 ratio = c / d; 98 denom = (c * ratio) + d; 99 /* Choose alternate order of computation if ratio is subnormal. */ 100 if (FABS (ratio) > RMIN) 102 x = ((a * ratio) + b) / denom; 103 y = ((b * ratio) - a) / denom; 143 ratio = d / c; 144 denom = (d * ratio) + c; 145 /* Choose alternate order of computation if ratio is subnormal. * [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
| transform.h | 71 /* Active format aspect ratio */ 270 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio); 271 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio); 272 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio); 273 const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio); 274 const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio); 275 const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio); 276 const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio); 277 const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio);
|
| /src/external/gpl3/gcc/dist/libgcc/config/rs6000/ |
| _divkc3.c | 67 TFtype denom, ratio, x, y; local 107 ratio = c / d; 108 denom = (c * ratio) + d; 109 /* Choose alternate order of computation if ratio is subnormal. */ 110 if (FABS (ratio) > RMIN) 112 x = ((a * ratio) + b) / denom; 113 y = ((b * ratio) - a) / denom; 153 ratio = d / c; 154 denom = (d * ratio) + c; 155 /* Choose alternate order of computation if ratio is subnormal. * [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| Chrono.h | 79 template <> struct unit<std::ratio<3600>> { static const char value[]; }; 80 template <> struct unit<std::ratio<60>> { static const char value[]; }; 81 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"};
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/ |
| resize_policy.hpp | 57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon14751 187 m_shrink_size = m_grow_size / ratio; 210 m_shrink_size = m_grow_size / ratio; 221 || m_shrink_size * ratio == m_grow_size);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/ |
| resize_policy.hpp | 57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon17142 187 m_shrink_size = m_grow_size / ratio; 210 m_shrink_size = m_grow_size / ratio; 221 || m_shrink_size * ratio == m_grow_size);
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| 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";
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_cdclk.h | 24 u8 ratio; member in struct:intel_cdclk_vals
|
| intel_cdclk.c | 1171 { .refclk = 19200, .cdclk = 144000, .divider = 8, .ratio = 60 }, 1172 { .refclk = 19200, .cdclk = 288000, .divider = 4, .ratio = 60 }, 1173 { .refclk = 19200, .cdclk = 384000, .divider = 3, .ratio = 60 }, 1174 { .refclk = 19200, .cdclk = 576000, .divider = 2, .ratio = 60 }, 1175 { .refclk = 19200, .cdclk = 624000, .divider = 2, .ratio = 65 }, 1180 { .refclk = 19200, .cdclk = 79200, .divider = 8, .ratio = 33 }, 1181 { .refclk = 19200, .cdclk = 158400, .divider = 4, .ratio = 33 }, 1182 { .refclk = 19200, .cdclk = 316800, .divider = 2, .ratio = 33 }, 1187 { .refclk = 19200, .cdclk = 168000, .divider = 4, .ratio = 35 }, 1188 { .refclk = 19200, .cdclk = 336000, .divider = 2, .ratio = 35 } 1324 u32 val, ratio; local 1424 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local 1459 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local [all...] |
| /src/usr.bin/ftp/ |
| progressbar.c | 133 int ratio, i, remaining, barlength; local 218 ratio = (int)((double)cursize * 100.0 / (double)filesize); 219 ratio = MAX(ratio, 0); 220 ratio = MIN(ratio, 100); 221 len += snprintf(buf + len, BUFLEFT, "%3d%% ", ratio); 231 i = barlength * ratio / 100;
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_add_filter_compress.c | 77 #define CHECK_GAP 10000 /* Ratio check interval. */ 335 int ratio; local 393 ratio = (int)(state->in_count * 256 / state->out_count); 394 else if ((ratio = (int)(state->out_count / 256)) == 0) 395 ratio = 0x7fffffff; 397 ratio = (int)(state->in_count / ratio); 399 if (ratio > state->compress_ratio) 400 state->compress_ratio = ratio;
|
| /src/external/mpl/bind/dist/bin/tests/system/checkconf/ |
| bad-maxratio1.conf | 18 max-ixfr-ratio 0.9;
|
| bad-maxratio2.conf | 18 max-ixfr-ratio 0%;
|
| good-maxratio1.conf | 18 max-ixfr-ratio 50%;
|
| good-maxratio2.conf | 18 max-ixfr-ratio unlimited;
|
| warn-maxratio1.conf | 18 max-ixfr-ratio 101%;
|
| /src/external/mpl/bind/dist/bin/tests/system/ixfr/ns3/ |
| named.conf.j2 | 43 max-ixfr-ratio 75%;
|
| /src/external/mpl/bind/dist/bin/tests/system/ixfr/ns4/ |
| named.conf.j2 | 44 max-ixfr-ratio unlimited;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| profile-count.cc | 127 uint64_t ratio; 128 safe_scale_64bit (m_val, 100, other.m_val, &ratio); 129 return ratio < 99 || ratio > 101; 220 int64_t ratio = (int64_t)m_val * 100 / other.m_val; 221 return ratio < 99 || ratio > 101;
|
| /src/external/lgpl3/mpfr/dist/tune/ |
| tuneup.c | 593 mpfr_t ratio; local 595 mpfr_init2 (ratio, MPFR_SMALL_PRECISION); 596 mpfr_set_si (ratio, dirx, MPFR_RNDN); 597 mpfr_div_si (ratio, ratio, dirp, MPFR_RNDN); 605 mpfr_mul_ui (xmin, ratio, (unsigned int)pmin, MPFR_RNDN); 615 mpfr_mul_ui (xres, ratio, (unsigned int)*pres, MPFR_RNDN); 616 mpfr_clear (ratio); mpfr_clear (x); mpfr_clear (xmin); mpfr_clear (xmax); 628 mpfr_mul_ui (xmin, ratio, (unsigned int)pmin, MPFR_RNDN); 638 mpfr_mul_ui (xmin, ratio, (unsigned int)pmin, MPFR_RNDN) [all...] |
| /src/games/rogue/ |
| use.c | 323 float ratio; local 328 ratio = ((float)rogue.hp_current) / rogue.hp_max; 330 if (ratio >= 1.00) { 334 } else if (ratio >= 0.90) { 339 if (ratio < 0.33) { 340 ratio = 0.33; 343 ratio += ratio; 345 add = (short)(ratio * (rogue.hp_max - rogue.hp_current));
|