Lines Matching defs:ImageSize

128     // ImageSize can be calculated.
130 ImageContext->ImageSize = 0;
209 ImageContext->ImageSize = (UINT64)Hdr.Pe32->OptionalHeader.SizeOfImage;
282 ImageContext->ImageSize = (UINT64) Hdr.Pe32Plus->OptionalHeader.SizeOfImage;
367 Computes the PeCoffHeaderOffset, IsTeImage, ImageType, ImageAddress, ImageSize,
563 ImageContext->ImageSize += DebugEntry.SizeOfData;
615 // In Te image header there is not a field to describe the ImageSize.
616 // Actually, the ImageSize equals the RVA plus the VirtualSize of
620 // values for the corresponding sections. So the ImageSize can be determined
625 ImageContext->ImageSize = (SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize);
676 // Make sure that Address and ImageSize is correct for the loaded image.
678 if (Address >= ImageContext->ImageSize) {
695 ImageSize, DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders,
862 (CHAR8 *) RelocEnd > (CHAR8 *)((UINTN)ImageContext->ImageAddress + (UINTN)ImageContext->ImageSize)) {
973 specified by the ImageAddress and ImageSize fields of ImageContext. The caller must allocate
974 the load buffer and fill in the ImageAddress and ImageSize fields prior to calling this function.
976 The ImageRead, Handle, PeCoffHeaderOffset, IsTeImage, Machine, ImageType, ImageAddress, ImageSize,
990 the ImageAddress and ImageSize fields of ImageContext.
1051 if (ImageContext->ImageSize < CheckContext.ImageSize) {
1457 and ImageSize so the image will execute correctly when the PE/COFF image is mapped
1470 @param ImageSize The size, in bytes, of the PE/COFF image.
1480 IN UINTN ImageSize,