| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_cdclk.h | 24 u8 ratio; member in struct:intel_cdclk_vals
|
| /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/bsd/zstd/dist/programs/ |
| zstdcli_trace.c | 53 * compression ratio 56 fprintf(g_traceFile, "Algorithm, Version, Method, Mode, Level, Workers, Dictionary Size, Uncompressed Size, Compressed Size, Duration Nanos, Compression Ratio, Speed MB/s\n"); 84 double const ratio = (double)trace->uncompressedSize / (double)trace->compressedSize; local 104 * compression ratio 118 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/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/lib/libc/gdtoa/ |
| smisc.c | 84 ratio function
|
| /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/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/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));
|
| /src/sys/arch/riscv/starfive/ |
| jh71x0_clkc.c | 257 u_int ratio = howmany(parent_rate, new_rate); local 258 u_int div = uimin(ratio, jcc_div->jcd_maxdiv); 330 u_int ratio = howmany(parent_rate, new_rate); 331 u_int div = uimin(ratio, jcc_div->jcd_maxdiv); 446 u_int ratio = howmany(parent_rate, new_rate); local 447 u_int div = uimin(ratio, jcc_muxdiv->jcmd_maxdiv);
|
| /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/bsd/zstd/dist/contrib/pzstd/ |
| Pzstd.cpp | 97 double ratio = static_cast<double>(bytesWritten) / local 101 inputFileName.c_str(), ratio * 100, bytesRead, bytesWritten,
|
| /src/external/gpl3/gcc/dist/gcc/config/riscv/ |
| riscv-avlprop.cc | 329 int ratio = calculate_ratio (sew, vlmul); local 372 if (new_ratio != ratio)
|
| /src/common/dist/zlib/contrib/minizip/ |
| miniunz.c | 239 printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); 245 uLong ratio=0; local 255 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 286 ratio,
|
| /src/sys/net/ |
| ppp_defs.h | 155 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
|
| bsd-comp.c | 75 * The compression ratio is checked at the first end of a packet 100 u_int ratio; /* recent compression ratio */ member in struct:bsd_db 101 u_int checkpoint; /* when to next check the ratio */ 184 #define CHECK_GAP 10000 /* Ratio check interval */ 205 db->ratio = 0; 214 * Compute the compression ratio using fixed-point arithmetic 218 * watch only the local compression ratio. 222 * must compute the same ratio. 230 /* age the ratio by limiting the size of the counts * [all...] |
| /src/external/gpl3/binutils/dist/zlib/contrib/minizip/ |
| miniunz.c | 239 printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); 245 uLong ratio=0; local 255 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 286 ratio,
|
| /src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/ |
| miniunz.c | 246 printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); 252 uLong ratio=0; local 262 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 293 ratio,
|
| /src/external/gpl3/gdb/dist/zlib/contrib/minizip/ |
| miniunz.c | 246 printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); 252 uLong ratio=0; local 262 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 293 ratio,
|
| /src/external/gpl3/gdb.old/dist/zlib/contrib/minizip/ |
| miniunz.c | 246 printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); 252 uLong ratio=0; local 262 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 293 ratio,
|
| /src/external/public-domain/xz/dist/src/xz/ |
| list.c | 607 /// \brief Get the compression ratio 616 const double ratio = (double)(compressed_size) local 618 if (ratio > 9.999) 622 snprintf(buf, sizeof(buf), "%.3f", ratio); 674 // to Ratio, the columns are right aligned. Check and Filename 677 puts(_("Strms Blocks Compressed Uncompressed Ratio " 727 printf(_(" Ratio: %s\n"), 760 " CompSize UncompSize Ratio" 815 " TotalSize UncompSize Ratio Check"));
|
| message.c | 307 /// output produced, and the compression ratio. 325 // Avoid division by zero. If we cannot calculate the ratio, set 328 const double ratio = uncompressed_pos > 0 local 332 // If the ratio is very bad, just indicate that it is greater than 333 // 9.999. This way the length of the ratio field stays fixed. 334 if (ratio > 9.999) 337 snprintf(pos, left, " = %.3f", ratio); 1135 " -e, --extreme try to improve compression ratio by using more CPU time;\n"
|
| /src/sys/arch/x68k/stand/libiocs/ |
| iocs.h | 44 unsigned short ratio; member in struct:iocs_circleptr
|