Lines Matching refs:DRI

115 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) {  in getSymbolTableEntryBase()  argument
116 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1724 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1725 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1762 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1763 uint32_t flags = getSymbolFlags(DRI); in getSymbolAlignment()
1765 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1771 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1772 return getNValue(DRI); in getCommonSymbolSizeImpl()
1799 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
1800 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolFlags()
1816 if (getNValue(DRI)) in getSymbolFlags()
1845 DataRefImpl DRI; in getSymbolSection() local
1846 DRI.d.a = index - 1; in getSymbolSection()
1847 if (DRI.d.a >= Sections.size()){ in getSymbolSection()
1851 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1946 DataRefImpl DRI; in getSection() local
1947 DRI.d.a = SectionIndex - 1; in getSection()
1948 return SectionRef(DRI, this); in getSection()
2418 DataRefImpl DRI; in symbol_begin() local
2421 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_begin()
2427 DataRefImpl DRI; in symbol_end() local
2430 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2437 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in symbol_end()
2438 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2447 DataRefImpl DRI; in getSymbolByIndex() local
2448 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolByIndex()
2449 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
2450 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
2466 DataRefImpl DRI; in section_begin() local
2467 return section_iterator(SectionRef(DRI, this)); in section_begin()
2471 DataRefImpl DRI; in section_end() local
2472 DRI.d.a = Sections.size(); in section_end()
2473 return section_iterator(SectionRef(DRI, this)); in section_end()
2680 DataRefImpl DRI; in section_rel_begin() local
2681 DRI.d.a = Index; in section_rel_begin()
2682 return section_rel_begin(DRI); in section_rel_begin()
2686 DataRefImpl DRI; in section_rel_end() local
2687 DRI.d.a = Index; in section_rel_end()
2688 return section_rel_end(DRI); in section_rel_end()
2692 DataRefImpl DRI; in begin_dices() local
2694 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2697 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2698 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2702 DataRefImpl DRI; in end_dices() local
2704 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2708 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in end_dices()
2709 return dice_iterator(DiceRef(DRI, this)); in end_dices()
4225 DataRefImpl DRI; in getAnyRelocationSection() local
4226 DRI.d.a = SecNum - 1; in getAnyRelocationSection()
4227 return SectionRef(DRI, this); in getAnyRelocationSection()
4230 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
4231 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection()
4232 return getStruct<MachO::section>(*this, Sections[DRI.d.a]); in getSection()
4235 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
4236 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection64()
4237 return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]); in getSection64()
4253 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
4254 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
4259 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
4260 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()