/freebsd/usr.bin/number/ |
H A D | number.c | 112 char *p, *fraction; in convert() local 115 fraction = NULL; in convert() 128 if (fraction != NULL) in convert() 130 fraction = p + 1; in convert() 145 (fraction != NULL && ((flen = strlen(fraction)) > MAXNUM))) in convert() 155 if (fraction != NULL && flen != 0) in convert() 156 for (p = fraction; *p != '\0'; ++p) in convert() 162 if (unit(flen, fraction)) { in convert()
|
/freebsd/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/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() 689 else if ((exponent == 0x000) && (fraction != 0)) out[0] = 4; in test_fpclassifyf() [all …]
|
/freebsd/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/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 | 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()
|
H A D | ntp.c | 41 uf = GET_BE_U_4(lfp->fraction); in p_ntp_time()
|
/freebsd/contrib/netbsd-tests/bin/sleep/ |
H A D | t_sleep.sh | 31 atf_test_case fraction 69 atf_add_test_case fraction
|
/freebsd/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/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/sys/dev/iicbus/sensor/ |
H A D | max6690.c | 331 uint8_t fraction = 0; in max6690_sensor_read() local 352 err = max6690_read(sc->sc_dev, sc->sc_addr, reg_ext, &fraction); in max6690_sensor_read() 357 fraction &= MAX6690_TEMP_MASK; in max6690_sensor_read() 362 temp = (integer * 10) + (fraction >> 5) * 10 / 8; in max6690_sensor_read()
|
/freebsd/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 | 77 static long fraction; /* The fractional part of the number */ 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() 82 static long fraction; /* The fractional part of the number */ global() variable
|
H A D | os.c | 430 public POSITION percent_pos(POSITION pos, int percent, long fraction) in percent_pos() 436 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos() 428 percent_pos(POSITION pos,int percent,long fraction) percent_pos() argument
|
H A D | funcs.h | 214 public void jump_percent(int percent, long fraction); 340 public POSITION percent_pos(POSITION pos, int percent, long fraction);
|
/freebsd/sys/geom/bde/ |
H A D | g_bde_work.c |
|
/freebsd/sys/contrib/device-tree/src/arm/intel/socfpga/ |
H A D | socfpga_cyclone5_mcvevk.dts | 69 ts,fraction-z = <7>;
|
/freebsd/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/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx53-m53.dtsi | 59 st,fraction-z = <7>;
|
H A D | imx6ul-phytec-segin-peb-av-02.dtsi | 73 st,fraction-z = <7>;
|
/freebsd/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/sys/contrib/device-tree/src/arm/st/ |
H A D | spear320-hmi.dts | 261 ts,fraction-z = <7>;
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | 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/contrib/unbound/dnstap/ |
H A D | 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.
|