Lines Matching refs:DRI
119 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
120 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1790 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1791 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1828 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1829 uint32_t Flags = cantFail(getSymbolFlags(DRI)); in getSymbolAlignment()
1831 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1837 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1838 return getNValue(DRI); in getCommonSymbolSizeImpl()
1867 Expected<uint32_t> MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
1868 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolFlags()
1884 if (getNValue(DRI)) in getSymbolFlags()
1917 DataRefImpl DRI; in getSymbolSection() local
1918 DRI.d.a = index - 1; in getSymbolSection()
1919 if (DRI.d.a >= Sections.size()){ in getSymbolSection()
1923 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
2020 DataRefImpl DRI; in getSection() local
2021 DRI.d.a = SectionIndex - 1; in getSection()
2022 return SectionRef(DRI, this); in getSection()
2598 DataRefImpl DRI; in symbol_begin() local
2601 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_begin()
2607 DataRefImpl DRI; in symbol_end() local
2610 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2617 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in symbol_end()
2618 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end()
2627 DataRefImpl DRI; in getSymbolByIndex() local
2628 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolByIndex()
2629 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
2630 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
2646 DataRefImpl DRI; in section_begin() local
2647 return section_iterator(SectionRef(DRI, this)); in section_begin()
2651 DataRefImpl DRI; in section_end() local
2652 DRI.d.a = Sections.size(); in section_end()
2653 return section_iterator(SectionRef(DRI, this)); in section_end()
2890 DataRefImpl DRI; in section_rel_begin() local
2891 DRI.d.a = Index; in section_rel_begin()
2892 return section_rel_begin(DRI); in section_rel_begin()
2896 DataRefImpl DRI; in section_rel_end() local
2897 DRI.d.a = Index; in section_rel_end()
2898 return section_rel_end(DRI); in section_rel_end()
2902 DataRefImpl DRI; in begin_dices() local
2904 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2907 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); in begin_dices()
2908 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
2912 DataRefImpl DRI; in end_dices() local
2914 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2918 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); in end_dices()
2919 return dice_iterator(DiceRef(DRI, this)); in end_dices()
4616 DataRefImpl DRI; in getAnyRelocationSection() local
4617 DRI.d.a = SecNum - 1; in getAnyRelocationSection()
4618 return SectionRef(DRI, this); in getAnyRelocationSection()
4621 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
4622 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection()
4623 return getStruct<MachO::section>(*this, Sections[DRI.d.a]); in getSection()
4626 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
4627 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection64()
4628 return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]); in getSection64()
4644 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
4645 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
4650 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
4651 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()