Lines Matching refs:format
54 return "(len: {}, if BOOT_SWAP_SAVE_ENCTLV is unset)".format(hex(key_field_len))
72 magic += "{0:#04x} ".format(trailer_magic[i])
106 print(" " * indent, "{}: {} ({})".format(
109 print(" " * indent, "{}: {} ({})".format(
111 print(" " * indent, "{}: ".format(tlv_length), hex(tlv[tlv_length]))
112 print(" " * indent, "{}: ".format(tlv_data), end="")
115 print("{0:#04x}".format(data), end=" ")
136 raise click.UsageError("Image file not found ({})".format(imgfile))
145 header[key] = "{}.{}.{}+{}".format(*_version)
271 flag_string += "{} ({})".format(
282 frame_header_text = "Payload (offset: {})".format(hex(_sectionoff))
283 frame_content = "FW image (size: {} Bytes)".format(hex(header["img_size"]))
290 section_name = "Protected TLV area (offset: {})".format(hex(_sectionoff))
298 section_name = "TLV area (offset: {})".format(hex(_sectionoff))
308 frame_header_text = "Image padding (offset: {})".format(hex(_sectionoff))
309 frame_content = "padding ({})".format(hex(_erased_val))