Lines Matching refs:NumberOfSections
109 UINTN NumberOfSections; in PeCoffLoaderGetPeHeader() local
256 … SectionHeaderOffset) / EFI_IMAGE_SIZEOF_SECTION_HEADER <= Hdr.Pe32->FileHeader.NumberOfSections) { in PeCoffLoaderGetPeHeader()
272 …nHeaderOffset) / EFI_IMAGE_SIZEOF_SECTION_HEADER < (UINT32)Hdr.Pe32->FileHeader.NumberOfSections) { in PeCoffLoaderGetPeHeader()
370 …tionHeaderOffset) / EFI_IMAGE_SIZEOF_SECTION_HEADER <= Hdr.Pe32Plus->FileHeader.NumberOfSections) { in PeCoffLoaderGetPeHeader()
386 …derOffset) / EFI_IMAGE_SIZEOF_SECTION_HEADER < (UINT32)Hdr.Pe32Plus->FileHeader.NumberOfSections) { in PeCoffLoaderGetPeHeader()
479 NumberOfSections = (UINTN) (Hdr.Te->NumberOfSections); in PeCoffLoaderGetPeHeader()
482 NumberOfSections = (UINTN) (Hdr.Pe32->FileHeader.NumberOfSections); in PeCoffLoaderGetPeHeader()
485 for (Index = 0; Index < NumberOfSections; Index++) { in PeCoffLoaderGetPeHeader()
713 for (Index = 0; Index < Hdr.Pe32->FileHeader.NumberOfSections; Index++) { in PeCoffLoaderGetImageInfo()
788 for (Index = 0; Index < Hdr.Te->NumberOfSections;) { in PeCoffLoaderGetImageInfo()
819 if (Index < (UINTN) Hdr.Te->NumberOfSections - 1) { in PeCoffLoaderGetImageInfo()
820 … SectionHeaderOffset += (Hdr.Te->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo()
821 Index = Hdr.Te->NumberOfSections - 1; in PeCoffLoaderGetImageInfo()
836 if ((++Index) == (UINTN)Hdr.Te->NumberOfSections) { in PeCoffLoaderGetImageInfo()
1226 UINTN NumberOfSections; in PeCoffLoaderLoadImage() local
1328 NumberOfSections = (UINTN) (Hdr.Pe32->FileHeader.NumberOfSections); in PeCoffLoaderLoadImage()
1343 NumberOfSections = (UINTN) (Hdr.Te->NumberOfSections); in PeCoffLoaderLoadImage()
1356 for (Index = 0; Index < NumberOfSections; Index++) { in PeCoffLoaderLoadImage()