• Home
  • Raw
  • Download

Lines Matching refs:DRI

95 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) {  in getSymbolTableEntryBase()  argument
96 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
461 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
462 uint32_t Flags = getSectionFlags(this, DRI); in getSectionType()
499 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
500 uint32_t flags = getSymbolFlags(DRI); in getSymbolAlignment()
502 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolAlignment()
508 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
509 return getNValue(DRI); in getCommonSymbolSizeImpl()
536 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
537 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolFlags()
553 if (getNValue(DRI)) in getSymbolFlags()
582 DataRefImpl DRI; in getSymbolSection() local
583 DRI.d.a = index - 1; in getSymbolSection()
584 if (DRI.d.a >= Sections.size()){ in getSymbolSection()
588 return section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1083 DataRefImpl DRI; in symbol_begin_impl() local
1086 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_begin_impl()
1092 DataRefImpl DRI; in symbol_end_impl() local
1095 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end_impl()
1102 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset)); in symbol_end_impl()
1103 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end_impl()
1112 DataRefImpl DRI; in getSymbolByIndex() local
1113 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Symtab.symoff)); in getSymbolByIndex()
1114 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
1115 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
1131 DataRefImpl DRI; in section_begin() local
1132 return section_iterator(SectionRef(DRI, this)); in section_begin()
1136 DataRefImpl DRI; in section_end() local
1137 DRI.d.a = Sections.size(); in section_end()
1138 return section_iterator(SectionRef(DRI, this)); in section_end()
1304 DataRefImpl DRI; in section_rel_begin() local
1305 DRI.d.a = Index; in section_rel_begin()
1306 return section_rel_begin(DRI); in section_rel_begin()
1310 DataRefImpl DRI; in section_rel_end() local
1311 DRI.d.a = Index; in section_rel_end()
1312 return section_rel_end(DRI); in section_rel_end()
1316 DataRefImpl DRI; in begin_dices() local
1318 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
1321 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, DicLC.dataoff)); in begin_dices()
1322 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
1326 DataRefImpl DRI; in end_dices() local
1328 return dice_iterator(DiceRef(DRI, this)); in end_dices()
1332 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset)); in end_dices()
1333 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2056 DataRefImpl DRI; in getAnyRelocationSection() local
2057 DRI.d.a = SecNum - 1; in getAnyRelocationSection()
2058 return SectionRef(DRI, this); in getAnyRelocationSection()
2061 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
2062 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection()
2063 return getStruct<MachO::section>(this, Sections[DRI.d.a]); in getSection()
2066 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
2067 assert(DRI.d.a < Sections.size() && "Should have detected this earlier"); in getSection64()
2068 return getStruct<MachO::section_64>(this, Sections[DRI.d.a]); in getSection64()
2084 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
2085 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
2090 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
2091 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()