/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_as2201.c | 243 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp); in as2201_receive() 247 up->linect, pp->lencode, pp->a_lastcode); in as2201_receive() 249 if (pp->lencode == 0) in as2201_receive() 267 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2) in as2201_receive() 270 memcpy(up->lastptr, pp->a_lastcode, 1 + pp->lencode); in as2201_receive() 271 up->lastptr += pp->lencode; in as2201_receive() 274 if (pp->lencode == 1) { in as2201_receive() 293 if (pp->lencode < LENTOC) { in as2201_receive() 331 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2) in as2201_receive() 333 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in as2201_receive() [all...] |
H A D | refclock_arc.c | 83 7) Fixed a badformat error when clearing lencode & memset a_lastcode in poll 915 arc_last_offset = pp->lencode+rbufp->recv_length - 1; in arc_receive() 929 must not be first in the receive buffer with lencode==1. in arc_receive() 939 (pp->lencode == 1) && in arc_receive() 941 ((pp->lencode != 1) || (c != '\r')) && in arc_receive() 970 pp->lencode = 0; in arc_receive() 1028 if(pp->lencode >= LENARC) { in arc_receive() 1033 pp->lencode = 0; in arc_receive() 1039 if(pp->lencode >= LENARC) { break; } /* Avoid overflow... */ in arc_receive() 1043 if(c != '\r' && c != 'h') { pp->a_lastcode[pp->lencode in arc_receive() [all...] |
H A D | refclock_zyfer.c | 224 * If lencode is 0: in zyfer_receive() 238 if (pp->lencode >= LENZYFER) in zyfer_receive() 239 pp->lencode = 0; in zyfer_receive() 241 if (!pp->lencode) { in zyfer_receive() 243 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, in zyfer_receive() 248 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length); in zyfer_receive() 249 pp->lencode += rbufp->recv_length; in zyfer_receive() 250 pp->a_lastcode[pp->lencode] = '\0'; in zyfer_receive() 253 if (pp->lencode < LENZYFER) in zyfer_receive() 264 if (pp->lencode ! in zyfer_receive() [all...] |
H A D | refclock_hpgps.c | 273 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp); in hpgps_receive() 277 printf("hpgps: lencode: %d timecode:%s\n", in hpgps_receive() 278 pp->lencode, pp->a_lastcode); in hpgps_receive() 284 if (pp->lencode == 0) in hpgps_receive() 302 if ((int)(pp->lencode + 2) <= (SMAX - (up->lastptr - up->statscrn))) { in hpgps_receive() 304 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in hpgps_receive() 305 up->lastptr += pp->lencode; in hpgps_receive()
|
H A D | refclock_ulink.c | 223 pp->lencode = temp; in ulink_receive() 229 printf("ulink: timecode %d %s\n", pp->lencode, in ulink_receive() 239 switch (pp->lencode ) { in ulink_receive() 465 if (pp->lencode == LEN33X) { in ulink_receive()
|
H A D | refclock_heath.c | 287 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, in heath_receive() 295 switch (pp->lencode) { in heath_receive() 442 printf("heath: timecode %d %s\n", pp->lencode, in heath_poll()
|
H A D | refclock_pst.c | 219 pp->lencode = up->lastptr - pp->a_lastcode; in pst_receive() 228 if (pp->lencode < LENPST) { in pst_receive() 310 printf("pst: timecode %d %s\n", pp->lencode, in pst_poll()
|
H A D | refclock_hopfser.c | 229 pp->lencode = (u_short)refclock_gtlin(rbufp, pp->a_lastcode, in hopfserial_receive() 232 if (pp->lencode == 0) in hopfserial_receive() 291 pp->lencode = strlen(pp->a_lastcode); in hopfserial_receive()
|
H A D | refclock_tpro.c | 175 pp->lencode = strlen(pp->a_lastcode); in tpro_poll() 179 ulfptoa(&pp->lastrec, 6), pp->lencode, in tpro_poll()
|
H A D | refclock_mx4200.c | 695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec); in mx4200_receive() 700 if (pp->lencode == 0) in mx4200_receive() 704 pp->a_lastcode[pp->lencode] = '\0'; in mx4200_receive() 707 pp->lencode, pp->a_lastcode); in mx4200_receive() 731 cp = pp->a_lastcode + pp->lencode - 3; in mx4200_receive() 741 ck = mx4200_cksum(&pp->a_lastcode[1], pp->lencode - 4); in mx4200_receive()
|
H A D | refclock_wwvb.c | 305 pp->lencode = temp; in wwvb_receive() 323 switch (pp->lencode) { in wwvb_receive() 547 printf("wwvb: timecode %d %s\n", pp->lencode, in wwvb_poll()
|
H A D | refclock_tt560.c | 208 pp->lencode = strlen(pp->a_lastcode); in tt560_poll() 212 ulfptoa(&pp->lastrec, 6), pp->lencode, in tt560_poll()
|
H A D | refclock_dumbclock.c | 217 pp->lencode = (u_short)temp; in dumbclock_receive() 225 pp->lencode, pp->a_lastcode); in dumbclock_receive()
|
H A D | refclock_chronolog.c | 200 pp->lencode = temp; in chronolog_receive() 207 printf("chronolog: timecode %d %s\n", pp->lencode, in chronolog_receive()
|
H A D | refclock_msfees.c | 253 u_char lencode; /* length of code in buffer */ member 693 ees->lencode = 0; in ees_receive() 697 cp = &(ees->lastcode[ees->lencode]); in ees_receive() 702 ees->lencode++; in ees_receive() 704 if (ees->lencode > LENEESPRT) { in ees_receive() 708 ees->lencode, dpend - dpt, LENEESPRT, in ees_receive() 763 if (ees->lencode != LENEESPRT) { in ees_receive()
|
H A D | refclock_arbiter.c | 344 pp->lencode = strlen(pp->a_lastcode); in arb_receive() 471 pp->lencode, pp->a_lastcode); in arb_poll()
|
H A D | refclock_jjy.c | 628 pp->lencode = refclock_gtraw ( rbufp, pp->a_lastcode, BMAX-1, &tRecvTimestamp ) ; in jjy_receive() 637 i < pp->lencode && up->iRawBufLen < MAX_RAWBUF - 2 ; in jjy_receive() 646 pp->lencode = refclock_gtlin ( rbufp, pp->a_lastcode, BMAX, &tRecvTimestamp ) ; in jjy_receive() 650 printf( "\nrefclock_jjy.c : %s : Len=%d ", sFunctionName, pp->lencode ) ; in jjy_receive() 651 for ( i = 0 ; i < pp->lencode ; i ++ ) { in jjy_receive() 665 if ( pp->lencode == 0 ) return ; in jjy_receive() 761 iLen = pp->lencode ; in jjy_receive() 1203 iLen = pp->lencode ; in jjy_receive_tristate_jjy01() 1523 iLen = pp->lencode ; in jjy_receive_cdex_jst2000() 1687 iLen = pp->lencode ; in jjy_receive_echokeisokuki_lt2000() [all...] |
H A D | refclock_hopfpci.c | 220 pp->lencode = (u_short)strlen(pp->a_lastcode); in hopfpci_poll()
|
H A D | refclock_neoclock4x.c | 469 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec); in neoclock4x_receive() 472 if(NEOCLOCK4X_TIMECODELEN != pp->lencode) in neoclock4x_receive() 476 up->unit, NEOCLOCK4X_TIMECODELEN, pp->lencode, pp->a_lastcode); in neoclock4x_receive()
|
H A D | refclock_pcf.c | 183 pp->lencode = strftime(pp->a_lastcode, BMAX, "%Y %m %d %H %M %S", &tm); in pcf_poll()
|
H A D | ntp_refclock.c | 1347 out->lencode = (u_short)pp->lencode; in refclock_control() 1811 pp->lencode = (u_short)len; in refclock_save_lcode() 1833 pp->lencode = (u_short)len; in refclock_vformat_lcode()
|
/freebsd/sys/contrib/zlib/ |
H A D | infback.c | 111 state->lencode = lenfix; in fixedtables() 373 state->lencode = (code const FAR *)(state->next); in inflateBack() 388 here = state->lencode[BITS(state->lenbits)]; in inflateBack() 447 state->lencode = (code const FAR *)(state->next); in inflateBack() 482 here = state->lencode[BITS(state->lenbits)]; in inflateBack() 489 here = state->lencode[last.val + in inflateBack()
|
H A D | inflate.c | 123 state->lencode = state->distcode = state->next = state->codes; in inflateResetKeep() 287 state->lencode = lenfix; in fixedtables() 334 printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op, in makefixed() 335 state.lencode[low].bits, state.lencode[low].val); in makefixed() 926 state->lencode = (const code FAR *)(state->next); in inflate() 942 here = state->lencode[BITS(state->lenbits)]; in inflate() 1001 state->lencode = (const code FAR *)(state->next); in inflate() 1037 here = state->lencode[BITS(state->lenbits)]; in inflate() 1044 here = state->lencode[last.val + in inflate() 1468 if (state->lencode >= state->codes && in inflateCopy() [all …]
|
H A D | inflate.h | 110 code const FAR *lencode; /* starting table for length/literal codes */ member
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_refclock.h | 68 u_short lencode; /* length of last timecode */ member 153 int lencode; /* length of last timecode */ member
|