Lines Matching refs:Pe32
120 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetMachineType()
125 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetMachineType()
130 } else if (Hdr.Pe32->Signature == EFI_IMAGE_NT_SIGNATURE) { in PeCoffLoaderGetMachineType()
131 return Hdr.Pe32->FileHeader.Machine; in PeCoffLoaderGetMachineType()
184 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetPdbPointer()
189 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
200 } else if (Hdr.Pe32->Signature == EFI_IMAGE_NT_SIGNATURE) { in PeCoffLoaderGetPdbPointer()
206 switch (Hdr.Pe32->FileHeader.Machine) { in PeCoffLoaderGetPdbPointer()
224 Magic = Hdr.Pe32->OptionalHeader.Magic; in PeCoffLoaderGetPdbPointer()
231 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
232 …DirectoryEntry = (EFI_IMAGE_DATA_DIRECTORY *)&(Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DI… in PeCoffLoaderGetPdbPointer()
306 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffGetSizeOfHeaders()
311 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffGetSizeOfHeaders()
316 } else if (Hdr.Pe32->Signature == EFI_IMAGE_NT_SIGNATURE) { in PeCoffGetSizeOfHeaders()
317 SizeOfHeaders = Hdr.Pe32->OptionalHeader.SizeOfHeaders; in PeCoffGetSizeOfHeaders()