Lines Matching refs:DRI
114 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
115 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1771 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1772 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1809 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1810 uint32_t Flags = cantFail(getSymbolFlags(DRI)); in getSymbolAlignment()
1812 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1818 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1819 return getNValue(DRI); in getCommonSymbolSizeImpl()
1846 Expected<uint32_t> MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
1847 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolFlags()
1863 if (getNValue(DRI)) in getSymbolFlags()
1892 DataRefImpl DRI; in getSymbolSection() local
1893 DRI.d.a = index - 1; in getSymbolSection()
1894 if (DRI.d.a >= Sections.size()){ in getSymbolSection()
1898 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1995 DataRefImpl DRI; in getSection() local
1996 DRI.d.a = SectionIndex - 1; in getSection()
1997 return SectionRef(DRI, this); in getSection()
2491 DataRefImpl DRI; in symbol_begin() local
2494 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_begin()
2500 DataRefImpl DRI; in symbol_end() local
2503 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2510 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in symbol_end()
2511 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2520 DataRefImpl DRI; in getSymbolByIndex() local
2521 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolByIndex()
2522 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
2523 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
2539 DataRefImpl DRI; in section_begin() local
2540 return section_iterator(SectionRef(DRI, this)); in section_begin()
2544 DataRefImpl DRI; in section_end() local
2545 DRI.d.a = Sections.size(); in section_end()
2546 return section_iterator(SectionRef(DRI, this)); in section_end()
2783 DataRefImpl DRI; in section_rel_begin() local
2784 DRI.d.a = Index; in section_rel_begin()
2785 return section_rel_begin(DRI); in section_rel_begin()
2789 DataRefImpl DRI; in section_rel_end() local
2790 DRI.d.a = Index; in section_rel_end()
2791 return section_rel_end(DRI); in section_rel_end()
2795 DataRefImpl DRI; in begin_dices() local
2797 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2800 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2801 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2805 DataRefImpl DRI; in end_dices() local
2807 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2811 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in end_dices()
2812 return dice_iterator(DiceRef(DRI, this)); in end_dices()
4256 DataRefImpl DRI; in getAnyRelocationSection() local
4257 DRI.d.a = SecNum - 1; in getAnyRelocationSection()
4258 return SectionRef(DRI, this); in getAnyRelocationSection()
4261 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
4262 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection()
4263 return getStruct<MachO::section>(*this, Sections[DRI.d.a]); in getSection()
4266 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
4267 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection64()
4268 return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]); in getSection64()
4284 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
4285 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
4290 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
4291 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()