| /freebsd-14.2/usr.bin/number/ |
| H A D | number.c | 124 char *p, *fraction; in convert() local 127 fraction = NULL; in convert() 140 if (fraction != NULL) in convert() 142 fraction = p + 1; in convert() 157 (fraction != NULL && ((flen = strlen(fraction)) > MAXNUM))) in convert() 167 if (fraction != NULL && flen != 0) in convert() 168 for (p = fraction; *p != '\0'; ++p) in convert() 174 if (unit(flen, fraction)) { in convert()
|
| /freebsd-14.2/contrib/ofed/librdmacm/examples/ |
| H A D | common.c | 78 long long base, fraction = 0; in size_str() local 96 fraction = (size % base) * 10 / base; in size_str() 97 if (fraction) { in size_str() 98 snprintf(str, ssize, "%lld.%lld%c", size / base, fraction, mag); in size_str()
|
| /freebsd-14.2/contrib/arm-optimized-routines/math/test/rtest/ |
| H A D | semi.c | 619 int fraction = x[0] & 0x007fffff; in test_isnanf() local 620 if ((exponent == 0x7f800000) && (fraction != 0)) out[0] = 1; in test_isnanf() 673 int fraction = (x[0] & 0x000fffff) | x[1]; in test_fpclassify() local 675 if ((exponent == 0x00) && (fraction == 0)) out[0] = 0; in test_fpclassify() 676 else if ((exponent == 0x00) && (fraction != 0)) out[0] = 4; in test_fpclassify() 677 else if ((exponent == 0x7ff) && (fraction == 0)) out[0] = 3; in test_fpclassify() 678 else if ((exponent == 0x7ff) && (fraction != 0)) out[0] = 7; in test_fpclassify() 686 int fraction = x[0] & 0x007fffff; in test_fpclassifyf() local 688 if ((exponent == 0x000) && (fraction == 0)) out[0] = 0; in test_fpclassifyf() 690 else if ((exponent == 0xff) && (fraction == 0)) out[0] = 3; in test_fpclassifyf() [all …]
|
| /freebsd-14.2/sys/contrib/dev/athk/ |
| H A D | dfs_pri_detector.c | 44 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) in pde_get_multiple() argument 50 if (fraction == 0) in pde_get_multiple() 53 delta = (val < fraction) ? (fraction - val) : (val - fraction); in pde_get_multiple() 59 factor = val / fraction; in pde_get_multiple() 60 remainder = val % fraction; in pde_get_multiple() 63 if ((fraction - remainder) <= tolerance) in pde_get_multiple()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | ntp.h | 46 nd_uint32_t fraction; member 51 nd_uint16_t fraction; member
|
| H A D | print-ntp.c | 460 f = GET_BE_U_2(sfp->fraction); in p_sfix() 481 uf = GET_BE_U_4(lfp->fraction); in p_ntp_delta() 482 ouf = GET_BE_U_4(olfp->fraction); in p_ntp_delta()
|
| H A D | ntp.c | 41 uf = GET_BE_U_4(lfp->fraction); in p_ntp_time()
|
| H A D | print-lspping.c | 499 uint32_t int_part, fraction; in lspping_print() local 595 fraction=GET_BE_U_4(lspping_com_header->ts_rcvd.fraction); in lspping_print() 597 if (! (int_part == 0 && fraction == 0)) in lspping_print()
|
| /freebsd-14.2/contrib/netbsd-tests/bin/sleep/ |
| H A D | t_sleep.sh | 31 atf_test_case fraction 69 atf_add_test_case fraction
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | stmpe.txt | 31 - st,fraction-z : Length of the fractional part in z (recommended is 7) 32 (fraction-z ([0..7]) = Count of the fractional part) 97 st,fraction-z = <7>;
|
| /freebsd-14.2/usr.bin/gprof/ |
| H A D | gprof.callg | 50 fraction which divides up the function's time to 55 the propagation fraction. 77 propagation fraction for this child. 81 propagation fraction.
|
| /freebsd-14.2/sys/dev/iicbus/sensor/ |
| H A D | max6690.c | 332 uint8_t fraction = 0; in max6690_sensor_read() local 353 err = max6690_read(sc->sc_dev, sc->sc_addr, reg_ext, &fraction); in max6690_sensor_read() 358 fraction &= MAX6690_TEMP_MASK; in max6690_sensor_read() 363 temp = (integer * 10) + (fraction >> 5) * 10 / 8; in max6690_sensor_read()
|
| /freebsd-14.2/contrib/less/ |
| H A D | jump.c | 137 public void jump_percent(int percent, long fraction) in jump_percent() argument 155 pos = percent_pos(len, percent, fraction); in jump_percent()
|
| H A D | command.c | 82 static long fraction; /* The fractional part of the number */ variable 653 number = cmd_int(&fraction); in mca_char() 1545 fraction = 0; in commands() 1547 if (number > 100 || (number == 100 && fraction != 0)) in commands() 1550 fraction = 0; in commands() 1553 jump_percent((int) number, fraction); in commands()
|
| H A D | os.c | 428 public POSITION percent_pos(POSITION pos, int percent, long fraction) in percent_pos() argument 434 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos()
|
| /freebsd-14.2/sys/geom/bde/ |
| H A D | g_bde_work.c | 97 static void g_bde_purge_sector(struct g_bde_softc *sc, int fraction); 317 g_bde_purge_sector(struct g_bde_softc *sc, int fraction) in g_bde_purge_sector() argument 323 if (fraction > 0) in g_bde_purge_sector() 324 n = sc->ncache / fraction + 1; in g_bde_purge_sector()
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | socfpga_cyclone5_mcvevk.dts | 69 ts,fraction-z = <7>;
|
| H A D | imx53-m53.dtsi | 67 st,fraction-z = <7>;
|
| H A D | imx6ul-phytec-segin-peb-av-02.dtsi | 73 st,fraction-z = <7>;
|
| H A D | spear320-hmi.dts | 261 ts,fraction-z = <7>;
|
| /freebsd-14.2/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
| H A D | fm_plcr.c | 228 uint64_t integer, fraction; in CalcRates() local 244 …m->rateMode, p_NonPassthroughAlgParam->committedInfoRate, tsuInTenthNanos, 0, &integer, &fraction); in CalcRates() 246 …rateMode, p_NonPassthroughAlgParam->peakOrExcessInfoRate, tsuInTenthNanos, 0, &integer, &fraction); in CalcRates() 285 temp = (uint32_t)fraction; /* fraction will alyas be smaller than 2^16 */ in CalcRates() 309 …Mode, p_NonPassthroughAlgParam->committedInfoRate, tsuInTenthNanos, fppShift, &integer, &fraction); in CalcRates() 310 *cir = (uint32_t)(integer << 16 | (fraction & 0xFFFF)); in CalcRates() 311 …e, p_NonPassthroughAlgParam->peakOrExcessInfoRate, tsuInTenthNanos, fppShift, &integer, &fraction); in CalcRates() 312 *pir_eir = (uint32_t)(integer << 16 | (fraction & 0xFFFF)); in CalcRates()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | Cocoa.cpp | 865 uint64_t fraction : 52; // unsigned member 871 uint64_t fraction : 52; // unsigned member 897 decodedBits.fraction = encodedBits.fraction; in decodeTaggedTimeInterval()
|
| /freebsd-14.2/contrib/file/magic/Magdir/ |
| H A D | sql | 163 # maximum embedded payload fraction. Must be 64; 1 for corruptDB.sqlite 165 # Minimum embedded payload fraction. Must be 32; 1 for corruptDB.sqlite 167 # Leaf payload fraction. Must be 32; 0 for corruptDB.sqlite
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/thermal/ |
| H A D | qcom-spmi-adc-tm-hc.yaml | 88 integers, denoting the numerator and denominator of the fraction by
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | cdns,sdhci.yaml | 85 # Each delay property represents the fraction of the clock period.
|