Lines Matching refs:IntPtr
457 uintptr_t IntPtr = 0; in getHintName() local
458 if (std::error_code EC = getRvaPtr(Rva, IntPtr)) in getHintName()
460 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
485 uintptr_t IntPtr = 0; in initImportTablePtr() local
486 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr)) in initImportTablePtr()
489 const import_directory_table_entry *>(IntPtr); in initImportTablePtr()
505 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
506 if (std::error_code EC = getRvaPtr(RVA, IntPtr)) in initDelayImportTablePtr()
509 const delay_import_directory_table_entry *>(IntPtr); in initDelayImportTablePtr()
526 uintptr_t IntPtr = 0; in initExportTablePtr() local
527 if (std::error_code EC = getRvaPtr(ExportTableRva, IntPtr)) in initExportTablePtr()
530 reinterpret_cast<const export_directory_table_entry *>(IntPtr); in initExportTablePtr()
541 uintptr_t IntPtr = 0; in initBaseRelocPtr() local
542 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initBaseRelocPtr()
545 IntPtr); in initBaseRelocPtr()
547 IntPtr + DataEntry->Size); in initBaseRelocPtr()
1140 uintptr_t IntPtr = 0; in importedSymbolBegin() local
1141 Object->getRvaPtr(RVA, IntPtr); in importedSymbolBegin()
1142 return makeImportedSymbolIterator(Object, IntPtr, 0); in importedSymbolBegin()
1147 uintptr_t IntPtr = 0; in importedSymbolEnd() local
1148 Object->getRvaPtr(RVA, IntPtr); in importedSymbolEnd()
1152 auto *Entry = reinterpret_cast<ulittle32_t *>(IntPtr); in importedSymbolEnd()
1156 auto *Entry = reinterpret_cast<ulittle64_t *>(IntPtr); in importedSymbolEnd()
1160 return makeImportedSymbolIterator(Object, IntPtr, Index); in importedSymbolEnd()
1181 uintptr_t IntPtr = 0; in getName() local
1183 OwningObject->getRvaPtr(ImportTable[Index].NameRVA, IntPtr)) in getName()
1185 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1203 uintptr_t IntPtr = 0; in getImportLookupEntry() local
1205 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getImportLookupEntry()
1207 Result = reinterpret_cast<const import_lookup_table_entry32 *>(IntPtr); in getImportLookupEntry()
1238 uintptr_t IntPtr = 0; in getName() local
1239 if (std::error_code EC = OwningObject->getRvaPtr(Table[Index].Name, IntPtr)) in getName()
1241 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1255 uintptr_t IntPtr = 0; in getImportAddress() local
1256 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getImportAddress()
1259 Result = *reinterpret_cast<const ulittle64_t *>(IntPtr); in getImportAddress()
1261 Result = *reinterpret_cast<const ulittle32_t *>(IntPtr); in getImportAddress()
1277 uintptr_t IntPtr = 0; in getDllName() local
1279 OwningObject->getRvaPtr(ExportTable->NameRVA, IntPtr)) in getDllName()
1281 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getDllName()
1300 uintptr_t IntPtr = 0; in getExportRVA() local
1302 OwningObject->getRvaPtr(ExportTable->ExportAddressTableRVA, IntPtr)) in getExportRVA()
1305 reinterpret_cast<const export_address_table_entry *>(IntPtr); in getExportRVA()
1314 uintptr_t IntPtr = 0; in getSymbolName() local
1316 OwningObject->getRvaPtr(ExportTable->OrdinalTableRVA, IntPtr)) in getSymbolName()
1318 const ulittle16_t *Start = reinterpret_cast<const ulittle16_t *>(IntPtr); in getSymbolName()
1327 OwningObject->getRvaPtr(ExportTable->NamePointerRVA, IntPtr)) in getSymbolName()
1329 const ulittle32_t *NamePtr = reinterpret_cast<const ulittle32_t *>(IntPtr); in getSymbolName()
1330 if (std::error_code EC = OwningObject->getRvaPtr(NamePtr[Offset], IntPtr)) in getSymbolName()
1332 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getSymbolName()
1362 uintptr_t IntPtr = 0; in getSymbolName() local
1363 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getSymbolName()
1366 Result = StringRef(reinterpret_cast<const char *>(IntPtr + 2)); in getSymbolName()
1385 uintptr_t IntPtr = 0; in getOrdinal() local
1386 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getOrdinal()
1388 Result = *reinterpret_cast<const ulittle16_t *>(IntPtr); in getOrdinal()