Home
last modified time | relevance | path

Searched refs:lfp (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/ntp/libntp/
H A Dmstolfp.c14 l_fp *lfp in mstolfp() argument
45 if (!atolfp(str, lfp)) in mstolfp()
52 q = lfp->l_ui / 1000u; in mstolfp()
53 r = lfp->l_ui - (q * 1000u); in mstolfp()
54 lfp->l_ui = q; in mstolfp()
56 r = (r << 16) | (lfp->l_uf >> 16); in mstolfp()
58 r = ((r - q * 1000) << 16) | (lfp->l_uf & 0x0FFFFu); in mstolfp()
59 lfp->l_uf = q << 16; in mstolfp()
61 lfp->l_uf |= q; in mstolfp()
66 L_NEG(lfp); in mstolfp()
[all …]
H A Dhextolfp.c15 l_fp *lfp in hextolfp() argument
67 lfp->l_ui = dec_i; in hextolfp()
68 lfp->l_uf = dec_f; in hextolfp()
H A Datolfp.c32 l_fp *lfp in atolfp() argument
119 lfp->l_ui = dec_i; in atolfp()
120 lfp->l_uf = dec_f; in atolfp()
H A Dntp_calgps.c32 l_fp lfp, in ntpfp_with_fudge() argument
42 L_ADD(&fpo, &lfp); in ntpfp_with_fudge()
/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c1540 lfp = stp->ls_lfp; in nfsrv_freedeleg()
1542 LIST_EMPTY(&lfp->lf_lock) && LIST_EMPTY(&lfp->lf_deleg) && in nfsrv_freedeleg()
1594 lfp = stp->ls_lfp; in nfsrv_freeopen()
1613 nfsrv_locklf(lfp); in nfsrv_freeopen()
1628 if (lfp != NULL && LIST_EMPTY(&lfp->lf_open) && in nfsrv_freeopen()
1629 LIST_EMPTY(&lfp->lf_deleg) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_freeopen()
1681 if (lfp == NULL) in nfsrv_freeallnfslocks()
1880 lfp = NULL; in nfsrv_lockctrl()
2256 (LIST_EMPTY(&lfp->lf_open) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_lockctrl()
2501 lfp); in nfsrv_lockctrl()
[all …]
/freebsd-14.2/contrib/ntp/libparse/
H A Dgpstolfp.c45 l_fp * lfp in gpstolfp() argument
48 …lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert … in gpstolfp()
49 lfp->l_uf = 0; in gpstolfp()
/freebsd-14.2/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c717 if (lfp == rfp) in ctf_type_cmp()
720 if (LCTF_TYPE_ISPARENT(lfp, ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp()
721 lfp = lfp->ctf_parent; in ctf_type_cmp()
726 if (lfp < rfp) in ctf_type_cmp()
729 if (lfp > rfp) in ctf_type_cmp()
742 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, in ctf_type_compat() argument
750 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat()
753 ltype = ctf_type_resolve(lfp, ltype); in ctf_type_compat()
754 lkind = ctf_type_kind(lfp, ltype); in ctf_type_compat()
772 return (ctf_type_compat(lfp, ctf_type_reference(lfp, ltype), in ctf_type_compat()
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dntp.c33 const struct l_fixedpt *lfp) in p_ntp_time() argument
40 i = GET_BE_U_4(lfp->int_part); in p_ntp_time()
41 uf = GET_BE_U_4(lfp->fraction); in p_ntp_time()
H A Dprint-ntp.c470 const struct l_fixedpt *lfp) in p_ntp_delta() argument
479 u = GET_BE_U_4(lfp->int_part); in p_ntp_delta()
481 uf = GET_BE_U_4(lfp->fraction); in p_ntp_delta()
484 p_ntp_time(ndo, lfp); in p_ntp_delta()
/freebsd-14.2/contrib/ntp/sntp/tests/
H A DMakefile.am8 debug-output-lfp-bin \
9 debug-output-lfp-dec \
64 data/debug-input-lfp-bin \
65 data/debug-input-lfp-dec \
84 data/debug-output-lfp-dec \
86 data/debug-output-lfp-bin \
H A DMakefile.in777 CLEANFILES = debug-output-lfp-bin debug-output-lfp-dec \
782 data/debug-output-lfp-dec data/kod-output-blank \
783 data/debug-output-lfp-bin $(NULL) check-libunity .deps-ver
799 data/debug-input-lfp-bin \
800 data/debug-input-lfp-dec \
/freebsd-14.2/contrib/ntp/ntpq/
H A Dntpq.c2096 l_fp *lfp in rtdatetolfp() argument
2121 L_CLR(lfp); in rtdatetolfp()
2170 L_CLR(lfp); in rtdatetolfp()
2207 lfp->l_uf = 0; in rtdatetolfp()
2221 l_fp *lfp in decodets() argument
2258 if (atolfp(str, lfp)) in decodets()
2271 l_fp *lfp in decodetime() argument
3547 l_fp *lfp, in outputarr() argument
3567 cp = (issigned ? lfptoms(lfp, 2) : ulfptoms(lfp, 2)); in outputarr()
3579 lfp++; in outputarr()
[all …]
H A Dntpq-subs.c335 l_fp lfp; /* NTP_LFP */ member
3847 decodets(val, &pvdc->v.lfp); in collect_display_vdc()
3900 prettydate(&pvdc->v.lfp)); in collect_display_vdc()
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_parser.c338 ctf_file_t *lfp = lp->dn_ctfp; in dt_type_promote() local
358 lfp = DT_INT_CTFP(dtp); in dt_type_promote()
397 *ofp = lfp; in dt_type_promote()
1049 ctf_file_t *lfp = lp->dn_ctfp; in dt_node_is_ptrcompat() local
1089 lkind = ctf_type_kind(lfp, lbase); in dt_node_is_ptrcompat()
1092 lref = ctf_type_resolve(lfp, in dt_node_is_ptrcompat()
1122 lfp = rfp; in dt_node_is_ptrcompat()
1127 rfp = lfp; in dt_node_is_ptrcompat()
1144 *fpp = rp_is_void ? lfp : rfp; in dt_node_is_ptrcompat()
1160 ctf_file_t *lfp = lp->dn_ctfp; in dt_node_is_argcompat() local
[all …]
/freebsd-14.2/contrib/ntp/include/
H A Dntp_calgps.h149 ntpfp_with_fudge(l_fp lfp, double ofs);
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dimages3139 # Typical file extensions: .lfp .lfr .lfx
/freebsd-14.2/contrib/ntp/
H A DCommitLog33774 sntp/tests/data/debug-output-lfp[email protected] +3 -0
33777 sntp/tests/data/debug-output-lfp[email protected] +0 -0
33779 sntp/tests/data/debug-output-lfp[email protected] +3 -0
33782 sntp/tests/data/debug-output-lfp[email protected] +0 -0
114375 [Bug2100] conversion lfp --> timeval fixed
135707 …Rename: sntp/tests/data/debug-input-lfp-hex -> BitKeeper/deleted/9f/debug-input-lfp-hex~523a3dc59a…
149833 sntp/tests/data/debug-input-lfp[email protected] +0 -0
149834 Rename: tests/sntp/data/debug-input-lfp-bin -> sntp/tests/data/debug-input-lfp-bin
149836 sntp/tests/data/debug-input-lfp[email protected] +0 -0
149837 Rename: tests/sntp/data/debug-input-lfp-dec -> sntp/tests/data/debug-input-lfp-dec
[all …]