Searched refs:lencode (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_zyfer.c219 * If lencode is 0:
233 if (pp->lencode >= LENZYFER)
234 pp->lencode = 0;
236 if (!pp->lencode) {
238 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode,
243 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length);
244 pp->lencode += rbufp->recv_length;
245 pp->a_lastcode[pp->lencode] = '\0';
248 if (pp->lencode < LENZYFER)
259 if (pp->lencode !
[all...]
H A Drefclock_as2201.c243 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
247 up->linect, pp->lencode, pp->a_lastcode);
249 if (pp->lencode == 0)
267 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2)
270 memcpy(up->lastptr, pp->a_lastcode, 1 + pp->lencode);
271 up->lastptr += pp->lencode;
274 if (pp->lencode == 1) {
293 if (pp->lencode < LENTOC) {
331 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2)
333 memcpy(up->lastptr, pp->a_lastcode, pp->lencode);
[all...]
H A Drefclock_arc.c83 7) Fixed a badformat error when clearing lencode & memset a_lastcode in poll
912 arc_last_offset = pp->lencode+rbufp->recv_length - 1;
926 must not be first in the receive buffer with lencode==1.
936 (pp->lencode == 1) &&
938 ((pp->lencode != 1) || (c != '\r')) &&
967 pp->lencode = 0;
1025 if(pp->lencode >= LENARC) {
1030 pp->lencode = 0;
1036 if(pp->lencode >= LENARC) { break; } /* Avoid overflow... */
1040 if(c != '\r' && c != 'h') { pp->a_lastcode[pp->lencode
[all...]
H A Drefclock_pst.c219 pp->lencode = up->lastptr - pp->a_lastcode;
228 if (pp->lencode < LENPST) {
310 printf("pst: timecode %d %s\n", pp->lencode,
H A Drefclock_heath.c287 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX,
295 switch (pp->lencode) {
442 printf("heath: timecode %d %s\n", pp->lencode,
H A Drefclock_hpgps.c273 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
277 printf("hpgps: lencode: %d timecode:%s\n",
278 pp->lencode, pp->a_lastcode);
284 if (pp->lencode == 0)
302 if ((int)(pp->lencode + 2) <= (SMAX - (up->lastptr - up->statscrn))) {
304 memcpy(up->lastptr, pp->a_lastcode, pp->lencode);
305 up->lastptr += pp->lencode;
H A Drefclock_ulink.c223 pp->lencode = temp;
229 printf("ulink: timecode %d %s\n", pp->lencode,
239 switch (pp->lencode ) {
465 if (pp->lencode == LEN33X) {
H A Drefclock_tt560.c208 pp->lencode = strlen(pp->a_lastcode);
212 ulfptoa(&pp->lastrec, 6), pp->lencode,
H A Drefclock_tpro.c175 pp->lencode = strlen(pp->a_lastcode);
179 ulfptoa(&pp->lastrec, 6), pp->lencode,
H A Drefclock_hopfser.c235 pp->lencode = (u_short)refclock_gtlin(rbufp, pp->a_lastcode,
238 if (pp->lencode == 0)
297 pp->lencode = strlen(pp->a_lastcode);
H A Drefclock_wwvb.c305 pp->lencode = temp;
323 switch (pp->lencode) {
547 printf("wwvb: timecode %d %s\n", pp->lencode,
H A Drefclock_jjy.c610 pp->lencode = refclock_gtraw ( rbufp, pp->a_lastcode, BMAX-1, &tRecvTimestamp ) ;
619 i < pp->lencode && up->iRawBufLen < MAX_RAWBUF - 2 ;
628 pp->lencode = refclock_gtlin ( rbufp, pp->a_lastcode, BMAX, &tRecvTimestamp ) ;
632 printf( "\nrefclock_jjy.c : %s : Len=%d ", sFunctionName, pp->lencode ) ;
633 for ( i = 0 ; i < pp->lencode ; i ++ ) {
647 if ( pp->lencode == 0 ) return ;
743 iLen = pp->lencode ;
1180 iLen = pp->lencode ;
1473 iLen = pp->lencode ;
1637 iLen = pp->lencode ;
[all...]
H A Drefclock_arbiter.c348 pp->lencode = strlen(pp->a_lastcode);
473 pp->lencode, pp->a_lastcode);
H A Drefclock_chronolog.c200 pp->lencode = temp;
207 printf("chronolog: timecode %d %s\n", pp->lencode,
H A Drefclock_dumbclock.c223 pp->lencode = (u_short)temp;
231 pp->lencode, pp->a_lastcode);
H A Drefclock_pcf.c183 pp->lencode = strftime(pp->a_lastcode, BMAX, "%Y %m %d %H %M %S", &tm);
H A Drefclock_hopfpci.c220 pp->lencode = (u_short)strlen(pp->a_lastcode);
H A Drefclock_mx4200.c695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec);
700 if (pp->lencode == 0)
704 pp->a_lastcode[pp->lencode] = '\0';
707 pp->lencode, pp->a_lastcode);
731 cp = pp->a_lastcode + pp->lencode - 3;
741 ck = mx4200_cksum(&pp->a_lastcode[1], pp->lencode - 4);
H A Drefclock_msfees.c253 u_char lencode; /* length of code in buffer */ member in struct:eesunit
693 ees->lencode = 0;
697 cp = &(ees->lastcode[ees->lencode]);
702 ees->lencode++;
704 if (ees->lencode > LENEESPRT) {
708 ees->lencode, dpend - dpt, LENEESPRT,
763 if (ees->lencode != LENEESPRT) {
/freebsd-9.3-release/lib/libz/
H A Dinflate.h106 code const FAR *lencode; /* starting table for length/literal codes */ member in struct:inflate_state
108 unsigned lenbits; /* index bits for lencode */
H A Dinflate.c122 state->lencode = state->distcode = state->next = state->codes;
298 state->lencode = lenfix;
345 printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op,
346 state.lencode[low].bits, state.lencode[low].val);
924 state->lencode = (const code FAR *)(state->next);
939 here = state->lencode[BITS(state->lenbits)];
998 state->lencode = (const code FAR *)(state->next);
1032 here = state->lencode[BITS(state->lenbits)];
1039 here = state->lencode[las
[all...]
H A Dinfback.c119 state->lencode = lenfix;
386 state->lencode = (code const FAR *)(state->next);
401 here = state->lencode[BITS(state->lenbits)];
460 state->lencode = (code const FAR *)(state->next);
494 here = state->lencode[BITS(state->lenbits)];
501 here = state->lencode[last.val +
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.h104 code const FAR *lencode; /* starting table for length/literal codes */ member in struct:inflate_state
106 unsigned lenbits; /* index bits for lencode */
H A Dinflate.c130 state->lencode = state->distcode = state->next = state->codes;
249 state->lencode = lenfix;
296 printf("{%u,%u,%d}", state.lencode[low].op, state.lencode[low].bits,
297 state.lencode[low].val);
883 state->lencode = (code const FAR *)(state->next);
899 this = state->lencode[BITS(state->lenbits)];
950 state->lencode = (code const FAR *)(state->next);
979 this = state->lencode[BITS(state->lenbits)];
986 this = state->lencode[las
[all...]
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_refclock.h72 u_short lencode; /* length of last timecode */ member in struct:refclockstat
156 int lencode; /* length of last timecode */ member in struct:refclockproc

Completed in 196 milliseconds

12