Searched refs:SWAPD (Results 1 – 6 of 6) sorted by relevance
296 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 …]
20 #define SWAPD(x) ((((x)&0xff)<<24)|(((x)&0xff00)<<8)|(((x)>>8)&0xff00)|(((x)>>24)&0xff)) macro22 #define SWAPQ(x) ((SWAPD((x)&0xffffffff) << 32) | (SWAPD((x)>>32)))24 #define SWAPD(x) (x) macro
63 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()
39 #define SWAPD(x) x macro
4 #define SWAPD(x) ((((x)&0xff)<<24)|(((x)&0xff00)<<8)|(((x)>>8)&0xff00)|(((x)>>24)&0xff)) macro7 #define SWAPD(x) x macro10 #define SD(Object,Field) Object->Field = SWAPD(Object->Field)
266 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()