Lines Matching refs:DataEntry
523 const data_directory *DataEntry; in initImportTablePtr() local
524 if (getDataDirectory(COFF::IMPORT_TABLE, DataEntry)) in initImportTablePtr()
528 if (DataEntry->RelativeVirtualAddress == 0) in initImportTablePtr()
531 uint32_t ImportTableRva = DataEntry->RelativeVirtualAddress; in initImportTablePtr()
538 if (std::error_code EC = checkOffset(Data, IntPtr, DataEntry->Size)) in initImportTablePtr()
547 const data_directory *DataEntry; in initDelayImportTablePtr() local
548 if (getDataDirectory(COFF::DELAY_IMPORT_DESCRIPTOR, DataEntry)) in initDelayImportTablePtr()
550 if (DataEntry->RelativeVirtualAddress == 0) in initDelayImportTablePtr()
553 uint32_t RVA = DataEntry->RelativeVirtualAddress; in initDelayImportTablePtr()
554 NumberOfDelayImportDirectory = DataEntry->Size / in initDelayImportTablePtr()
569 const data_directory *DataEntry; in initExportTablePtr() local
570 if (getDataDirectory(COFF::EXPORT_TABLE, DataEntry)) in initExportTablePtr()
574 if (DataEntry->RelativeVirtualAddress == 0) in initExportTablePtr()
577 uint32_t ExportTableRva = DataEntry->RelativeVirtualAddress; in initExportTablePtr()
587 const data_directory *DataEntry; in initBaseRelocPtr() local
588 if (getDataDirectory(COFF::BASE_RELOCATION_TABLE, DataEntry)) in initBaseRelocPtr()
590 if (DataEntry->RelativeVirtualAddress == 0) in initBaseRelocPtr()
594 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initBaseRelocPtr()
599 IntPtr + DataEntry->Size); in initBaseRelocPtr()
605 const data_directory *DataEntry; in initDebugDirectoryPtr() local
606 if (getDataDirectory(COFF::DEBUG_DIRECTORY, DataEntry)) in initDebugDirectoryPtr()
610 if (DataEntry->RelativeVirtualAddress == 0) in initDebugDirectoryPtr()
614 if (DataEntry->Size % sizeof(debug_directory) != 0) in initDebugDirectoryPtr()
618 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initDebugDirectoryPtr()
622 DataEntry->RelativeVirtualAddress + DataEntry->Size, IntPtr)) in initDebugDirectoryPtr()
1418 const data_directory *DataEntry; in isForwarder() local
1419 if (auto EC = OwningObject->getDataDirectory(COFF::EXPORT_TABLE, DataEntry)) in isForwarder()
1424 uint32_t Begin = DataEntry->RelativeVirtualAddress; in isForwarder()
1425 uint32_t End = DataEntry->RelativeVirtualAddress + DataEntry->Size; in isForwarder()