Lines Matching refs:DRI
113 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
114 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1770 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1771 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1808 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1809 uint32_t Flags = cantFail(getSymbolFlags(DRI)); in getSymbolAlignment()
1811 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1817 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1818 return getNValue(DRI); in getCommonSymbolSizeImpl()
1847 Expected<uint32_t> MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
1848 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolFlags()
1864 if (getNValue(DRI)) in getSymbolFlags()
1893 DataRefImpl DRI; in getSymbolSection() local
1894 DRI.d.a = index - 1; in getSymbolSection()
1895 if (DRI.d.a >= Sections.size()){ in getSymbolSection()
1899 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1996 DataRefImpl DRI; in getSection() local
1997 DRI.d.a = SectionIndex - 1; in getSection()
1998 return SectionRef(DRI, this); in getSection()
2499 DataRefImpl DRI; in symbol_begin() local
2502 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_begin()
2508 DataRefImpl DRI; in symbol_end() local
2511 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2518 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in symbol_end()
2519 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2528 DataRefImpl DRI; in getSymbolByIndex() local
2529 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolByIndex()
2530 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
2531 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
2547 DataRefImpl DRI; in section_begin() local
2548 return section_iterator(SectionRef(DRI, this)); in section_begin()
2552 DataRefImpl DRI; in section_end() local
2553 DRI.d.a = Sections.size(); in section_end()
2554 return section_iterator(SectionRef(DRI, this)); in section_end()
2791 DataRefImpl DRI; in section_rel_begin() local
2792 DRI.d.a = Index; in section_rel_begin()
2793 return section_rel_begin(DRI); in section_rel_begin()
2797 DataRefImpl DRI; in section_rel_end() local
2798 DRI.d.a = Index; in section_rel_end()
2799 return section_rel_end(DRI); in section_rel_end()
2803 DataRefImpl DRI; in begin_dices() local
2805 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2808 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2809 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2813 DataRefImpl DRI; in end_dices() local
2815 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2819 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in end_dices()
2820 return dice_iterator(DiceRef(DRI, this)); in end_dices()
4264 DataRefImpl DRI; in getAnyRelocationSection() local
4265 DRI.d.a = SecNum - 1; in getAnyRelocationSection()
4266 return SectionRef(DRI, this); in getAnyRelocationSection()
4269 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
4270 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection()
4271 return getStruct<MachO::section>(*this, Sections[DRI.d.a]); in getSection()
4274 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
4275 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection64()
4276 return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]); in getSection64()
4292 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
4293 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
4298 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
4299 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()