Lines Matching refs:IntPtr

504   uintptr_t IntPtr = 0;  in getHintName()  local
505 if (std::error_code EC = getRvaPtr(Rva, IntPtr)) in getHintName()
507 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
532 uintptr_t IntPtr = 0; in initImportTablePtr() local
533 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr)) in initImportTablePtr()
536 const import_directory_table_entry *>(IntPtr); in initImportTablePtr()
552 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
553 if (std::error_code EC = getRvaPtr(RVA, IntPtr)) in initDelayImportTablePtr()
556 const delay_import_directory_table_entry *>(IntPtr); in initDelayImportTablePtr()
573 uintptr_t IntPtr = 0; in initExportTablePtr() local
574 if (std::error_code EC = getRvaPtr(ExportTableRva, IntPtr)) in initExportTablePtr()
577 reinterpret_cast<const export_directory_table_entry *>(IntPtr); in initExportTablePtr()
588 uintptr_t IntPtr = 0; in initBaseRelocPtr() local
589 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr)) in initBaseRelocPtr()
592 IntPtr); in initBaseRelocPtr()
594 IntPtr + DataEntry->Size); in initBaseRelocPtr()
1205 uintptr_t IntPtr = 0; in importedSymbolBegin() local
1206 Object->getRvaPtr(RVA, IntPtr); in importedSymbolBegin()
1207 return makeImportedSymbolIterator(Object, IntPtr, 0); in importedSymbolBegin()
1212 uintptr_t IntPtr = 0; in importedSymbolEnd() local
1213 Object->getRvaPtr(RVA, IntPtr); in importedSymbolEnd()
1217 auto *Entry = reinterpret_cast<ulittle32_t *>(IntPtr); in importedSymbolEnd()
1221 auto *Entry = reinterpret_cast<ulittle64_t *>(IntPtr); in importedSymbolEnd()
1225 return makeImportedSymbolIterator(Object, IntPtr, Index); in importedSymbolEnd()
1246 uintptr_t IntPtr = 0; in getName() local
1248 OwningObject->getRvaPtr(ImportTable[Index].NameRVA, IntPtr)) in getName()
1250 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1268 uintptr_t IntPtr = 0; in getImportLookupEntry() local
1270 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getImportLookupEntry()
1272 Result = reinterpret_cast<const import_lookup_table_entry32 *>(IntPtr); in getImportLookupEntry()
1303 uintptr_t IntPtr = 0; in getName() local
1304 if (std::error_code EC = OwningObject->getRvaPtr(Table[Index].Name, IntPtr)) in getName()
1306 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1320 uintptr_t IntPtr = 0; in getImportAddress() local
1321 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getImportAddress()
1324 Result = *reinterpret_cast<const ulittle64_t *>(IntPtr); in getImportAddress()
1326 Result = *reinterpret_cast<const ulittle32_t *>(IntPtr); in getImportAddress()
1342 uintptr_t IntPtr = 0; in getDllName() local
1344 OwningObject->getRvaPtr(ExportTable->NameRVA, IntPtr)) in getDllName()
1346 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getDllName()
1365 uintptr_t IntPtr = 0; in getExportRVA() local
1367 OwningObject->getRvaPtr(ExportTable->ExportAddressTableRVA, IntPtr)) in getExportRVA()
1370 reinterpret_cast<const export_address_table_entry *>(IntPtr); in getExportRVA()
1379 uintptr_t IntPtr = 0; in getSymbolName() local
1381 OwningObject->getRvaPtr(ExportTable->OrdinalTableRVA, IntPtr)) in getSymbolName()
1383 const ulittle16_t *Start = reinterpret_cast<const ulittle16_t *>(IntPtr); in getSymbolName()
1392 OwningObject->getRvaPtr(ExportTable->NamePointerRVA, IntPtr)) in getSymbolName()
1394 const ulittle32_t *NamePtr = reinterpret_cast<const ulittle32_t *>(IntPtr); in getSymbolName()
1395 if (std::error_code EC = OwningObject->getRvaPtr(NamePtr[Offset], IntPtr)) in getSymbolName()
1397 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getSymbolName()
1427 uintptr_t IntPtr = 0; in getSymbolName() local
1428 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getSymbolName()
1431 Result = StringRef(reinterpret_cast<const char *>(IntPtr + 2)); in getSymbolName()
1450 uintptr_t IntPtr = 0; in getOrdinal() local
1451 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr)) in getOrdinal()
1453 Result = *reinterpret_cast<const ulittle16_t *>(IntPtr); in getOrdinal()