Searched refs:hex_str (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/scsi_id/
H A Dscsi_serial.c77 static const char hex_str[]="0123456789abcdef"; variable
260 out_buffer[j++] = hex_str[(sense_buffer[i] & 0xf0) >> 4];
261 out_buffer[j++] = hex_str[sense_buffer[i] & 0x0f];
543 serial[0] = hex_str[id_search->id_type];
569 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4];
570 serial[j++] = hex_str[page_83[i] & 0x0f];
595 serial[0] = hex_str[id_search->id_type];
600 serial[j++] = hex_str[(page_83[4+i] & 0xf0) >> 4];
601 serial[j++] = hex_str[ page_83[4+i] & 0x0f];
744 serial[0] = hex_str[id_search_lis
[all...]

Completed in 859 milliseconds