Lines Matching refs:DataEntry
543 const data_directory *DataEntry = getDataDirectory(COFF::IMPORT_TABLE); in initImportTablePtr() local
544 if (!DataEntry) in initImportTablePtr()
548 if (DataEntry->RelativeVirtualAddress == 0) in initImportTablePtr()
551 uint32_t ImportTableRva = DataEntry->RelativeVirtualAddress; in initImportTablePtr()
558 if (Error E = checkOffset(Data, IntPtr, DataEntry->Size)) in initImportTablePtr()
567 const data_directory *DataEntry = in initDelayImportTablePtr() local
569 if (!DataEntry) in initDelayImportTablePtr()
571 if (DataEntry->RelativeVirtualAddress == 0) in initDelayImportTablePtr()
574 uint32_t RVA = DataEntry->RelativeVirtualAddress; in initDelayImportTablePtr()
575 NumberOfDelayImportDirectory = DataEntry->Size / in initDelayImportTablePtr()
590 const data_directory *DataEntry = getDataDirectory(COFF::EXPORT_TABLE); in initExportTablePtr() local
591 if (!DataEntry) in initExportTablePtr()
595 if (DataEntry->RelativeVirtualAddress == 0) in initExportTablePtr()
598 uint32_t ExportTableRva = DataEntry->RelativeVirtualAddress; in initExportTablePtr()
608 const data_directory *DataEntry = in initBaseRelocPtr() local
610 if (!DataEntry) in initBaseRelocPtr()
612 if (DataEntry->RelativeVirtualAddress == 0) in initBaseRelocPtr()
616 if (Error E = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initBaseRelocPtr()
621 IntPtr + DataEntry->Size); in initBaseRelocPtr()
629 const data_directory *DataEntry = getDataDirectory(COFF::DEBUG_DIRECTORY); in initDebugDirectoryPtr() local
630 if (!DataEntry) in initDebugDirectoryPtr()
634 if (DataEntry->RelativeVirtualAddress == 0) in initDebugDirectoryPtr()
638 if (DataEntry->Size % sizeof(debug_directory) != 0) in initDebugDirectoryPtr()
642 if (Error E = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initDebugDirectoryPtr()
646 IntPtr + DataEntry->Size); in initDebugDirectoryPtr()
654 const data_directory *DataEntry = getDataDirectory(COFF::TLS_TABLE); in initTLSDirectoryPtr() local
655 if (!DataEntry) in initTLSDirectoryPtr()
659 if (DataEntry->RelativeVirtualAddress == 0) in initTLSDirectoryPtr()
666 if (DataEntry->Size != DirSize) in initTLSDirectoryPtr()
670 static_cast<uint32_t>(DataEntry->Size), DirSize); in initTLSDirectoryPtr()
673 if (Error E = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initTLSDirectoryPtr()
686 const data_directory *DataEntry = getDataDirectory(COFF::LOAD_CONFIG_TABLE); in initLoadConfigPtr() local
687 if (!DataEntry) in initLoadConfigPtr()
691 if (DataEntry->RelativeVirtualAddress == 0) in initLoadConfigPtr()
694 if (Error E = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initLoadConfigPtr()
1551 const data_directory *DataEntry = in isForwarder() local
1553 if (!DataEntry) in isForwarder()
1558 uint32_t Begin = DataEntry->RelativeVirtualAddress; in isForwarder()
1559 uint32_t End = DataEntry->RelativeVirtualAddress + DataEntry->Size; in isForwarder()