| /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 | 238 long long abval, fract = 0; in fmt_scaled() local 260 fract = (i == 0) ? 0 : abval % scale_factors[i]; in fmt_scaled() 263 fract /= scale_factors[i - 1]; in fmt_scaled() 268 fract = (10 * fract + 512) / 1024; in fmt_scaled() 270 if (fract >= 10) { in fmt_scaled() 275 fract = 0; in fmt_scaled() 276 } else if (fract < 0) { in fmt_scaled() 278 fract = 0; in fmt_scaled() 284 if (fract >= 5) { in fmt_scaled() 294 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/video/ |
| H A D | video.c | 759 struct video_fract fract; in video_g_parm() local 764 memset(&fract, 0, sizeof(fract)); in video_g_parm() 765 error = VIDEO_GET_PARM(vd->dev, &fract); in video_g_parm() 771 sp->parm.capture.timeperframe.numerator = fract.numerator; in video_g_parm() 772 sp->parm.capture.timeperframe.denominator = fract.denominator; in video_g_parm() 779 struct video_fract fract; in video_s_parm() local 784 fract.numerator = sp->parm.capture.timeperframe.numerator; in video_s_parm() 785 fract.denominator = sp->parm.capture.timeperframe.denominator; in video_s_parm() 787 error = VIDEO_SET_PARM(vd->dev, &fract); in video_s_parm() 792 sp->parm.capture.timeperframe.numerator = fract.numerator; in video_s_parm() [all …]
|
| H A D | video_if.m | 150 struct video_fract *fract; 155 struct video_fract *fract;
|
| /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/dev/usb/video/ |
| H A D | uvideo.c | 2980 uvideo_hw_get_parm(device_t dev, struct video_fract *fract) in uvideo_hw_get_parm() argument 2984 fract->numerator = UGETDW(sc->sc_desc_probe.dwFrameInterval); in uvideo_hw_get_parm() 2985 fract->denominator = 10000000; in uvideo_hw_get_parm() 2991 uvideo_hw_set_parm(device_t dev, struct video_fract *fract) in uvideo_hw_set_parm() argument 2996 if (fract->numerator == 0 || fract->denominator == 0) in uvideo_hw_set_parm() 2999 sc->sc_frame_rate = fract->denominator / fract->numerator; in uvideo_hw_set_parm() 3008 fract->numerator = UGETDW(sc->sc_desc_probe.dwFrameInterval); in uvideo_hw_set_parm() 3009 fract->denominator = 10000000; in uvideo_hw_set_parm()
|
| /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 | 1434 uintmax_t fract, sum, whole; in acpi_cpu_usage_sysctl() local 1443 fract = (whole % sum) * 100; in acpi_cpu_usage_sysctl() 1445 (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.
|