Searched refs:getshort (Results 1 – 3 of 3) sorted by relevance
204 getshort( in getshort() function253 int week = getshort((unsigned char *)&mb(4)); in cvt_trimtsip()350 …int tls = t->t_gpsutc = getshort((unsigned char *)&mb(12)); /* current leap correction (GPS-… in cvt_trimtsip()351 int tlsf = t->t_gpsutcleap = getshort((unsigned char *)&mb(24)); /* new leap correction */ in cvt_trimtsip()353 t->t_weekleap = getshort((unsigned char *)&mb(20)); /* week no of leap correction */ in cvt_trimtsip()357 t->t_dayleap = getshort((unsigned char *)&mb(22)); /* day in week of leap correction */ in cvt_trimtsip()358 t->t_week = getshort((unsigned char *)&mb(18)); /* current week no */ in cvt_trimtsip()
56 #define getshort(s) ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) macro59 #define getshort(s) (s) macro98 #define DS2UI(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))101 #define DS2I(p) ((getshort((p)[1]) << 16) | getshort((p)[0]))560 switch (getshort(hp->id)) { in jupiter_receive()705 getshort(hp->id)); in jupiter_receive()822 flags = getshort(jp->flags); in jupiter_parse_t()929 len = getshort(hp->len); in jupiter_send()1048 sum += getshort(x); in jupiter_cksum()1071 if (getshort(hp->sync) != JUPITER_SYNC) { in jupiter_recv()[all …]
5212 getshort( in getshort() function5298 getflt((unsigned char *)&mb(0)), getshort((unsigned char *)&mb(4)), in trimbletsip_message()5449 short wnt = getshort((unsigned char *)&mb(18)); in trimbletsip_message()5450 short dtls = getshort((unsigned char *)&mb(12)); in trimbletsip_message()5451 short wnlsf = getshort((unsigned char *)&mb(20)); in trimbletsip_message()5452 short dn = getshort((unsigned char *)&mb(22)); in trimbletsip_message()5453 short dtlsf = getshort((unsigned char *)&mb(24)); in trimbletsip_message()