Home
last modified time | relevance | path

Searched refs:fraction (Results 1 – 25 of 64) sorted by relevance

123

/freebsd-13.1/usr.bin/number/
H A Dnumber.c126 char *p, *fraction; in convert() local
129 fraction = NULL; in convert()
142 if (fraction != NULL) in convert()
144 fraction = p + 1; in convert()
159 (fraction != NULL && ((flen = strlen(fraction)) > MAXNUM))) in convert()
169 if (fraction != NULL && flen != 0) in convert()
170 for (p = fraction; *p != '\0'; ++p) in convert()
176 if (unit(flen, fraction)) { in convert()
/freebsd-13.1/usr.bin/setchannel/
H A Dsetchannel.c96 unsigned int fraction; in main() local
188 fraction = strtol(ptr, &endptr, 10); in main()
195 fraction /= 10; in main()
197 fraction *= 10; in main()
199 freq += fraction; in main()
/freebsd-13.1/contrib/ofed/librdmacm/examples/
H A Dcommon.c78 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-13.1/contrib/tcpdump/
H A Dprint-ntp.c70 uint32_t fraction; member
75 uint16_t fraction; member
333 f = EXTRACT_16BITS(&sfp->fraction); in p_sfix()
351 uf = EXTRACT_32BITS(&lfp->fraction); in p_ntp_time()
390 uf = EXTRACT_32BITS(&lfp->fraction); in p_ntp_delta()
391 ouf = EXTRACT_32BITS(&olfp->fraction); in p_ntp_delta()
/freebsd-13.1/lib/libc/mips/gen/
H A Dldexp.S82 sll t2, v1, 32 - 20 # get x fraction
130 subu t9, t9, v0 # shift fraction left >= 32 bits
135 subu v0, v0, t9 # shift fraction left < 32 bits
156 sll t2, v1, 31 - 20 # clear exponent, extract fraction
159 srl t2, t2, 31 - 20 # shift fraction back to normal position
182 mtc1 zero, $f1 # exponent and upper fraction
191 mtc1 ta0, $f1 # exponent and upper fraction
/freebsd-13.1/contrib/netbsd-tests/bin/sleep/
H A Dt_sleep.sh31 atf_test_case fraction
69 atf_add_test_case fraction
/freebsd-13.1/contrib/less/
H A Djump.c138 jump_percent(percent, fraction) in jump_percent() argument
140 long fraction;
158 pos = percent_pos(len, percent, fraction);
H A Dos.c337 percent_pos(pos, percent, fraction) in percent_pos() argument
340 long fraction;
343 POSITION perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
H A Dcommand.c75 static long fraction; /* The fractional part of the number */ variable
620 number = cmd_int(&fraction);
1513 fraction = 0; in commands()
1515 if (number > 100 || (number == 100 && fraction != 0)) in commands()
1518 fraction = 0; in commands()
1521 jump_percent((int) number, fraction); in commands()
/freebsd-13.1/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dstmpe.txt31 - st,fraction-z : Length of the fractional part in z (recommended is 7)
32 (fraction-z ([0..7]) = Count of the fractional part)
98 st,fraction-z = <7>;
/freebsd-13.1/usr.bin/gprof/
H A Dgprof.callg50 fraction which divides up the function's time to
55 the propagation fraction.
77 propagation fraction for this child.
81 propagation fraction.
/freebsd-13.1/sys/dev/iicbus/
H A Dmax6690.c336 uint8_t fraction = 0; in max6690_sensor_read() local
357 err = max6690_read(sc->sc_dev, sc->sc_addr, reg_ext, &fraction); in max6690_sensor_read()
362 fraction &= MAX6690_TEMP_MASK; in max6690_sensor_read()
367 temp = (integer * 10) + (fraction >> 5) * 10 / 8; in max6690_sensor_read()
/freebsd-13.1/sys/mips/mips/
H A Dfp.S715 srl t2, t2, v1 # shift FSs fraction
719 srl ta2, ta2, v1 # shift FTs fraction
846 srl t3, t2, v1 # shift FSs fraction
852 srl t3, t3, v1 # shift FSs fraction
1493 sll t3, t3, v0 # shift FSs fraction
1500 srl t3, t3, v0 # shift FSs fraction
2541 and t2, t0, 0x7FFFFF # get fraction
2776 and t2, t0, 0xFFFFF # get fraction
2878 and t2, t0, 0x7FFFFF # get fraction
3072 and t2, t0, 0xFFFFF # get fraction
[all …]
/freebsd-13.1/sys/geom/bde/
H A Dg_bde_work.c99 static void g_bde_purge_sector(struct g_bde_softc *sc, int fraction);
319 g_bde_purge_sector(struct g_bde_softc *sc, int fraction) in g_bde_purge_sector() argument
325 if (fraction > 0) in g_bde_purge_sector()
326 n = sc->ncache / fraction + 1; in g_bde_purge_sector()
/freebsd-13.1/sys/contrib/device-tree/src/arm/
H A Dsocfpga_cyclone5_mcvevk.dts69 ts,fraction-z = <7>;
H A Dimx53-m53.dtsi67 st,fraction-z = <7>;
H A Dspear320-hmi.dts262 ts,fraction-z = <7>;
H A Dimx6qdl-phytec-mira.dtsi171 st,fraction-z = <7>;
H A Dimx6ul-phytec-segin.dtsi151 st,fraction-z = <7>;
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/utf8proc/
H A Dlump.md8 U+002F / <-- fraction slash U+2044,
/freebsd-13.1/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_plcr.c228 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-13.1/contrib/file/magic/Magdir/
H A Dsql157 # maximum embedded payload fraction. Must be 64; 1 for corruptDB.sqlite
159 # Minimum embedded payload fraction. Must be 32; 1 for corruptDB.sqlite
161 # Leaf payload fraction. Must be 32; 0 for corruptDB.sqlite
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp787 uint64_t fraction : 52; // unsigned member
793 uint64_t fraction : 52; // unsigned member
819 decodedBits.fraction = encodedBits.fraction; in decodeTaggedTimeInterval()
/freebsd-13.1/contrib/unbound/dnstap/
H A Ddnstap.proto196 // This is the seconds fraction, expressed as a count of nanoseconds.
213 // This is the seconds fraction, expressed as a count of nanoseconds.
/freebsd-13.1/sys/contrib/device-tree/Bindings/mmc/
H A Dcdns,sdhci.yaml83 # Each delay property represents the fraction of the clock period.

123