Searched refs:fract (Results 1 – 12 of 12) sorted by relevance
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | fmt_scaled.c | 221 long long abval, fract = 0; in fmt_scaled() local 239 fract = (i == 0) ? 0 : abval % scale_factors[i]; in fmt_scaled() 242 fract /= scale_factors[i - 1]; in fmt_scaled() 247 fract = (10 * fract + 512) / 1024; in fmt_scaled() 249 if (fract >= 10) { in fmt_scaled() 254 fract = 0; in fmt_scaled() 255 } else if (fract < 0) { in fmt_scaled() 257 fract = 0; in fmt_scaled() 263 if (fract >= 5) { in fmt_scaled() 273 number, fract, scale_chars[unit]); in fmt_scaled()
|
| /freebsd-13.1/sys/arm64/rockchip/clk/ |
| H A D | rk_cru.h | 125 .clk.fract = &(struct rk_clk_fract_def) { \ 227 struct rk_clk_fract_def *fract; member
|
| H A D | rk3328_cru.c | 1653 .clk.fract = &i2s0_frac 1665 .clk.fract = &i2s1_frac 1681 .clk.fract = &i2s2_frac
|
| H A D | rk_cru.c | 265 sc->clks[i].clk.fract); in rk_cru_attach()
|
| H A D | rk3288_cru.c | 583 .clk.fract = &(struct rk_clk_fract_def) { \
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_umtx.c | 322 u_int fract, i, j, tot, whole; in sysctl_debug_umtx_chains_peaks() local 347 fract = (whole % tot) * 100; in sysctl_debug_umtx_chains_peaks() 349 sf0 = fract; in sysctl_debug_umtx_chains_peaks() 352 } else if (UPROF_PERC_BIGGER(whole, fract, sw1, in sysctl_debug_umtx_chains_peaks() 354 sf1 = fract; in sysctl_debug_umtx_chains_peaks() 357 } else if (UPROF_PERC_BIGGER(whole, fract, sw2, in sysctl_debug_umtx_chains_peaks() 359 sf2 = fract; in sysctl_debug_umtx_chains_peaks() 362 } else if (UPROF_PERC_BIGGER(whole, fract, sw3, in sysctl_debug_umtx_chains_peaks() 364 sf3 = fract; in sysctl_debug_umtx_chains_peaks() 367 } else if (UPROF_PERC_BIGGER(whole, fract, sw4, in sysctl_debug_umtx_chains_peaks() [all …]
|
| /freebsd-13.1/sys/dev/acpica/ |
| H A D | acpi_cpu.c | 1346 uintmax_t fract, sum, whole; in acpi_cpu_usage_sysctl() local 1355 fract = (whole % sum) * 100; in acpi_cpu_usage_sysctl() 1357 (u_int)(fract / sum)); in acpi_cpu_usage_sysctl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Headers/ |
| H A D | opencl-c.h | 7263 float __ovld fract(float x, float *iptr); 7264 float2 __ovld fract(float2 x, float2 *iptr); 7265 float3 __ovld fract(float3 x, float3 *iptr); 7266 float4 __ovld fract(float4 x, float4 *iptr); 7267 float8 __ovld fract(float8 x, float8 *iptr); 7270 double __ovld fract(double x, double *iptr); 7278 half __ovld fract(half x, half *iptr); 7279 half2 __ovld fract(half2 x, half2 *iptr); 7280 half3 __ovld fract(half3 x, half3 *iptr); 7281 half4 __ovld fract(half4 x, half4 *iptr); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstructions.td | 834 // Convert (x - floor(x)) to fract(x) 841 // Convert (x + (-floor(x))) to fract(x) 2430 // fract(x) = isnan(x) ? x : min(V_FRACT(x), 0.99999999999999999) 2432 // Convert floor(x) to (x - fract(x))
|
| H A D | AMDGPU.td | 732 "Requires use of fract on arguments to trig instructions"
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 549 foreach name = ["fract", "modf", "sincos"] in { 565 foreach name = ["fract", "modf", "sincos"] in {
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 314 // fract function. It should be ok on VI.
|