Lines Matching refs:IntPtr

481   uintptr_t IntPtr = 0;
482 if (std::error_code EC = getRvaPtr(Rva, IntPtr))
484 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr);
535 uintptr_t IntPtr = 0;
536 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr))
538 if (std::error_code EC = checkOffset(Data, IntPtr, DataEntry->Size))
541 const import_directory_table_entry *>(IntPtr);
557 uintptr_t IntPtr = 0;
558 if (std::error_code EC = getRvaPtr(RVA, IntPtr))
561 const delay_import_directory_table_entry *>(IntPtr);
578 uintptr_t IntPtr = 0;
579 if (std::error_code EC = getRvaPtr(ExportTableRva, IntPtr))
582 reinterpret_cast<const export_directory_table_entry *>(IntPtr);
593 uintptr_t IntPtr = 0;
594 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr))
597 IntPtr);
599 IntPtr + DataEntry->Size);
617 uintptr_t IntPtr = 0;
618 if (std::error_code EC = getRvaPtr(DataEntry->RelativeVirtualAddress, IntPtr))
620 DebugDirectoryBegin = reinterpret_cast<const debug_directory *>(IntPtr);
622 DataEntry->RelativeVirtualAddress + DataEntry->Size, IntPtr))
624 DebugDirectoryEnd = reinterpret_cast<const debug_directory *>(IntPtr);
1228 uintptr_t IntPtr = 0;
1229 Object->getRvaPtr(RVA, IntPtr);
1230 return makeImportedSymbolIterator(Object, IntPtr, 0);
1235 uintptr_t IntPtr = 0;
1236 Object->getRvaPtr(RVA, IntPtr);
1240 auto *Entry = reinterpret_cast<ulittle32_t *>(IntPtr);
1244 auto *Entry = reinterpret_cast<ulittle64_t *>(IntPtr);
1248 return makeImportedSymbolIterator(Object, IntPtr, Index);
1269 uintptr_t IntPtr = 0;
1271 OwningObject->getRvaPtr(ImportTable[Index].NameRVA, IntPtr))
1273 Result = StringRef(reinterpret_cast<const char *>(IntPtr));
1316 uintptr_t IntPtr = 0;
1317 if (std::error_code EC = OwningObject->getRvaPtr(Table[Index].Name, IntPtr))
1319 Result = StringRef(reinterpret_cast<const char *>(IntPtr));
1333 uintptr_t IntPtr = 0;
1334 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
1337 Result = *reinterpret_cast<const ulittle64_t *>(IntPtr);
1339 Result = *reinterpret_cast<const ulittle32_t *>(IntPtr);
1355 uintptr_t IntPtr = 0;
1357 OwningObject->getRvaPtr(ExportTable->NameRVA, IntPtr))
1359 Result = StringRef(reinterpret_cast<const char *>(IntPtr));
1378 uintptr_t IntPtr = 0;
1380 OwningObject->getRvaPtr(ExportTable->ExportAddressTableRVA, IntPtr))
1383 reinterpret_cast<const export_address_table_entry *>(IntPtr);
1392 uintptr_t IntPtr = 0;
1394 OwningObject->getRvaPtr(ExportTable->OrdinalTableRVA, IntPtr))
1396 const ulittle16_t *Start = reinterpret_cast<const ulittle16_t *>(IntPtr);
1405 OwningObject->getRvaPtr(ExportTable->NamePointerRVA, IntPtr))
1407 const ulittle32_t *NamePtr = reinterpret_cast<const ulittle32_t *>(IntPtr);
1408 if (std::error_code EC = OwningObject->getRvaPtr(NamePtr[Offset], IntPtr))
1410 Result = StringRef(reinterpret_cast<const char *>(IntPtr));
1434 uintptr_t IntPtr = 0;
1435 if (auto EC = OwningObject->getRvaPtr(RVA, IntPtr))
1437 Result = StringRef(reinterpret_cast<const char *>(IntPtr));
1464 uintptr_t IntPtr = 0;
1465 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
1468 Result = StringRef(reinterpret_cast<const char *>(IntPtr + 2));
1503 uintptr_t IntPtr = 0;
1504 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
1506 Result = *reinterpret_cast<const ulittle16_t *>(IntPtr);