Lines Matching refs:TeHdr
527 tehdr = EFI_TE_IMAGE_HEADER.from_buffer (data, 0)
528 if tehdr.Signature == 'VZ': # TE image
529 self.TeHdr = tehdr
530 elif tehdr.Signature == 'MZ': # PE32 image
531 self.TeHdr = None
545 return self.TeHdr is not None
549 rsize = self.TeHdr.DataDirectoryBaseReloc.Size
550 roffset = sizeof(self.TeHdr) - self.TeHdr.StrippedSize + self.TeHdr.DataDirectoryBaseReloc.VirtualAddress
575 aoff += sizeof(self.TeHdr) - self.TeHdr.StrippedSize