Searched refs:fromhex (Results 1 – 4 of 4) sorted by relevance
562 int fromhex (int a) in fromhex() function583 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in unhexify()599 addr = addr | (fromhex (ch) & 0x0f); in decode_address()983 c1 = fromhex (readchar (0)); in getpkt()984 c2 = fromhex (readchar (0)); in getpkt()1048 nib1 = fromhex (*from++); in convert_ascii_to_int()1049 nib2 = fromhex (*from++); in convert_ascii_to_int()1141 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()1148 *len_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()1161 *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()
545 fromhex (int a) in fromhex() function634 c1 = fromhex (readchar (fromfd)); in getpkt()635 c2 = fromhex (readchar (fromfd)); in getpkt()1031 buf_print[i/2] = (fromhex(*(buf+i)) << 4) in standalone_send_commands()1032 + fromhex(*(buf+i+1)); in standalone_send_commands()
385 static inline int fromhex(int v) in fromhex() function423 mem[i] = (fromhex(buf[0]) << 4) | fromhex(buf[1]); in hextomem()2123 s->line_csum = fromhex(ch) << 4; in gdb_read_byte()2127 s->line_csum |= fromhex(ch); in gdb_read_byte()