Home
last modified time | relevance | path

Searched refs:ImageSize (Results 1 – 25 of 46) sorted by relevance

12

/reactos/boot/environ/lib/misc/
H A Dimage.c210 _In_ ULONG ImageSize, in BlImgUnallocateImageBuffer() argument
251 _In_ ULONGLONG ImageSize, in BlImgAllocateImageBuffer() argument
380 ImageSize = 0; in BlImgLoadImageWithProgress2()
574 *MappedSize = ImageSize; in BlImgLoadImageWithProgress2()
613 _In_ ULONG ImageSize in BlImgFindSection() argument
677 _In_ ULONG ImageSize, in BlImgUnLoadImage() argument
1207 if (ImageSize) in ImgpLoadPEImage()
1352 ImageSize = 0; in BlImgLoadBootApplication()
1518 ImageAppEntry->ImageSize = ImageSize; in BlImgLoadBootApplication()
1660 _In_ ULONG ImageSize
[all …]
H A Dresource.c156 _In_opt_ ULONG ImageSize, in ResFindDataEntryFromImage() argument
180 if (!ImageSize) in ResFindDataEntryFromImage()
186 ResourceSection = BlImgFindSection(ImageBase, ImageSize); in ResFindDataEntryFromImage()
193 ImageEnd = (PVOID)((ULONG_PTR)ImageBase + ImageSize); in ResFindDataEntryFromImage()
485 ULONG ImageSize, VRes, HRes; in BlpResourceInitialize() local
517 Status = BlGetApplicationBaseAndSize(&ImageBase, &ImageSize); in BlpResourceInitialize()
524 ResourceSection = BlImgFindSection(ImageBase, ImageSize); in BlpResourceInitialize()
530 ResPeImageEndFallback = (PVOID)((ULONG_PTR)ImageBase + ImageSize); in BlpResourceInitialize()
/reactos/sdk/lib/rossym/
H A Dfrommem.c19 RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromMem() argument
30 if (ImageSize < sizeof(IMAGE_DOS_HEADER) in RosSymCreateFromMem()
39 if (ImageSize < DosHeader->e_lfanew + sizeof(IMAGE_NT_HEADERS) in RosSymCreateFromMem()
48 if (ImageSize < (ULONG_PTR)((char *) (SectionHeader + NtHeaders->FileHeader.NumberOfSections) in RosSymCreateFromMem()
72 if (ImageSize < SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData in RosSymCreateFromMem()
79 if (SectionHeader->VirtualAddress + SectionHeader->Misc.VirtualSize > ImageSize) in RosSymCreateFromMem()
/reactos/modules/rosapps/drivers/vfd/
H A Dvfdimg.c173 if (ImageInfo->ImageSize != 0 && in VfdOpenImage()
174 ImageInfo->ImageSize < VFD_SECTOR_TO_BYTE(sectors)) { in VfdOpenImage()
273 DeviceExtension->ImageSize = file_standard.EndOfFile.LowPart; in VfdOpenImage()
396 if (ImageInfo->ImageSize) { in VfdOpenImage()
397 DeviceExtension->ImageSize = ImageInfo->ImageSize; in VfdOpenImage()
400 DeviceExtension->ImageSize = VFD_SECTOR_TO_BYTE(sectors); in VfdOpenImage()
419 DeviceExtension->ImageSize, in VfdOpenImage()
445 DeviceExtension->ImageSize = 0; in VfdCloseImage()
502 ImageInfo->ImageSize = DeviceExtension->ImageSize; in VfdQueryImage()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlImageRvaToVa.c15 ULONG ImageSize; in START_TEST() local
52 ImageSize = FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader.DataDirectory) + in START_TEST()
54 NtHeader = AllocateGuarded(ImageSize); in START_TEST()
57 skip("Could not allocate %lu bytes\n", ImageSize); in START_TEST()
61 RtlFillMemory(NtHeader, ImageSize, 0xDD); in START_TEST()
/reactos/sdk/lib/drivers/wdf/kmdf/src/core/
H A Dfxbugcheckcallback.cpp60 __out PULONG ImageSize
113 FxDriverGlobals->ImageSize)) { in FxpIsAddressKnownToWdf()
125 __out PULONG ImageSize in FxpGetImageBase() argument
139 if (NULL == DriverObject || NULL == ImageBase || NULL == ImageSize) { in FxpGetImageBase()
203 module->ImageSize)) { in FxpGetImageBase()
206 *ImageSize = module->ImageSize; in FxpGetImageBase()
457 FxDriverGlobals->ImageSize = 0; in FxRegisterBugCheckCallback()
461 &FxDriverGlobals->ImageSize))) { in FxRegisterBugCheckCallback()
/reactos/sdk/lib/rtl/
H A Dimage.c47 IN SIZE_T ImageSize, in LdrVerifyMappedImageMatchesChecksum() argument
59 if (ImageSize == 0) return TRUE; in LdrVerifyMappedImageMatchesChecksum()
74 for (i = 0; i < ImageSize / sizeof (USHORT); i++) in LdrVerifyMappedImageMatchesChecksum()
84 if (ImageSize & 1) in LdrVerifyMappedImageMatchesChecksum()
117 CalcSum += ImageSize; in LdrVerifyMappedImageMatchesChecksum()
120 …0x%x != 0x%x, ImageSize %x, FileLen %x\n", BaseAddress, CalcSum, HeaderSum, ImageSize, FileLength); in LdrVerifyMappedImageMatchesChecksum()
/reactos/boot/environ/lib/
H A Dbootlib.c426 _Out_ PULONG ImageSize in BlGetApplicationBaseAndSize() argument
430 if (!ImageBase || !ImageSize) in BlGetApplicationBaseAndSize()
437 *ImageSize = BlpApplicationParameters->ImageSize; in BlGetApplicationBaseAndSize()
/reactos/dll/win32/comctl32/
H A Dbutton.c420 SIZE TextSize, ImageSize, ButtonSize; in BUTTON_GetIdealSize() local
460 …nfoPtr->imlData.himl && ImageList_GetIconSize(infoPtr->imlData.himl, &ImageSize.cx, &ImageSize.cy)) in BUTTON_GetIdealSize()
467 ImageSize.cx = ImageSize.cy = 0; in BUTTON_GetIdealSize()
474 rcContents.right = ImageSize.cx + TextSize.cx; in BUTTON_GetIdealSize()
475 rcContents.bottom = max(ImageSize.cy, TextSize.cy); in BUTTON_GetIdealSize()
482 ButtonSize.cx = ImageSize.cx + TextSize.cx + 5; in BUTTON_GetIdealSize()
483 ButtonSize.cy = max(ImageSize.cy, TextSize.cy + 7); in BUTTON_GetIdealSize()
502 SIZE ImageSize; in BUTTON_DrawIml() local
508 if (!ImageList_GetIconSize(pimlData->himl, &ImageSize.cx, &ImageSize.cy)) in BUTTON_DrawIml()
515 prc->left = left + pimlData->margin.right + ImageSize.cx; in BUTTON_DrawIml()
[all …]
/reactos/sdk/lib/rossym_new/
H A Dfrommem.c23 RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromMem() argument
34 if (ImageSize < sizeof(IMAGE_DOS_HEADER) in RosSymCreateFromMem()
43 if (ImageSize < DosHeader->e_lfanew + sizeof(IMAGE_NT_HEADERS) in RosSymCreateFromMem()
/reactos/ntoskrnl/dbgk/
H A Ddbgkutil.c122 ImageInfo.ImageSize = 0; in DbgkCreateThread()
131 ImageInfo.ImageSize = NtHeader->OptionalHeader.SizeOfImage; in DbgkCreateThread()
156 ImageInfo.ImageSize = 0; in DbgkCreateThread()
165 ImageInfo.ImageSize = NtHeader->OptionalHeader.SizeOfImage; in DbgkCreateThread()
/reactos/dll/win32/dbghelp/
H A Dmodule.c223 module->module.ImageSize = size; in module_new()
338 module->module.BaseOfImage + module->module.ImageSize >= in module_get_container()
339 inner->module.BaseOfImage + inner->module.ImageSize) in module_get_container()
357 outer->module.BaseOfImage + outer->module.ImageSize >= in module_get_containee()
358 module->module.BaseOfImage + module->module.ImageSize) in module_get_containee()
437 addr < module->module.BaseOfImage + module->module.ImageSize) in module_find_by_addr()
466 base < module->module.BaseOfImage + module->module.ImageSize) in module_is_container_loaded()
1171 mi.ImageSize = miw64.ImageSize; in SymGetModuleInfo()
1202 miw.ImageSize = miw64.ImageSize; in SymGetModuleInfoW()
1237 mi64.ImageSize = miw64.ImageSize; in SymGetModuleInfo64()
/reactos/sdk/lib/drivers/aux_klib/
H A Daux_klib.c159 ModuleInfo[i].ImageSize = processModules->Modules[i].ImageSize; in AuxKlibQueryModuleInformation()
/reactos/sdk/include/psdk/
H A Dwinsafer.h87 LARGE_INTEGER ImageSize; member
180 LARGE_INTEGER ImageSize; member
/reactos/boot/environ/include/efi/
H A DLoadedImage.h74 UINT64 ImageSize; ///< The size in bytes of the loaded image. member
/reactos/ntoskrnl/ke/
H A Dprofobj.c31 SIZE_T ImageSize, in KeInitializeProfile() argument
44 Profile->RangeLimit = (PVOID)((ULONG_PTR)ImageBase + ImageSize); in KeInitializeProfile()
/reactos/boot/environ/app/bootmgr/
H A Defiemu.c377 DeviceEntry->Local.RamDisk.ImageSize.QuadPart = MemDevicePath->EndingAddress - in EfiInitTranslateDevicePath()
902 EfiInitScratch.ImageSize = (ULONG)LoadedImage->ImageSize; in EfiInitCreateInputParametersEx()
930 …EfiInitScratch.MemEntry.PageCount = ALIGN_UP_BY(EfiInitScratch.ImageSize, PAGE_SIZE) >> PAGE_SHIFT; in EfiInitCreateInputParametersEx()
/reactos/sdk/include/ddk/
H A Daux_klib.h39 ULONG ImageSize; member
/reactos/dll/win32/windowscodecs/
H A Dungif.c878 int ImageSize; in DGifSlurp() local
897 ImageSize = sp->ImageDesc.Width * sp->ImageDesc.Height; in DGifSlurp()
899 sp->RasterBits = ungif_alloc(ImageSize * sizeof(GifPixelType)); in DGifSlurp()
903 if (DGifGetLine(GifFile, sp->RasterBits, ImageSize) == in DGifSlurp()
/reactos/modules/rosapps/include/vfd/
H A Dvfdio.h68 ULONG ImageSize; // actual image size in bytes member
/reactos/modules/rosapps/lib/vfdlib/
H A Dvfdlib.h97 ULONG ImageSize; member
H A Dvfdguisave.c85 &param.ImageSize); in VfdGuiSave()
313 param->FileType, param->ImageSize, in OnTarget()
/reactos/sdk/include/ndk/
H A Dkefuncs.h424 _In_ SIZE_T ImageSize,
439 _In_ SIZE_T ImageSize,
655 _In_ ULONG ImageSize,
/reactos/sdk/include/reactos/arc/
H A Dsetupblk.h86 ULONGLONG ImageSize; member
/reactos/boot/environ/lib/mm/i386/
H A Dmmx86.c789 ULONG ImageSize; in Mmx86InitializeMemoryMap() local
802 Status = BlGetApplicationBaseAndSize(&ImageBase, &ImageSize); in Mmx86InitializeMemoryMap()
810 Status = Mmx86MapInitStructure(ImageBase, ImageSize, PhysicalAddress); in Mmx86InitializeMemoryMap()

12