Home
last modified time | relevance | path

Searched refs:SWAPD (Results 1 – 6 of 6) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dimage.c296 if (Directory >= SWAPD(OptionalHeader->NumberOfRvaAndSizes)) in RtlImageDirectoryEntryToData()
303 *Size = SWAPD(OptionalHeader->DataDirectory[Directory].Size); in RtlImageDirectoryEntryToData()
312 if (Directory >= SWAPD(OptionalHeader->NumberOfRvaAndSizes)) in RtlImageDirectoryEntryToData()
319 *Size = SWAPD(OptionalHeader->DataDirectory[Directory].Size); in RtlImageDirectoryEntryToData()
348 Va = SWAPD(Section->VirtualAddress); in RtlImageRvaToSection()
374 (Rva < SWAPD(Section->VirtualAddress)) || in RtlImageRvaToVa()
375 (Rva >= SWAPD(Section->VirtualAddress) + SWAPD(Section->SizeOfRawData))) in RtlImageRvaToVa()
386 (ULONG_PTR)SWAPD(Section->PointerToRawData) - in RtlImageRvaToVa()
387 (ULONG_PTR)SWAPD(Section->VirtualAddress)); in RtlImageRvaToVa()
437 *LongPtr = SWAPD(*LongPtr) + (Delta & 0xFFFFFFFF); in LdrProcessRelocationBlockLongLong()
[all …]
H A Drtlp.h20 #define SWAPD(x) ((((x)&0xff)<<24)|(((x)&0xff00)<<8)|(((x)>>8)&0xff00)|(((x)>>24)&0xff)) macro
22 #define SWAPQ(x) ((SWAPD((x)&0xffffffff) << 32) | (SWAPD((x)>>32)))
24 #define SWAPD(x) (x) macro
/reactos/dll/win32/dbghelp/
H A Dcompat.c63 Va = SWAPD(Section->VirtualAddress); in __RtlImageRvaToSection()
64 if ((Va <= Rva) && (Rva < Va + SWAPD(Section->SizeOfRawData))) in __RtlImageRvaToSection()
85 (Rva < SWAPD(Section->VirtualAddress)) || in __RtlImageRvaToVa()
86 (Rva >= SWAPD(Section->VirtualAddress) + SWAPD(Section->SizeOfRawData))) in __RtlImageRvaToVa()
97 (ULONG_PTR)SWAPD(Section->PointerToRawData) - in __RtlImageRvaToVa()
98 (ULONG_PTR)SWAPD(Section->VirtualAddress)); in __RtlImageRvaToVa()
122 if (Directory >= SWAPD(NtHeader->OptionalHeader.NumberOfRvaAndSizes)) in __RtlImageDirectoryEntryToData()
125 Va = SWAPD(NtHeader->OptionalHeader.DataDirectory[Directory].VirtualAddress); in __RtlImageDirectoryEntryToData()
129 *Size = SWAPD(NtHeader->OptionalHeader.DataDirectory[Directory].Size); in __RtlImageDirectoryEntryToData()
131 if (MappedAsImage || Va < SWAPD(NtHeader->OptionalHeader.SizeOfHeaders)) in __RtlImageDirectoryEntryToData()
H A Dcompat.h39 #define SWAPD(x) x macro
/reactos/boot/freeldr/freeldr/include/
H A Dbytesex.h4 #define SWAPD(x) ((((x)&0xff)<<24)|(((x)&0xff00)<<8)|(((x)>>8)&0xff00)|(((x)>>24)&0xff)) macro
7 #define SWAPD(x) x macro
10 #define SD(Object,Field) Object->Field = SWAPD(Object->Field)
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dfat.c266 Volume->SectorsPerCluster = SWAPD(FatXVolumeBootSector->SectorsPerCluster); in FatOpenVolume()
380 …APW(FatBootSector->SectorsPerFat) ? SWAPW(FatBootSector->SectorsPerFat) : SWAPD(Fat32BootSector->S… in FatDetermineFatType()
381 …SWAPW(FatBootSector->TotalSectors) ? SWAPW(FatBootSector->TotalSectors) : SWAPD(FatBootSector->Tot… in FatDetermineFatType()
1027 fat = SWAPD(fat); in FatGetFatEntry()