Lines Matching refs:gdbstub_to_hex_digit
238 static uint8_t gdbstub_to_hex_digit(uint8_t b) in gdbstub_to_hex_digit() function
280 dst[0] = gdbstub_to_hex_digit(i >> 4); in gdbstub_to_hex_buf()
281 dst[1] = gdbstub_to_hex_digit(i); in gdbstub_to_hex_buf()
282 dst[2] = gdbstub_to_hex_digit(i >> 12); in gdbstub_to_hex_buf()
283 dst[3] = gdbstub_to_hex_digit(i >> 8); in gdbstub_to_hex_buf()
286 dst[0] = gdbstub_to_hex_digit(i >> 4); in gdbstub_to_hex_buf()
287 dst[1] = gdbstub_to_hex_digit(i); in gdbstub_to_hex_buf()
288 dst[2] = gdbstub_to_hex_digit(i >> 12); in gdbstub_to_hex_buf()
289 dst[3] = gdbstub_to_hex_digit(i >> 8); in gdbstub_to_hex_buf()
290 dst[4] = gdbstub_to_hex_digit(i >> 20); in gdbstub_to_hex_buf()
291 dst[5] = gdbstub_to_hex_digit(i >> 16); in gdbstub_to_hex_buf()
292 dst[6] = gdbstub_to_hex_digit(i >> 28); in gdbstub_to_hex_buf()
293 dst[7] = gdbstub_to_hex_digit(i >> 24); in gdbstub_to_hex_buf()
296 *dst++ = gdbstub_to_hex_digit(*src >> 4); in gdbstub_to_hex_buf()
297 *dst++ = gdbstub_to_hex_digit(*src); in gdbstub_to_hex_buf()
317 stub->buf[stub->len + 2] = gdbstub_to_hex_digit(cksum >> 4); in gdbstub_tx_packet()
318 stub->buf[stub->len + 3] = gdbstub_to_hex_digit(cksum); in gdbstub_tx_packet()
335 stub->payload[1] = gdbstub_to_hex_digit((char)num >> 4); in gdbstub_send_num_packet()
336 stub->payload[2] = gdbstub_to_hex_digit((char)num); in gdbstub_send_num_packet()