Home
last modified time | relevance | path

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

/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-util.c33 int crypt_dump_hex_string(const char *hex_str, char **ret_dump_str) { in crypt_dump_hex_string() argument
39 assert(hex_str); in crypt_dump_hex_string()
42 len = strlen(hex_str) >> 1; in crypt_dump_hex_string()
50 "%.2s", hex_str + (i<<1)); in crypt_dump_hex_string()
Dcryptsetup-token-util.h38 int crypt_dump_hex_string(const char *hex_str, char **ret_dump_str);
/systemd-251/src/udev/scsi_id/
Dscsi_serial.c62 static const char hex_str[]="0123456789abcdef"; variable
487 serial[0] = hex_str[id_search->id_type]; in check_fill_0x83_id()
513 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in check_fill_0x83_id()
514 serial[j++] = hex_str[page_83[i] & 0x0f]; in check_fill_0x83_id()
537 serial[0] = hex_str[SCSI_ID_NAA]; in check_fill_0x83_prespc3()
542 serial[j++] = hex_str[(page_83[4+i] & 0xf0) >> 4]; in check_fill_0x83_prespc3()
543 serial[j++] = hex_str[ page_83[4+i] & 0x0f]; in check_fill_0x83_prespc3()
679 serial[0] = hex_str[SCSI_ID_NAA]; in do_scsi_page83_prespc3_inquiry()
691 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in do_scsi_page83_prespc3_inquiry()
692 serial[j++] = hex_str[page_83[i] & 0x0f]; in do_scsi_page83_prespc3_inquiry()