/freebsd-9.3-release/contrib/ntp/ntpq/ |
H A D | ntpq.c | 850 u_short offset; local 1048 * Collect offset and count. Make sure they make sense. 1050 offset = ntohs(rpkt.offset); 1121 if (offset + count > sizeof(pktdata)) { 1123 offset, count)); 1148 f < numfrags && offsets[f] < offset; 1153 if (f < numfrags && offset == offsets[f]) { 1155 count, offset, counts[f], offsets[f])); 1159 if (f > 0 && (offsets[f-1] + counts[f-1]) > offset) { [all...] |
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | ntp_refclock.c | 360 * This routine uses the given offset and timestamps to construct a new 396 * nanoseconds). When a PPS offset is available, pp->nsec is forced to 397 * zero and the fraction for pp->lastrec is set to the PPS offset. 405 l_fp offset, ltemp; local 416 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui)) 419 offset.l_uf = 0; 421 L_ADD(&offset, <emp); 422 refclock_process_offset(pp, offset, pp->lastrec, fudge); 441 * calculates the mean offset and RMS jitter. A time adjustment 442 * fudgetime1 can be added to the final offset t 453 double offset; local [all...] |
H A D | ntp_control.c | 347 { CS_OFFSET, RO, "offset" }, /* 10 */ 517 { CP_OFFSET, RO, "offset" }, /* 25 */ 776 u_long numctlbadoffset; /* number of input pkts with nonzero offset */ 794 static int res_offset; /* offset of payload in response */ 1193 || pkt->offset != 0) { 1203 if (pkt->offset != 0) 1421 rpkt.offset = htons((u_short)res_offset); 2345 (sys_var[varid].text, 0, -1, to_ms * ntx.offset) 2771 ctl_putdbl(peer_var[id].text, p->offset * 1e3);
|
H A D | refclock_jjy.c | 1071 "status %d [%c] %s : offset %3.3f mSec. : jitter %3.3f mSec.", 1072 peer->status, cStatus, pStatus, peer->offset * 1000, peer->jitter * 1000 ) ;
|
H A D | ntp_proto.c | 122 double sys_offset; /* current local clock offset */ 591 int authlen; /* offset of MAC field */ 2246 * For a client/server association, calculate the clock offset, 2249 * broadcast association, offset the last measurement by the 2259 * arithmetic. However, the offset and delay calculations are 2319 "offset %.6f delay %.6f", t21, t34); 2349 peer->delay = fabs(peer->offset - p_offset) * 2; 2514 * THETA is the combined offset 2864 double sample_offset, /* clock offset */ 2876 * A sample consists of the offset, dela [all...] |
H A D | ntp_loopfilter.c | 44 #define CLOCK_FLOOR .0005 /* startup offset floor (s) */ 91 * includes TAI offset and is identified by the symbol NTP_API with 119 static double clock_offset; /* offset */ 120 double clock_jitter; /* offset jitter */ 126 u_int sys_tai; /* TAI offset from UTC */ 141 static u_int loop_tai; /* last TAI offset */ 168 double last_offset; /* last offset (s) */ 450 double fp_offset /* clock offset (s) */ 498 * This section simulates ntpdate. If the offset exceeds the 526 * interval. This is used to correct the offset b [all...] |
H A D | ntp_config.c | 4739 u_int32 offset; local 4747 offset = get_pfxmatch(&t, logcfg_class); 4751 return mask << offset;
|
H A D | refclock_parse.c | 915 double cl_basedelay; /* current offset by which the RS232 1293 11.0 /* bits */ / 9600, /* current offset by which the RS232 2908 * collect PPSAPI offset capability - should move into generic handling 3555 L_SUB(&off, &parse->timedata.parse_ptime.fp); /* true offset */ 3991 printf("PARSE receiver #%d: Reftime %s, Recvtime %s - initial offset %s\n", 4001 l_fp offset; local 4017 offset = parsetime->parse_ptime.fp; 4023 prettydate(&offset)); 4038 reftime = off = offset; 4045 * implied on second offset [all...] |
H A D | ntp_timer.c | 351 * synchronization source is an orphan. It shows offset zero and 609 msyslog(LOG_NOTICE, "*** leapsec_query: [%.0f:%.0f] (%li), now %u (%.0f), smear offset %.6f ms\n", 613 DPRINTF(1, ("*** leapsec_query: [%.0f:%.0f] (%li), now %u (%.0f), smear offset %.6f ms\n", 625 * Update the current leap smear offset, eventually 0.0 if outside smear interval. 627 DTOLFP(leap_smear.doffset, &leap_smear.offset);
|
H A D | ntp_request.c | 782 DTOLFP(pp->offset, <mp); 783 HTONL_FP(<mp, &ips->offset); 925 DTOLFP(pp->offset, <mp); 926 HTONL_FP(<mp, &ip->offset); 2435 ik->offset = htonl((u_int32)ntx.offset);
|
/freebsd-9.3-release/contrib/ntp/libparse/ |
H A D | clk_hopf6021.c | 114 #define OFFS(x) format->field_offsets[(x)].offset
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | ntp.h | 352 double filter_offset[NTP_SHIFT]; /* offset shift register */ 362 double offset; /* peer clock offset */ member in struct:peer 367 double bias; /* programmed offset bias */ 732 #define LOOP_KERN_CLEAR 2 /* set initial frequency offset */ 734 #define LOOP_MAX_BACK 4 /* set backward-step offset */ 735 #define LOOP_MAX_FWD 5 /* set forward-step offset */ 888 double val; /* offset of endpoint */
|
H A D | ntp_refclock.h | 169 double offset; /* mean offset */ member in struct:refclockproc
|
/freebsd-9.3-release/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 99 off_t i, lenread, offset; local 195 offset = HEADER_SIZE; 196 if (fseeko(cpf, offset, SEEK_SET)) 197 err(1, "fseeko(%s, %jd)", argv[3], (intmax_t)offset); 200 offset += bzctrllen; 201 if (fseeko(dpf, offset, SEEK_SET)) 202 err(1, "fseeko(%s, %jd)", argv[3], (intmax_t)offset); 205 offset += bzdatalen; 206 if (fseeko(epf, offset, SEEK_SET)) 207 err(1, "fseeko(%s, %jd)", argv[3], (intmax_t)offset); [all...] |
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | ssl3.h | 318 /* read/write offset into 'buf' */ 350 int offset; member in struct:ssl3_buffer_st
|
H A D | d1_pkt.c | 134 unsigned long *offset); 519 * ssl->s3->rrec.off == offset to first valid byte 781 * s->s3->rrec.off, - offset into 'data' for next read 1564 wb->offset = 0; 1611 int offset; local 1614 offset = pq_64bit_get_word(&tmp); 1615 if (pq_64bit_is_bit_set(&(bitmap->map), offset)) { 1771 unsigned short *priority, unsigned long *offset) 1794 *offset = msg_hdr.frag_off; 1798 *offset [all...] |
H A D | s3_pkt.c | 138 s->s3->rbuf.offset = 0; 139 s->packet = s->s3->rbuf.buf + s->s3->rbuf.offset; 160 s->s3->rbuf.offset += n; 224 s->s3->rbuf.offset = off + n; 486 * ssl->s3->rrec.off == offset to first valid byte 763 wb->offset = 0; 800 (char *)&(s->s3->wbuf.buf[s->s3->wbuf.offset]), 820 s->s3->wbuf.offset += i; 913 * s->s3->rrec.off, - offset into 'data' for next read
|
H A D | s23_srvr.c | 572 s->s3->rbuf.offset = 0; 576 s->s3->rbuf.offset = 0;
|
/freebsd-9.3-release/contrib/tzcode/zic/ |
H A D | zic.c | 71 long r_stdoff; /* offset from standard time */ 148 static int stringoffset(char * result, long offset); 784 ** Maybe we have a local standard time offset. 1054 z.z_gmtoff = gethms(fields[i_gmtoff], _("invalid UTC offset"), TRUE); 1594 ** standard (or daylight) type has an offset different from the 1595 ** most recently used offset, 1802 stringoffset(result, offset) 1804 long offset; 1811 if (offset < 0) { 1813 offset 2105 register long offset; local [all...] |
/freebsd-9.3-release/contrib/ntp/ntpdc/ |
H A D | ntpdc.c | 805 size_t offset = datap - pktdata; local 808 datap = pktdata + offset;
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_ioctl.c | 3044 vb->m.offset = lvb->m.offset; 3068 lvb->m.offset = vb->m.offset;
|
/freebsd-9.3-release/contrib/libarchive/cpio/ |
H A D | cpio.c | 898 off_t offset; local 901 r = archive_read_data_block(ar, &block, &size, &offset); 909 r = archive_write_data_block(aw, block, size, offset);
|
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive.h | 389 * Retrieve the byte offset in UNCOMPRESSED data where last-read 399 * A zero-copy version of archive_read_data that also exposes the file offset 406 const void **buff, size_t *size, off_t *offset); 410 __LA_INT64_T *offset);
|
/freebsd-9.3-release/sys/kern/ |
H A D | vfs_syscalls.c | 1966 * Reposition read/write file offset. 1972 off_t offset; member in struct:lseek_args 1982 off_t offset; 1990 off_t foffset, offset, size; local 2005 offset = uap->offset; 2010 (offset > 0 && foffset > OFF_MAX - offset))) { 2014 offset += foffset; 2026 * offset 2070 long offset; member in struct:olseek_args 4793 kern_posix_fallocate(struct thread *td, int fd, off_t offset, off_t len) argument 4896 kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len, int advice) argument [all...] |
/freebsd-9.3-release/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 861 * Calculate the round trip delay (di) and the clock offset (ci). 892 printf("offset: %s, delay %s\n", lfptoa(&ci, 6), fptoa(di, 5)); 948 * clock_filter - determine a server's delay, dispersion and offset 982 * offset. If there are no samples in the register, delay and 983 * offset go to zero and dispersion is set to the maximum. 987 L_CLR(&server->offset); 994 server->offset = server->filter_offset[ord[0]]; 995 server->soffset = LFPTOFP(&server->offset); 1284 if (simple_query || debug || l_step_systime(&server->offset)){ 1285 msyslog(LOG_NOTICE, "step time server %s offset 2008 l_fp offset; local [all...] |