| /src/external/bsd/ntp/dist/libntp/ |
| mstolfp.c | 16 l_fp *lfp 48 if (!atolfp(str, lfp)) 55 q = lfp->l_ui / 1000u; 56 r = lfp->l_ui - (q * 1000u); 57 lfp->l_ui = q; 59 r = (r << 16) | (lfp->l_uf >> 16); 61 r = ((r - q * 1000) << 16) | (lfp->l_uf & 0x0FFFFu); 62 lfp->l_uf = q << 16; 64 lfp->l_uf |= q; 69 L_NEG(lfp); [all...] |
| atolfp.c | 34 l_fp *lfp 121 lfp->l_ui = dec_i; 122 lfp->l_uf = dec_f;
|
| hextolfp.c | 17 l_fp *lfp 69 lfp->l_ui = dec_i; 70 lfp->l_uf = dec_f;
|
| ntp_calgps.c | 34 l_fp lfp, 39 /* calculate 'lfp - ofs' as '(l_fp)(-ofs) + lfp': negating a 44 L_ADD(&fpo, &lfp); 329 * get LFP from ntp datum 569 * epand a time-of-week around an pivot given as LFP, which in turn 620 * convert week/tow to LFP stamp
|
| /src/external/bsd/openldap/dist/servers/slapd/ |
| lock.c | 49 lock_fopen( const char *fname, const char *type, FILE **lfp ) 57 if ( (*lfp = fopen( buf, "w" )) == NULL ) { 64 ldap_lockf( fileno(*lfp) ); 70 ldap_unlockf( fileno(*lfp) ); 71 fclose( *lfp ); 72 *lfp = NULL; 80 lock_fclose( FILE *fp, FILE *lfp ) 84 ldap_unlockf( fileno(lfp) ); 85 fclose( lfp );
|
| proto-slap.h | 1220 const char *type, FILE **lfp )); 1221 LDAP_SLAPD_F (int) lock_fclose LDAP_P(( FILE *fp, FILE *lfp ));
|
| /src/external/bsd/ntp/dist/libparse/ |
| gpstolfp.c | 47 l_fp * lfp 50 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */ 51 lfp->l_uf = 0;
|
| /src/external/bsd/tcpdump/dist/ |
| ntp.c | 37 const struct l_fixedpt *lfp) 44 i = GET_BE_U_4(lfp->int_part); 45 uf = GET_BE_U_4(lfp->fraction); 82 p_ntp_time(netdissect_options *ndo, const struct l_fixedpt *lfp) 85 p_ntp_time_fmt(ndo, "%Y-%m-%dT%H:%M:%SZ", lfp);
|
| print-ntp.c | 471 /* Prints time difference between *lfp and *olfp */ 475 const struct l_fixedpt *lfp) 484 u = GET_BE_U_4(lfp->int_part); 486 uf = GET_BE_U_4(lfp->fraction); 489 p_ntp_time(ndo, lfp);
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| ldif.c | 732 LDIFFP *lfp = NULL; local 735 lfp = ber_memalloc( sizeof( LDIFFP )); 736 if ( lfp == NULL ) { 740 lfp->fp = fp; 741 lfp->prev = NULL; 743 return lfp; 755 LDIFFP *lfp = NULL; local 758 lfp = ber_memalloc( sizeof( LDIFFP )); 759 lfp->fp = fp; 760 lfp->prev = NULL [all...] |
| /src/sys/fs/nfs/server/ |
| nfs_nfsdstate.c | 106 static void nfsrv_freenfslockfile(struct nfslockfile *lfp); 117 struct nfslock *insert_lop, struct nfsstate *stp, struct nfslockfile *lfp); 119 struct nfslock **other_lopp, struct nfslockfile *lfp); 138 static int nfsrv_cleandeleg(vnode_t vp, struct nfslockfile *lfp, 147 static int nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags, 149 static void nfsrv_localunlock(vnode_t vp, struct nfslockfile *lfp, 151 static int nfsrv_dolocal(vnode_t vp, struct nfslockfile *lfp, int flags, 154 static void nfsrv_locallock_rollback(vnode_t vp, struct nfslockfile *lfp, 156 static void nfsrv_locallock_commit(struct nfslockfile *lfp, int flags, 158 static void nfsrv_locklf(struct nfslockfile *lfp); 925 struct nfslockfile *lfp; local 1256 struct nfslockfile *lfp; local 1309 struct nfslockfile *lfp; local 1377 struct nfslockfile *lfp = NULL; local 1532 struct nfslockfile *lfp; local 2250 struct nfslockfile *lfp, *new_lfp; local 2502 struct nfslockfile *lfp, *new_lfp; local 3236 struct nfslockfile *lfp; local 3562 struct nfslockfile *lfp; local 4995 struct nfslockfile *lfp; local 5259 struct nfslockfile *lfp; local 5741 struct nfslockfile *lfp, *nlfp; local [all...] |
| /src/sys/compat/linux/common/ |
| linux_fcntl.h | 150 bsd_to_##LINUX##_##FLOCK(struct LINUX##_##FLOCK *lfp, const struct flock *bfp) \ 151 copy_flock(lfp, LINUX_F, bfp, F) \ 154 LINUX##_to_bsd_##FLOCK(struct flock *bfp, const struct LINUX##_##FLOCK *lfp) \ 155 copy_flock(bfp, F, lfp, LINUX_F)
|
| /src/usr.bin/rdist/ |
| server.c | 67 extern FILE *lfp; /* log file for mailing changes */ 221 log(lfp, cp); 359 dolog(lfp, "%s: no password entry for uid %d \n", 367 dolog(lfp, "%s: no name for group %d\n", 375 dolog(lfp, "need to install: %s\n", target); 378 dolog(lfp, "installing: %s\n", target); 485 dolog(lfp, "need to update: %s\n", target); 488 dolog(lfp, "updating: %s\n", target); 553 dolog(lfp, "special \"%s\"\n", sc->sc_name); 579 dolog(lfp, "out of memory, link information lost\n") [all...] |
| docmd.c | 52 FILE *lfp; /* log file for recording files updated */ variable 158 if ((lfp = fopen(tempfile, "w")) == NULL) { 168 if (!nflag && lfp) 169 (void) fclose(lfp); 188 if (lfp) 189 (void) fclose(lfp); 190 lfp = NULL; 200 if (lfp) 201 dolog(lfp, "%s: Warning: missing links\n", 340 if (lfp) [all...] |
| /src/external/cddl/osnet/dist/common/ctf/ |
| ctf_types.c | 709 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) 720 if (lfp == rfp) 723 if (LCTF_TYPE_ISPARENT(lfp, ltype) && lfp->ctf_parent != NULL) 724 lfp = lfp->ctf_parent; 729 if (lfp < rfp) 732 if (lfp > rfp) 745 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, 753 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0 [all...] |
| /src/external/bsd/pkg_install/dist/lib/ |
| lib.h | 220 #define LFILE_ADD(lfhead,lfp,str) do { \ 221 lfp = xmalloc(sizeof(lfile_t)); \ 222 lfp->lf_name = str; \ 223 TAILQ_INSERT_TAIL(lfhead,lfp,lf_link); \
|
| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-types.c | 1246 ctf_type_cmp (ctf_dict_t *lfp, ctf_id_t ltype, ctf_dict_t *rfp, 1258 if (lfp == rfp) 1261 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) 1262 lfp = lfp->ctf_parent; 1267 if (lfp < rfp) 1270 if (lfp > rfp) 1283 ctf_type_compat (ctf_dict_t *lfp, ctf_id_t ltype, 1292 if (ctf_type_cmp (lfp, ltype, rfp, rtype) == 0 [all...] |
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-types.c | 1246 ctf_type_cmp (ctf_dict_t *lfp, ctf_id_t ltype, ctf_dict_t *rfp, 1258 if (lfp == rfp) 1261 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) 1262 lfp = lfp->ctf_parent; 1267 if (lfp < rfp) 1270 if (lfp > rfp) 1283 ctf_type_compat (ctf_dict_t *lfp, ctf_id_t ltype, 1292 if (ctf_type_cmp (lfp, ltype, rfp, rtype) == 0 [all...] |
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-types.c | 1225 ctf_type_cmp (ctf_dict_t *lfp, ctf_id_t ltype, ctf_dict_t *rfp, 1237 if (lfp == rfp) 1240 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) 1241 lfp = lfp->ctf_parent; 1246 if (lfp < rfp) 1249 if (lfp > rfp) 1262 ctf_type_compat (ctf_dict_t *lfp, ctf_id_t ltype, 1271 if (ctf_type_cmp (lfp, ltype, rfp, rtype) == 0 [all...] |
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-types.c | 1246 ctf_type_cmp (ctf_dict_t *lfp, ctf_id_t ltype, ctf_dict_t *rfp, 1258 if (lfp == rfp) 1261 if (LCTF_TYPE_ISPARENT (lfp, ltype) && lfp->ctf_parent != NULL) 1262 lfp = lfp->ctf_parent; 1267 if (lfp < rfp) 1270 if (lfp > rfp) 1283 ctf_type_compat (ctf_dict_t *lfp, ctf_id_t ltype, 1292 if (ctf_type_cmp (lfp, ltype, rfp, rtype) == 0 [all...] |
| /src/external/bsd/ntp/dist/include/ |
| ntp_calgps.h | 151 ntpfp_with_fudge(l_fp lfp, double ofs);
|
| /src/external/bsd/ntp/dist/ntpq/ |
| ntpq.c | 2098 l_fp *lfp 2123 L_CLR(lfp); 2172 L_CLR(lfp); 2209 lfp->l_uf = 0; 2211 lfp->l_ui = caltontp(&cal); 2223 l_fp *lfp 2234 return hextolfp(str+2, lfp); 2246 return rtdatetolfp(buf, lfp); 2254 return hextolfp(str, lfp); 2260 if (atolfp(str, lfp)) 3666 l_fp lfp; local [all...] |
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_parser.c | 338 ctf_file_t *lfp = lp->dn_ctfp; local 344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); 345 uint_t lkind = ctf_type_kind(lfp, lbase); 358 lfp = DT_INT_CTFP(dtp); 367 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) { 368 yypcb->pcb_hdl->dt_ctferr = ctf_errno(lfp); 397 *ofp = lfp; 1049 ctf_file_t *lfp = lp->dn_ctfp; local 1088 lbase = ctf_type_resolve(lfp, lp->dn_type); 1089 lkind = ctf_type_kind(lfp, lbase) 1160 ctf_file_t *lfp = lp->dn_ctfp; local [all...] |
| /src/sys/ufs/lfs/ |
| lfs_vnops.c | 2351 lfs_filestats(struct lfs *fs, ino_t ino, struct lfs_filestats *lfp) 2358 memset(lfp, 0, sizeof(*lfp)); 2359 lfp->ino = ino; 2371 lfp->nblk = 0; 2381 lfp->nblk += (run + 1); 2389 ++lfp->dc_count; 2393 lfp->dc_sum += diff;
|
| /src/external/gpl2/mkhybrid/dist/ |
| mkisofs.c | 1318 FILE *lfp; local 1322 if ((lfp = fopen(log_file, "w")) == NULL) { 1326 fclose(lfp);
|