Searched refs:frac (Results 26 - 50 of 57) sorted by relevance

123

/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvatpit.c116 result += delta.frac / vatpit->freq_bt.frac;
189 delta.frac = vatpit->freq_bt.frac * c->initial;
H A Dvlapic.c212 ccr += bt_rem.frac / vlapic->timer_freq_bt.frac;
747 btnow.sec, btnow.frac, vlapic->timer_fire_bt.sec,
748 vlapic->timer_fire_bt.frac));
/freebsd-11-stable/sys/kern/
H A Dkern_tc.c636 bt2.frac = period;
658 uint64_t frac; local
766 bt.frac = 5000000 * (uint64_t)18446744073LL;
772 frac = 0;
774 frac -= 1;
775 frac /= ffdelta / gap_lerp.sec;
777 frac += gap_lerp.frac / ffdelta;
780 ffth->period_lerp += frac;
782 ffth->period_lerp -= frac;
[all...]
H A Dkern_uuid.c125 time += (10000000LL * (uint32_t)(bt.frac >> 32)) >> 32;
H A Dsubr_lock.c261 ns += ((uint64_t)1000000000 * (uint32_t)(bt.frac >> 32)) >> 32;
/freebsd-11-stable/contrib/libpcap/
H A Dsf-pcapng.c1095 uint64_t t, sec, frac; local
1368 frac = t % ps->ifaces[interface_id].tsresol;
1397 frac *= ps->ifaces[interface_id].scale_factor;
1420 frac *= ps->user_tsresol;
1421 frac /= ps->ifaces[interface_id].tsresol;
1440 frac /= ps->ifaces[interface_id].scale_factor;
1467 frac *= ps->user_tsresol;
1468 frac /= ps->ifaces[interface_id].tsresol;
1477 hdr->ts.tv_usec = (long)frac;
1486 hdr->ts.tv_usec = (int)frac;
[all...]
/freebsd-11-stable/contrib/tnftp/src/
H A Dutil.c719 char *timestr, *frac; local
732 frac = strchr(timestr, '\r');
733 if (frac != NULL)
734 *frac = '\0';
735 frac = strchr(timestr, '.');
736 if (frac != NULL)
737 *frac++ = '\0';
/freebsd-11-stable/usr.sbin/fwcontrol/
H A Dfwdv.c63 struct frac { struct
67 struct frac frame_cycle[2] = {
75 struct frac pad_rate[2] = {
/freebsd-11-stable/sys/dev/acpica/Osd/
H A DOsdSchedule.c278 t += ((uint64_t)10000000 * (uint32_t)(bt.frac >> 32)) >> 32;
/freebsd-11-stable/contrib/gcc/config/soft-fp/
H A Ddouble.h173 _FP_W_TYPE frac : _FP_FRACBITS_D - (_FP_IMPLBIT_D != 0); member in struct:_FP_UNION_D::__anon1276
175 _FP_W_TYPE frac : _FP_FRACBITS_D - (_FP_IMPLBIT_D != 0);
/freebsd-11-stable/usr.bin/fortune/fortune/
H A Dfortune.c884 int percent, num_noprob, frac; local
921 frac = percent / num_noprob;
922 DPRINTF(1, (stderr, ", frac = %d%%", frac));
925 fp->percent = frac;
926 percent -= frac;
/freebsd-11-stable/sys/opencrypto/
H A Dcrypto.c1022 u = now.frac;
1023 delta.frac = now.frac - bt->frac;
1025 if (u < delta.frac)
/freebsd-11-stable/contrib/gcc/config/
H A Dfp-bit.c1506 USItype frac)
1513 in.fraction.ll = frac;
1564 __make_dp (fp_class_type class, unsigned int sign, int exp, UDItype frac)
1571 in.fraction.ll = frac;
1620 UTItype frac)
1627 in.fraction.ll = frac;
/freebsd-11-stable/contrib/ntp/libparse/
H A Ddata_mbg.c148 tmp->frac = get_lsb_long(buffpp);
269 tmp->hour, tmp->min, tmp->sec, (long) tmp->frac,
/freebsd-11-stable/sys/ddb/
H A Ddb_ps.c414 (uintmax_t)sbttobt(td->td_sleeptimo).frac,
416 (uintmax_t)sbttobt(sbinuptime()).frac);
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32.h63 uint32_t frac[2]; member in struct:bintime32
/freebsd-11-stable/contrib/less/
H A Dcmdbuf.c1347 cmd_int(frac)
1348 long *frac;
1356 *frac = 0;
1359 *frac = getfraction(&p, NULL, &err);
H A Dfuncs.h84 public LINENUM cmd_int LESSPARAMS ((long *frac));
/freebsd-11-stable/contrib/ntp/include/
H A Dmbg_gps166.h413 int32_t frac; ///< fractions of a second, 1/::RECEIVER_INFO::ticks_per_sec units member in struct:__anon4757
707 * the times for beginning and end of DST. However, the ::TM_GPS::frac,
/freebsd-11-stable/contrib/gdb/gdb/
H A Dalpha-tdep.c168 ULONGEST frac = (mem >> 0) & 0x7fffff;
186 reg = (sign << 63) | (exp << 52) | (frac << 29);
167 ULONGEST frac = (mem >> 0) & 0x7fffff; local
/freebsd-11-stable/lib/libdevstat/
H A Ddevstat.c1208 etime += cur_time->frac * BINTIME_SCALE;
1211 etime -= prev_time->frac * BINTIME_SCALE;
/freebsd-11-stable/sys/dev/usb/serial/
H A Duftdi.c1463 uint32_t clk, divisor, fastclk_flag, frac, hwspeed; local
1536 frac = divisor & 0x07;
1539 if (frac == 0)
1542 frac = 0; /* 1.5 becomes 1.0 */
1544 divisor |= (encoded_fraction[frac] << 14) | fastclk_flag;
/freebsd-11-stable/sys/mips/mips/
H A Dfp.S712 bgt v0, zero, 3f # if FS > FT, shift FTs frac
838 bge v0, zero, 3f # if FS > FT, shift FTs frac
1584 sll t1, t1, 23 # reassemble exp & frac
1586 sll ta1, ta1, 23 # reassemble exp & frac
1614 sll t1, t1, 20 # reassemble exp & frac
1616 sll ta1, ta1, 20 # reassemble exp & frac
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-anchor.c1318 int frac = 0, n = 0; local
1319 if(sscanf(s+1, "%d%n", &frac, &n) < 1) {
/freebsd-11-stable/sys/dev/iscsi_initiator/
H A Discsi.c648 (long)pq->ts.sec, pq->ts.frac, pq->flags);\

Completed in 392 milliseconds

123