Searched refs:fromhex (Results 1 – 3 of 3) sorted by relevance
594 int fromhex (int a) in fromhex() function615 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in unhexify()631 addr = addr | (fromhex (ch) & 0x0f); in decode_address()1034 c1 = fromhex (readchar (0)); in getpkt()1035 c2 = fromhex (readchar (0)); in getpkt()1099 nib1 = fromhex (*from++); in convert_ascii_to_int()1100 nib2 = fromhex (*from++); in convert_ascii_to_int()1192 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()1199 *len_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()1212 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_M_packet()[all …]
22 static UChar fromhex(char x) { in fromhex() function38 xx = fromhex (x); in expand()39 yy = fromhex (y); in expand()
547 fromhex (int a) in fromhex() function636 c1 = fromhex (readchar (fromfd)); in getpkt()637 c2 = fromhex (readchar (fromfd)); in getpkt()1047 buf_print[i/2] = (fromhex(*(buf+i)) << 4) in standalone_send_commands()1048 + fromhex(*(buf+i+1)); in standalone_send_commands()