Home
last modified time | relevance | path

Searched refs:fromhex (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/stand/libsa/
H A Duuid_from_string.c52 fromhex(const char *s, int len, int *ok) in fromhex() function
106 u->time_low = fromhex(s , 8, &ok); in uuid_from_string()
107 u->time_mid = fromhex(s + 9, 4, &ok); in uuid_from_string()
108 u->time_hi_and_version = fromhex(s + 14, 4, &ok); in uuid_from_string()
110 u->clock_seq_hi_and_reserved = fromhex(s + 19, 2, &ok); in uuid_from_string()
111 u->clock_seq_low = fromhex(s + 21, 2, &ok); in uuid_from_string()
112 u->node[0] = fromhex(s + 24, 2, &ok); in uuid_from_string()
113 u->node[1] = fromhex(s + 26, 2, &ok); in uuid_from_string()
114 u->node[2] = fromhex(s + 28, 2, &ok); in uuid_from_string()
115 u->node[3] = fromhex(s + 30, 2, &ok); in uuid_from_string()
[all …]
/freebsd-12.1/contrib/gdb/gdb/gdbserver/
H A Dremote-utils.c184 fromhex (int a) in fromhex() function
208 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in unhexify()
226 addr = addr | (fromhex (ch) & 0x0f); in decode_address()
471 c1 = fromhex (readchar ()); in getpkt()
472 c2 = fromhex (readchar ()); in getpkt()
540 nib1 = fromhex (*from++); in convert_ascii_to_int()
541 nib2 = fromhex (*from++); in convert_ascii_to_int()
660 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()
668 *len_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()
683 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_M_packet()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dremote.c2363 fromhex (int a) in fromhex() function
2388 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in hex2bin()
2867 char c = fromhex (p[0]) * 16 + fromhex (p[1]); in remote_console_output()
3007 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_wait()
3019 status->value.integer = (fromhex (buf[1]) << 4) + fromhex (buf[2]); in remote_wait()
3025 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_wait()
3196 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_async_wait()
3214 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_async_wait()
3326 regs[i] = fromhex (p[0]) * 16 + fromhex (p[1]); in remote_fetch_registers()
4104 pktcsum = (fromhex (check_0) << 4) | fromhex (check_1); in read_frame()
[all …]
H A Dremote-sds.c95 static int fromhex (int);
269 fromhex (int a) in fromhex() function
1101 buf[len++] = fromhex (p[0]) * 16 + fromhex (p[1]); in sds_command()
H A Dmonitor.c255 fromhex (int a) in fromhex() function
914 val += fromhex (*p++); in monitor_supply_register()
1924 val = fromhex (c) * 16 + fromhex (*(p + 1)); in monitor_read_memory()