Home | History | Annotate | Download | only in Object

Lines Matching defs:Res

285   ArrayRef<uint8_t> Res;
286 std::error_code EC = getSectionContents(Sec, Res);
287 Result = StringRef(reinterpret_cast<const char*>(Res.data()), Res.size());
431 std::error_code COFFObjectFile::getVaPtr(uint64_t Addr, uintptr_t &Res) const {
435 return getRvaPtr((uint32_t)Rva, Res);
439 std::error_code COFFObjectFile::getRvaPtr(uint32_t Addr, uintptr_t &Res) const {
446 Res = uintptr_t(base()) + Section->PointerToRawData + Offset;
803 std::error_code COFFObjectFile::getPE32Header(const pe32_header *&Res) const {
804 Res = PE32Header;
809 COFFObjectFile::getPE32PlusHeader(const pe32plus_header *&Res) const {
810 Res = PE32PlusHeader;
816 const data_directory *&Res) const {
819 Res = nullptr;
826 Res = nullptr;
829 Res = &DataDirectory[Index];
858 StringRef &Res) const {
859 return getSymbolName(Symbol.getGeneric(), Res);
863 StringRef &Res) const {
866 if (std::error_code EC = getString(Symbol->Name.Offset.Offset, Res))
873 Res = StringRef(Symbol->Name.ShortName);
876 Res = StringRef(Symbol->Name.ShortName, COFF::NameSize);
904 StringRef &Res) const {
927 Res = Name;
949 ArrayRef<uint8_t> &Res) const {
961 Res = makeArrayRef(reinterpret_cast<const uint8_t *>(ConStart), SectionSize);
1031 Res = #reloc_type; \
1037 StringRef Res;
1059 Res = "Unknown";
1080 Res = "Unknown";
1097 Res = "Unknown";
1101 Res = "Unknown";
1103 Result.append(Res.begin(), Res.end());