Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_util.c416 char* hex_data; in avb_bin2hex() local
419 hex_data = avb_malloc(data_len * 2 + 1); in avb_bin2hex()
420 if (hex_data == NULL) { in avb_bin2hex()
425 hex_data[n * 2] = hex_digits[data[n] >> 4]; in avb_bin2hex()
426 hex_data[n * 2 + 1] = hex_digits[data[n] & 0x0f]; in avb_bin2hex()
428 hex_data[n * 2] = '\0'; in avb_bin2hex()
429 return hex_data; in avb_bin2hex()
Davb_cmdline.c209 char* hex_data = avb_bin2hex(data, data_len); in cmdline_append_hex() local
210 if (hex_data == NULL) { in cmdline_append_hex()
213 ret = cmdline_append_option(slot_data, key, hex_data); in cmdline_append_hex()
214 avb_free(hex_data); in cmdline_append_hex()
/external/capstone/suite/
Dtest_mc.py175 hex_data = hex_code.decode('hex')
178 x = list(md.disasm(hex_data, 0))