Home
last modified time | relevance | path

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

12345

/trueos/contrib/gcc/config/
HDfp-bit.c209 fractype fraction = src->fraction.ll; /* wasn't unsigned before? */
219 fraction = ((fractype) 1 << FRACBITS) - 1;
227 fraction |= QUIET_NAN - 1;
229 fraction |= QUIET_NAN;
236 fraction = 0;
241 fraction = 0;
243 else if (fraction == 0)
256 fraction = 0;
269 fraction = 0;
273 int lowbit = (fraction & (((fractype)1 << shift) - 1)) ? 1 : 0;
[all …]
HDfp-bit.h372 } fraction; member
391 fractype fraction:FRACBITS __attribute__ ((packed)); member
403 fractype fraction:FRACBITS __attribute__ ((packed)); member
409 fractype fraction:FRACBITS __attribute__ ((packed)); member
/trueos/games/number/
HDnumber.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()
/trueos/contrib/gdb/gdb/
HDi387-tdep.c74 unsigned long fraction[2]; in print_i387_ext() local
79 fraction[0] = ((raw[3] << 24) | (raw[2] << 16) | (raw[1] << 8) | raw[0]); in print_i387_ext()
80 fraction[1] = (((raw[7] & 0x7f) << 24) | (raw[6] << 16) in print_i387_ext()
85 if (fraction[0] == 0x00000000 && fraction[1] == 0x00000000) in print_i387_ext()
88 else if (sign && fraction[0] == 0x00000000 && fraction[1] == 0x40000000) in print_i387_ext()
91 else if (fraction[1] & 0x40000000) in print_i387_ext()
109 else if (fraction[0] || fraction[1]) in print_i387_ext()
707 unsigned long fraction[2]; in i387_tag() local
711 fraction[0] = ((raw[3] << 24) | (raw[2] << 16) | (raw[1] << 8) | raw[0]); in i387_tag()
712 fraction[1] = (((raw[7] & 0x7f) << 24) | (raw[6] << 16) in i387_tag()
[all …]
/trueos/usr.bin/setchannel/
HDsetchannel.c94 unsigned int fraction; in main() local
186 fraction = strtol(ptr, &endptr, 10); in main()
193 fraction /= 10; in main()
195 fraction *= 10; in main()
197 freq += fraction; in main()
/trueos/contrib/gdb/gdb/gdbserver/
HDi387-fp.c201 unsigned long fraction[2]; in i387_ftag() local
206 fraction[0] = ((raw[3] << 24) | (raw[2] << 16) | (raw[1] << 8) | raw[0]); in i387_ftag()
207 fraction[1] = (((raw[7] & 0x7f) << 24) | (raw[6] << 16) in i387_ftag()
217 if (fraction[0] == 0x0000 && fraction[1] == 0x0000 && !integer) in i387_ftag()
/trueos/lib/libc/mips/gen/
HDldexp.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
/trueos/contrib/netbsd-tests/bin/sleep/
HDt_sleep.sh31 atf_test_case fraction
69 atf_add_test_case fraction
/trueos/contrib/tcpdump/
HDntp.h32 u_int32_t fraction; member
37 u_int16_t fraction; member
HDprint-ntp.c214 f = EXTRACT_16BITS(&sfp->fraction); in p_sfix()
231 uf = EXTRACT_32BITS(&lfp->fraction); in p_ntp_time()
269 uf = EXTRACT_32BITS(&lfp->fraction); in p_ntp_delta()
270 ouf = EXTRACT_32BITS(&olfp->fraction); in p_ntp_delta()
/trueos/contrib/less/
HDjump.c116 jump_percent(percent, fraction) in jump_percent() argument
118 long fraction;
136 pos = percent_pos(len, percent, fraction);
HDos.c289 percent_pos(pos, percent, fraction) in percent_pos() argument
292 long fraction;
295 POSITION perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
HDcommand.c66 static long fraction; /* The fractional part of the number */ variable
564 number = cmd_int(&fraction);
1313 fraction = 0; in commands()
1318 fraction = 0; in commands()
1321 jump_percent((int) number, fraction); in commands()
/trueos/usr.bin/gprof/
HDgprof.callg50 fraction which divides up the function's time to
55 the propagation fraction.
77 propagation fraction for this child.
81 propagation fraction.
/trueos/sys/dev/iicbus/
HDmax6690.c326 uint8_t fraction = 0; in max6690_sensor_read() local
343 err = max6690_read(sc->sc_dev, sc->sc_addr, reg_ext, &fraction); in max6690_sensor_read()
348 fraction &= MAX6690_TEMP_MASK; in max6690_sensor_read()
353 temp = (integer * 10) + (fraction >> 5) * 10 / 8; in max6690_sensor_read()
/trueos/sys/mips/mips/
HDfp.S702 move t2, zero # FSs fraction shifted is zero
705 move ta2, zero # FTs fraction shifted is zero
713 srl t2, t2, v1 # shift FSs fraction
717 srl ta2, ta2, v1 # shift FTs fraction
827 move t2, zero # FSs fraction shifted is zero
831 move ta2, zero # FTs fraction shifted is zero
844 srl t3, t2, v1 # shift FSs fraction
850 srl t3, t3, v1 # shift FSs fraction
860 srl ta3, ta2, v1 # shift FTs fraction
866 srl ta3, ta3, v1 # shift FTs fraction
[all …]
/trueos/contrib/gcc/
HDcfg.c980 gcov_type fraction = RDIV (num * 65536, den); in scale_bbs_frequencies_gcov_type() local
982 gcc_assert (fraction >= 0); in scale_bbs_frequencies_gcov_type()
992 bbs[i]->count = RDIV (bbs[i]->count * fraction, 65536); in scale_bbs_frequencies_gcov_type()
997 e->count = RDIV (e->count * fraction, 65536); in scale_bbs_frequencies_gcov_type()
1006 bbs[i]->frequency = RDIV (bbs[i]->frequency * fraction, 65536); in scale_bbs_frequencies_gcov_type()
1007 bbs[i]->count = RDIV (bbs[i]->count * fraction, 65536); in scale_bbs_frequencies_gcov_type()
1009 e->count = RDIV (e->count * fraction, 65536); in scale_bbs_frequencies_gcov_type()
HDparams.def220 "gcse-after-reload-partial-fraction",
227 "gcse-after-reload-critical-fraction",
322 "hot-bb-count-fraction",
323 …"Select fraction of the maximal count of repetitions of basic block in program given basic block n…
326 "hot-bb-frequency-fraction",
327 …"Select fraction of the maximal frequency of executions of basic block in function given basic blo…
/trueos/sys/dev/drm/
HDr600_blit.c1648 u32 result, i, exponent, fraction; in i2f() local
1654 fraction = (input & 0x3fff) << 10; /* cheat and only in i2f()
1657 if (fraction & 0x800000) in i2f()
1660 fraction = fraction << 1; /* keep in i2f()
1665 result = exponent << 23 | (fraction & 0x7fffff); /* mask in i2f()
/trueos/contrib/gcc/doc/include/
HDfunding.texi33 Even a precise fraction ``of the profits from this disk'' is not very
35 can greatly alter what fraction of the sales price counts as profit.
/trueos/sys/geom/bde/
HDg_bde_work.c83 static void g_bde_purge_sector(struct g_bde_softc *sc, int fraction);
303 g_bde_purge_sector(struct g_bde_softc *sc, int fraction) in g_bde_purge_sector() argument
309 if (fraction > 0) in g_bde_purge_sector()
310 n = sc->ncache / fraction + 1; in g_bde_purge_sector()
/trueos/contrib/groff/font/devps/
HDSS105 --- 149,603,11,391,214,99 3 164 fraction
HDtext.enc115 fraction 133
/trueos/sys/dev/drm2/radeon/
HDr600_blit.c507 uint32_t msb, exponent, fraction; in int2float() local
520 fraction = ror32(x, (msb - I2F_FRAC_BITS) & 0x1f) & I2F_MASK; in int2float()
523 return fraction + exponent; in int2float()
/trueos/sys/gnu/dts/arm/
HDimx53-m53.dtsi75 st,fraction-z = <7>;

12345