Home
last modified time | relevance | path

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

/freebsd/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/contrib/tcpdump/
H A Dntp.c37 const struct l_fixedpt *lfp) in p_ntp_time_fmt() argument
44 i = GET_BE_U_4(lfp->int_part); in p_ntp_time_fmt()
45 uf = GET_BE_U_4(lfp->fraction); in p_ntp_time_fmt()
82 p_ntp_time(netdissect_options *ndo, const struct l_fixedpt *lfp) in p_ntp_time() argument
85 p_ntp_time_fmt(ndo, "%Y-%m-%dT%H:%M:%SZ", lfp); 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/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c155 static void nfsrv_freenfslockfile(struct nfslockfile *lfp);
166 struct nfslock *insert_lop, struct nfsstate *stp, struct nfslockfile *lfp);
168 struct nfslock **other_lopp, struct nfslockfile *lfp);
188 static int nfsrv_cleandeleg(vnode_t vp, struct nfslockfile *lfp,
197 static int nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags,
199 static void nfsrv_localunlock(vnode_t vp, struct nfslockfile *lfp,
201 static int nfsrv_dolocal(vnode_t vp, struct nfslockfile *lfp, int flags,
204 static void nfsrv_locallock_rollback(vnode_t vp, struct nfslockfile *lfp,
206 static void nfsrv_locallock_commit(struct nfslockfile *lfp, int flags,
208 static void nfsrv_locklf(struct nfslockfile *lfp);
[all …]
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c706 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument
717 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()
[all …]
/freebsd/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/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/contrib/ntp/ntpq/
H A Dntpq.c2096 l_fp *lfp
2121 L_CLR(lfp); in rtdatetolfp()
2170 L_CLR(lfp); in rtdatetolfp()
2207 lfp->l_uf = 0; in rtdatetolfp()
2209 lfp->l_ui = caltontp(&cal); in rtdatetolfp()
2221 l_fp *lfp
2232 return hextolfp(str+2, lfp); in decodets()
2244 return rtdatetolfp(buf, lfp); in decodets()
2252 return hextolfp(str, lfp); in decodets()
2258 if (atolfp(str, lfp)) in decodets()
2100 rtdatetolfp(char * str,l_fp * lfp) rtdatetolfp() argument
2225 decodets(char * str,l_fp * lfp) decodets() argument
2275 decodetime(char * str,l_fp * lfp) decodetime() argument
3551 outputarr(FILE * fp,char * name,int narr,l_fp * lfp,int issigned) outputarr() argument
3668 l_fp lfp; cookedprint() local
[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/contrib/bc/tests/dc/scripts/
H A Deaster.dc7 lfp
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_parser.c338 ctf_file_t *lfp = lp->dn_ctfp; in dt_type_promote() local
344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote()
345 uint_t lkind = ctf_type_kind(lfp, lbase); in dt_type_promote()
358 lfp = DT_INT_CTFP(dtp); in dt_type_promote()
367 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) { in dt_type_promote()
368 yypcb->pcb_hdl->dt_ctferr = ctf_errno(lfp); 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
1088 lbase = ctf_type_resolve(lfp, lp->dn_type); in dt_node_is_ptrcompat()
1089 lkind = ctf_type_kind(lfp, lbase); in dt_node_is_ptrcompat()
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_calgps.h149 ntpfp_with_fudge(l_fp lfp, double ofs);
/freebsd/contrib/file/magic/Magdir/
H A Dimages3373 # Typical file extensions: .lfp .lfr .lfx
/freebsd/contrib/ntp/
H A DCommitLog33774 sntp/tests/data/debug-output-lfp-bin@1.1 +3 -0
33775 BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/debug-output-lfp-bin
33777 sntp/tests/data/debug-output-lfp-bin@1.0 +0 -0
33779 sntp/tests/data/debug-output-lfp-dec@1.1 +3 -0
33780 BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/debug-output-lfp-dec
33782 sntp/tests/data/debug-output-lfp-dec@1.0 +0 -0
[all...]