Lines Matching refs:DRI
107 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
108 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
355 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
356 uint32_t Flags = getSectionFlags(this, DRI); in getSectionType()
404 std::error_code MachOObjectFile::getSymbolAlignment(DataRefImpl DRI, in getSymbolAlignment() argument
406 uint32_t flags = getSymbolFlags(DRI); in getSymbolAlignment()
408 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolAlignment()
416 std::error_code MachOObjectFile::getSymbolSize(DataRefImpl DRI, in getSymbolSize() argument
422 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolSize()
424 getSymbolAddress(DRI, Value); in getSymbolSize()
434 uint32_t flags = getSymbolFlags(DRI); in getSymbolSize()
444 DataRefImpl DRI = Symbol.getRawDataRefImpl(); in getSymbolSize() local
445 Entry = getSymbolTableEntryBase(this, DRI); in getSymbolSize()
446 getSymbolAddress(DRI, Value); in getSymbolSize()
488 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
489 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolFlags()
509 getSymbolAddress(DRI, Value); in getSymbolFlags()
538 DataRefImpl DRI; in getSymbolSection() local
539 DRI.d.a = index - 1; in getSymbolSection()
540 Res = section_iterator(SectionRef(DRI, this)); in getSymbolSection()
1219 DataRefImpl DRI; in symbol_end_impl() local
1221 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end_impl()
1229 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset)); in symbol_end_impl()
1230 return basic_symbol_iterator(SymbolRef(DRI, this)); in symbol_end_impl()
1234 DataRefImpl DRI; in getSymbolByIndex() local
1236 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
1243 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Symtab.symoff)); in getSymbolByIndex()
1244 DRI.p += Index * SymbolTableEntrySize; in getSymbolByIndex()
1245 return basic_symbol_iterator(SymbolRef(DRI, this)); in getSymbolByIndex()
1249 DataRefImpl DRI; in section_begin() local
1250 return section_iterator(SectionRef(DRI, this)); in section_begin()
1254 DataRefImpl DRI; in section_end() local
1255 DRI.d.a = Sections.size(); in section_end()
1256 return section_iterator(SectionRef(DRI, this)); in section_end()
1487 DataRefImpl DRI; in section_rel_begin() local
1488 DRI.d.a = Index; in section_rel_begin()
1489 return section_rel_begin(DRI); in section_rel_begin()
1493 DataRefImpl DRI; in section_rel_end() local
1494 DRI.d.a = Index; in section_rel_end()
1495 return section_rel_end(DRI); in section_rel_end()
1499 DataRefImpl DRI; in begin_dices() local
1501 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
1504 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, DicLC.dataoff)); in begin_dices()
1505 return dice_iterator(DiceRef(DRI, this)); in begin_dices()
1509 DataRefImpl DRI; in end_dices() local
1511 return dice_iterator(DiceRef(DRI, this)); in end_dices()
1515 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset)); in end_dices()
1516 return dice_iterator(DiceRef(DRI, this)); in end_dices()
2232 DataRefImpl DRI; in getRelocationSection() local
2233 DRI.d.a = SecNum; in getRelocationSection()
2234 return SectionRef(DRI, this); in getRelocationSection()
2260 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
2262 if (DRI.d.a >= Sections.size()) in getSection()
2264 return getStruct<MachO::section>(this, Sections[DRI.d.a]); in getSection()
2267 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
2269 if (DRI.d.a >= Sections.size()) in getSection64()
2271 return getStruct<MachO::section_64>(this, Sections[DRI.d.a]); in getSection64()
2287 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
2288 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntry()
2293 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
2294 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbol64TableEntry()