| /freebsd/contrib/ntp/libntp/ |
| H A D | mstolfp.c | 14 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 D | hextolfp.c | 15 l_fp *lfp in hextolfp() argument 67 lfp->l_ui = dec_i; in hextolfp() 68 lfp->l_uf = dec_f; in hextolfp()
|
| H A D | atolfp.c | 32 l_fp *lfp in atolfp() argument 119 lfp->l_ui = dec_i; in atolfp() 120 lfp->l_uf = dec_f; in atolfp()
|
| H A D | ntp_calgps.c | 32 l_fp lfp, in ntpfp_with_fudge() argument 42 L_ADD(&fpo, &lfp); in ntpfp_with_fudge()
|
| /freebsd/contrib/tcpdump/ |
| H A D | ntp.c | 37 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 D | print-ntp.c | 470 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 D | nfs_nfsdstate.c | 155 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 D | ctf_types.c | 706 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 D | gpstolfp.c | 45 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 D | Makefile.am | 8 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 D | Makefile.in | 777 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 D | ntpq.c | 2096 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 D | ntpq-subs.c | 335 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 D | easter.dc | 7 lfp
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_parser.c | 338 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 D | ntp_calgps.h | 149 ntpfp_with_fudge(l_fp lfp, double ofs);
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | images | 3373 # Typical file extensions: .lfp .lfr .lfx
|
| /freebsd/contrib/ntp/ |
| H A D | CommitLog | 33774 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...] |