Searched refs:Elf_Mips_Options (Results 1 – 7 of 7) sorted by relevance
731 template <class ELFT> struct Elf_Mips_Options {742 (uint8_t *)this + sizeof(Elf_Mips_Options));745 return const_cast<Elf_Mips_Options *>(this)->getRegInfo();
726 template <class ELFT> struct Elf_Mips_Options {737 (uint8_t *)this + sizeof(Elf_Mips_Options));740 return const_cast<Elf_Mips_Options *>(this)->getRegInfo();
604 template <class ELFT> struct Elf_Mips_Options {615 (const uint8_t *)this + sizeof(Elf_Mips_Options));
956 using Elf_Mips_Options = llvm::object::Elf_Mips_Options<ELFT>; variable966 return sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo); in getSize()
155 this->entsize = sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo); in MipsOptionsSection()159 auto *options = reinterpret_cast<Elf_Mips_Options *>(buf); in writeTo()165 memcpy(buf + sizeof(Elf_Mips_Options), ®info, sizeof(reginfo)); in writeTo()190 if (d.size() < sizeof(Elf_Mips_Options)) { in create()195 auto *opt = reinterpret_cast<const Elf_Mips_Options *>(d.data()); in create()
3348 static Expected<const Elf_Mips_Options<ELFT> *>3351 if (SecData.size() < sizeof(Elf_Mips_Options<ELFT>)) in readMipsOptions()3355 const Elf_Mips_Options<ELFT> *O = in readMipsOptions()3356 reinterpret_cast<const Elf_Mips_Options<ELFT> *>(SecData.data()); in readMipsOptions()3370 sizeof(Elf_Mips_Options<ELFT>) + sizeof(Elf_Mips_RegInfo<ELFT>); in readMipsOptions()3398 Expected<const Elf_Mips_Options<ELFT> *> OptsOrErr = in printMipsOptions()
2319 if (Sec.size() < sizeof(Elf_Mips_Options<ELFT>)) { in printMipsOptions()2323 auto *O = reinterpret_cast<const Elf_Mips_Options<ELFT> *>(Sec.data()); in printMipsOptions()