HomeSort by: relevance | last modified time | path
    Searched defs:getshort (Results 1 - 4 of 4) sorted by relevancy

  /src/sbin/mbrlabel/
mbrlabel.c 62 static u_int16_t getshort(void *);
101 getshort(void *p) function
152 if (getshort(buf + MBR_MAGIC_OFFSET) != MBR_MAGIC)
  /src/external/bsd/ntp/dist/libparse/
clk_trimtsip.c 207 getshort( function
256 u_int week = getshort((unsigned char *)&mb(4));
351 int tls = t->t_gpsutc = (u_short) getshort((unsigned char *)&mb(12)); /* current leap correction (GPS-UTC) */
352 int tlsf = t->t_gpsutcleap = (u_short) getshort((unsigned char *)&mb(24)); /* new leap correction */
355 (u_short) getshort((unsigned char *)&mb(20))); /* week no of leap correction */
357 t->t_dayleap = (u_short) getshort((unsigned char *)&mb(22)); /* day in week of leap correction */
359 (u_short) getshort((unsigned char *)&mb(18))); /* current week no */
  /src/external/bsd/ntp/dist/ntpd/
refclock_jupiter.c 59 #define getshort(s) ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) macro
62 #define getshort(s) ((u_short)(s)) macro
101 #define DS2UI(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))
104 #define DS2I(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))
563 switch (getshort(hp->id)) {
646 getshort(hp->id));
671 flags = getshort(jp->flags);
688 tofs.tv_sec = getshort(jp->offs)
    [all...]
refclock_parse.c 5433 getshort( function
5517 getflt((unsigned char *)&mb(0)), getshort((unsigned char *)&mb(4)),
5660 short wnt = (short) getshort((unsigned char *)&mb(18));
5661 short dtls = (short) getshort((unsigned char *)&mb(12));
5662 short wnlsf = (short) getshort((unsigned char *)&mb(20));
5663 short dn = (short) getshort((unsigned char *)&mb(22));
5664 short dtlsf = (short) getshort((unsigned char *)&mb(24));

Completed in 30 milliseconds