Searched refs:fract (Results 1 – 11 of 11) sorted by relevance
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | fmt_scaled.c | 223 long long abval, fract = 0; in fmt_scaled() local 245 fract = (i == 0) ? 0 : abval % scale_factors[i]; in fmt_scaled() 248 fract /= scale_factors[i - 1]; in fmt_scaled() 253 fract = (10 * fract + 512) / 1024; in fmt_scaled() 255 if (fract >= 10) { in fmt_scaled() 260 fract = 0; in fmt_scaled() 261 } else if (fract < 0) { in fmt_scaled() 263 fract = 0; in fmt_scaled() 269 if (fract >= 5) { in fmt_scaled() 279 number, fract, scale_chars[unit]); in fmt_scaled()
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk_cru.h | 127 .clk.fract = &(struct rk_clk_fract_def) { \ 240 struct rk_clk_fract_def *fract; member
|
H A D | rk_cru.c | 260 sc->clks[i].clk.fract); in rk_cru_attach()
|
/freebsd/sys/kern/ |
H A D | kern_umtx.c | 216 u_int fract, i, j, tot, whole; in sysctl_debug_umtx_chains_peaks() local 241 fract = (whole % tot) * 100; in sysctl_debug_umtx_chains_peaks() 242 if (UPROF_PERC_BIGGER(whole, fract, sw0, sf0)) { in sysctl_debug_umtx_chains_peaks() 243 sf0 = fract; in sysctl_debug_umtx_chains_peaks() 246 } else if (UPROF_PERC_BIGGER(whole, fract, sw1, in sysctl_debug_umtx_chains_peaks() 248 sf1 = fract; in sysctl_debug_umtx_chains_peaks() 251 } else if (UPROF_PERC_BIGGER(whole, fract, sw2, in sysctl_debug_umtx_chains_peaks() 253 sf2 = fract; in sysctl_debug_umtx_chains_peaks() 256 } else if (UPROF_PERC_BIGGER(whole, fract, sw3, in sysctl_debug_umtx_chains_peaks() 258 sf3 = fract; in sysctl_debug_umtx_chains_peaks() [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_cpu.c | 1367 uintmax_t fract, sum, whole; in acpi_cpu_usage_sysctl() local 1376 fract = (whole % sum) * 100; in acpi_cpu_usage_sysctl() 1378 (u_int)(fract / sum)); in acpi_cpu_usage_sysctl()
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | opencl-c.h | 7266 float __ovld fract(float, float *); 7267 float2 __ovld fract(float2, float2 *); 7268 float3 __ovld fract(float3, float3 *); 7269 float4 __ovld fract(float4, float4 *); 7270 float8 __ovld fract(float8, float8 *); 7271 float16 __ovld fract(float16, float16 *); 7273 double __ovld fract(double, double *); 7274 double2 __ovld fract(double2, double2 *); 7275 double3 __ovld fract(double3, double3 *); 7276 double4 __ovld fract(double4, double4 *); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPU.td | 1058 "Requires use of fract on arguments to trig instructions"
|
H A D | SIInstructions.td | 3345 // fract(x) = isnan(x) ? x : min(V_FRACT(x), 0.99999999999999999) 3347 // Convert floor(x) to (x - fract(x))
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.td | 242 defm : DemangledExtendedBuiltin<"fract", OpenCL_std, 30>;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 618 foreach name = ["fract", "modf", "sincos"] in {
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsAMDGPU.td | 443 // fract function. It should be ok on VI.
|