Lines Matching full:encoded
41 char *encoded = base64_encode((UINT8 *)iommu_error->EventLogEntry, 16, in cper_section_dmar_iommu_to_ir() local
43 if (encoded == NULL) { in cper_section_dmar_iommu_to_ir()
49 json_object_new_string_len(encoded, in cper_section_dmar_iommu_to_ir()
51 free(encoded); in cper_section_dmar_iommu_to_ir()
56 encoded = base64_encode((UINT8 *)iommu_error->DeviceTableEntry, 32, in cper_section_dmar_iommu_to_ir()
58 if (encoded == NULL) { in cper_section_dmar_iommu_to_ir()
63 json_object_new_string_len(encoded, in cper_section_dmar_iommu_to_ir()
65 free(encoded); in cper_section_dmar_iommu_to_ir()
100 json_object *encoded = json_object_object_get(section, "eventLogEntry"); in ir_section_dmar_iommu_to_cper() local
103 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper()
104 json_object_get_string_len(encoded), in ir_section_dmar_iommu_to_cper()
113 encoded = json_object_object_get(section, "deviceTableEntry"); in ir_section_dmar_iommu_to_cper()
116 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper()
117 json_object_get_string_len(encoded), in ir_section_dmar_iommu_to_cper()