| /freebsd-14-stable/usr.bin/number/ |
| HD | 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-stable/contrib/ofed/librdmacm/examples/ |
| HD | 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-stable/sys/contrib/dev/athk/ |
| HD | 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-stable/contrib/tcpdump/ |
| HD | ntp.h | 46 nd_uint32_t fraction; member 51 nd_uint16_t fraction; member
|
| HD | 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()
|
| HD | ntp.c | 41 uf = GET_BE_U_4(lfp->fraction); in p_ntp_time()
|
| HD | 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-stable/contrib/netbsd-tests/bin/sleep/ |
| HD | t_sleep.sh | 31 atf_test_case fraction 69 atf_add_test_case fraction
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| HD | 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-stable/usr.bin/gprof/ |
| HD | 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-stable/sys/dev/iicbus/sensor/ |
| HD | 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-stable/contrib/less/ |
| HD | 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()
|
| HD | command.c | 77 static long fraction; /* The fractional part of the number */ variable 666 number = cmd_int(&fraction); in mca_char() 1628 fraction = 0; in commands() 1630 if (number > 100 || (number == 100 && fraction != 0)) in commands() 1633 fraction = 0; in commands() 1636 jump_percent((int) number, fraction); in commands()
|
| HD | os.c | 430 public POSITION percent_pos(POSITION pos, int percent, long fraction) in percent_pos() argument 436 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos()
|
| HD | optfunc.c | 199 static void query_fraction(int value, long fraction, constant char *int_msg, constant char *frac_ms… in query_fraction() argument 203 if (fraction < 0) in query_fraction() 211 SNPRINTF1(buf, sizeof(buf), ".%06ld", fraction); in query_fraction()
|
| /freebsd-14-stable/sys/geom/bde/ |
| HD | 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-stable/sys/contrib/device-tree/src/arm/ |
| HD | socfpga_cyclone5_mcvevk.dts | 69 ts,fraction-z = <7>;
|
| HD | imx53-m53.dtsi | 67 st,fraction-z = <7>;
|
| HD | imx6ul-phytec-segin-peb-av-02.dtsi | 73 st,fraction-z = <7>;
|
| HD | spear320-hmi.dts | 261 ts,fraction-z = <7>;
|
| HD | r8a7745-iwg22d-sodimm.dts | 205 st,fraction-z = <7>;
|
| /freebsd-14-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
| HD | 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-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| HD | 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-stable/contrib/file/magic/Magdir/ |
| HD | sql | 244 # maximum embedded payload fraction. Must be 64; 1 for corruptDB.sqlite 246 # Minimum embedded payload fraction. Must be 32; 1 for corruptDB.sqlite 248 # Leaf payload fraction. Must be 32; 0 for corruptDB.sqlite
|
| /freebsd-14-stable/contrib/unbound/dnstap/ |
| HD | dnstap.proto | 263 // This is the seconds fraction, expressed as a count of nanoseconds. 280 // This is the seconds fraction, expressed as a count of nanoseconds.
|