Searched refs:offset (Results 1 - 25 of 2174) sorted by last modified time

1234567891011>>

/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dntpq.c850 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 Dntp_refclock.c360 * 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, &ltemp);
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 Dntp_control.c347 { 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 Drefclock_jjy.c1071 "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 Dntp_proto.c122 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 Dntp_loopfilter.c44 #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 Dntp_config.c4739 u_int32 offset; local
4747 offset = get_pfxmatch(&t, logcfg_class);
4751 return mask << offset;
H A Drefclock_parse.c915 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 Dntp_timer.c351 * 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 Dntp_request.c782 DTOLFP(pp->offset, &ltmp);
783 HTONL_FP(&ltmp, &ips->offset);
925 DTOLFP(pp->offset, &ltmp);
926 HTONL_FP(&ltmp, &ip->offset);
2435 ik->offset = htonl((u_int32)ntx.offset);
/freebsd-9.3-release/contrib/ntp/libparse/
H A Dclk_hopf6021.c114 #define OFFS(x) format->field_offsets[(x)].offset
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp.h352 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 Dntp_refclock.h169 double offset; /* mean offset */ member in struct:refclockproc
/freebsd-9.3-release/usr.bin/bsdiff/bspatch/
H A Dbspatch.c99 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 Dssl3.h318 /* read/write offset into 'buf' */
350 int offset; member in struct:ssl3_buffer_st
H A Dd1_pkt.c134 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 Ds3_pkt.c138 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 Ds23_srvr.c572 s->s3->rbuf.offset = 0;
576 s->s3->rbuf.offset = 0;
/freebsd-9.3-release/contrib/tzcode/zic/
H A Dzic.c71 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 Dntpdc.c805 size_t offset = datap - pktdata; local
808 datap = pktdata + offset;
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_ioctl.c3044 vb->m.offset = lvb->m.offset;
3068 lvb->m.offset = vb->m.offset;
/freebsd-9.3-release/contrib/libarchive/cpio/
H A Dcpio.c898 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 Darchive.h389 * 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 Dvfs_syscalls.c1966 * 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 Dntpdate.c861 * 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...]

Completed in 473 milliseconds

1234567891011>>