Searched refs:getshort (Results 1 - 5 of 5) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libparse/
H A Dclk_trimtsip.c207 getshort( function
256 int week = getshort((unsigned char *)&mb(4));
353 int tls = t->t_gpsutc = getshort((unsigned char *)&mb(12)); /* current leap correction (GPS-UTC) */
354 int tlsf = t->t_gpsutcleap = getshort((unsigned char *)&mb(24)); /* new leap correction */
356 t->t_weekleap = getshort((unsigned char *)&mb(20)); /* week no of leap correction */
360 t->t_dayleap = getshort((unsigned char *)&mb(22)); /* day in week of leap correction */
361 t->t_week = getshort((unsigned char *)&mb(18)); /* current week no */
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dlibc.h123 extern short getshort(const char*, short, short, short);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_jupiter.c58 #define getshort(s) ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) macro
61 #define getshort(s) (s) macro
100 #define DS2UI(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))
103 #define DS2I(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))
557 switch (getshort(hp->id)) {
700 getshort(hp->id));
817 flags = getshort(jp->flags);
924 len = getshort(h
[all...]
H A Drefclock_parse.c5337 getshort(
5423 getflt((unsigned char *)&mb(0)), getshort((unsigned char *)&mb(4)),
5574 short wnt = getshort((unsigned char *)&mb(18));
5575 short dtls = getshort((unsigned char *)&mb(12));
5576 short wnlsf = getshort((unsigned char *)&mb(20));
5577 short dn = getshort((unsigned char *)&mb(22));
5578 short dtlsf = getshort((unsigned char *)&mb(24));
5334 getshort( function
/netbsd-6-1-5-RELEASE/sbin/mbrlabel/
H A Dmbrlabel.c62 static u_int16_t getshort(void *);
101 getshort(void *p) function
140 if (getshort(buf + MBR_MAGIC_OFFSET) != MBR_MAGIC)

Completed in 130 milliseconds