Lines Matching refs:hex
179 static int hex(unsigned char ch);
189 static int hex(unsigned char ch) in hex() function
286 xmitcsum = hex(ch) << 4; in getpacket()
291 xmitcsum |= hex(ch); in getpacket()
394 hexValue = hex(**ptr); in hexToInt()
860 ch.b[0] = hex(*buf++) << 4; in hex2mem()
861 ch.b[0] |= hex(*buf++); in hex2mem()
869 ch.b[0] = hex(*buf++) << 4; in hex2mem()
870 ch.b[0] |= hex(*buf++); in hex2mem()
871 ch.b[1] = hex(*buf++) << 4; in hex2mem()
872 ch.b[1] |= hex(*buf++); in hex2mem()
880 ch.b[0] = hex(*buf++) << 4; in hex2mem()
881 ch.b[0] |= hex(*buf++); in hex2mem()
882 ch.b[1] = hex(*buf++) << 4; in hex2mem()
883 ch.b[1] |= hex(*buf++); in hex2mem()
884 ch.b[2] = hex(*buf++) << 4; in hex2mem()
885 ch.b[2] |= hex(*buf++); in hex2mem()
886 ch.b[3] = hex(*buf++) << 4; in hex2mem()
887 ch.b[3] |= hex(*buf++); in hex2mem()
895 ch.b[0] = hex(*buf++) << 4; in hex2mem()
896 ch.b[0] |= hex(*buf++); in hex2mem()
897 ch.b[1] = hex(*buf++) << 4; in hex2mem()
898 ch.b[1] |= hex(*buf++); in hex2mem()
906 ch.b[0] = hex(*buf++) << 4; in hex2mem()
907 ch.b[0] |= hex(*buf++); in hex2mem()