| /freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_fixed_point.h | 32 T, short fract, fract, long fract, unsigned short fract, unsigned fract, 33 unsigned long fract, short accum, accum, long accum, unsigned short accum, 34 unsigned accum, unsigned long accum, short sat fract, sat fract, 35 long sat fract, unsigned short sat fract, unsigned sat fract, 36 unsigned long sat fract, short sat accum, sat accum, long sat accum,
|
| H A D | is_signed.h | 39 __is_unqualified_any_of<T, short fract, fract, long fract, short accum, 40 accum, long accum, short sat fract, sat fract, 41 long sat fract, short sat accum, sat accum,
|
| H A D | is_unsigned.h | 39 __is_unqualified_any_of<T, unsigned short fract, unsigned fract, 40 unsigned long fract, unsigned short accum, 42 unsigned short sat fract, unsigned sat fract, 43 unsigned long sat fract, unsigned short sat accum,
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/ |
| H A D | stdfix-macros.h | 19 #define fract _Fract macro 328 fract: absr, \ 329 short fract: abshr, \ 330 long fract: abslr, \ 337 fract: countlsr, \ 338 short fract: countlshr, \ 339 long fract: countlslr, \ 343 unsigned fract: countlsur, \ 344 unsigned short fract: countlsuhr, \ 345 unsigned long fract: countlsulr, \ [all …]
|
| /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/contrib/llvm-project/libc/src/__support/fixed_point/ |
| H A D | fx_rep.h | 40 template <> struct FXRep<short fract> { 60 template <> struct FXRep<unsigned short fract> { 61 using Type = unsigned short fract; 80 template <> struct FXRep<fract> { 81 using Type = fract; 100 template <> struct FXRep<unsigned fract> { 101 using Type = unsigned fract; 120 template <> struct FXRep<long fract> { 121 using Type = long fract; 140 template <> struct FXRep<unsigned long fract> { [all …]
|
| H A D | sqrt.h | 31 template <> struct SqrtConfig<unsigned short fract> { 32 using Type = unsigned short fract; 53 template <> struct SqrtConfig<unsigned fract> { 54 using Type = unsigned fract; 79 template <> struct SqrtConfig<unsigned long fract> { 80 using Type = unsigned long fract; 112 struct SqrtConfig<unsigned short accum> : SqrtConfig<unsigned fract> {}; 115 struct SqrtConfig<unsigned accum> : SqrtConfig<unsigned long fract> {}; 120 using FracType = unsigned fract; 122 using FastFracType = unsigned short fract; [all …]
|
| /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 | 1377 uintmax_t fract, sum, whole; in acpi_cpu_usage_sysctl() local 1386 fract = (whole % sum) * 100; in acpi_cpu_usage_sysctl() 1388 (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/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 539 case SPIRV::OpenCLExtInst::fract: in finalizeLowering()
|
| H A D | SPIRVBuiltins.td | 252 defm : DemangledExtendedBuiltin<"fract", OpenCL_std, 30>;
|
| H A D | SPIRVInstructionSelector.cpp | 3120 return selectExtInst(ResVReg, ResType, I, CL::fract, GL::Fract); in selectIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPU.td | 1253 "Requires use of fract on arguments to trig instructions"
|
| H A D | SIInstructions.td | 3703 // fract(x) = isnan(x) ? x : min(V_FRACT(x), 0.99999999999999999) 3705 // Convert floor(x) to (x - fract(x))
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 622 foreach name = ["fract", "modf", "sincos"] in {
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 470 // fract function. It should be ok on VI.
|