Searched refs:hex_data (Results 1 – 2 of 2) sorted by relevance
399 char* hex_data; in avb_bin2hex() local402 hex_data = avb_malloc(data_len * 2 + 1); in avb_bin2hex()403 if (hex_data == NULL) { in avb_bin2hex()408 hex_data[n * 2] = hex_digits[data[n] >> 4]; in avb_bin2hex()409 hex_data[n * 2 + 1] = hex_digits[data[n] & 0x0f]; in avb_bin2hex()411 hex_data[n * 2] = '\0'; in avb_bin2hex()412 return hex_data; in avb_bin2hex()
208 char* hex_data = avb_bin2hex(data, data_len); in cmdline_append_hex() local209 if (hex_data == NULL) { in cmdline_append_hex()212 ret = cmdline_append_option(slot_data, key, hex_data); in cmdline_append_hex()213 avb_free(hex_data); in cmdline_append_hex()
Completed in 4 milliseconds