• Home
  • Raw
  • Download

Lines Matching refs:Result

60 static bool decodeBase64StringEntry(StringRef Str, uint32_t &Result) {  in decodeBase64StringEntry()  argument
88 Result = static_cast<uint32_t>(Value); in decodeBase64StringEntry()
134 StringRef &Result) const { in getSymbolName()
136 return getSymbolName(Symb, Result); in getSymbolName()
140 uint64_t &Result) const { in getSymbolAddress()
147 Result = UnknownAddressOrSize; in getSymbolAddress()
149 Result = Section->VirtualAddress + Symb->Value; in getSymbolAddress()
151 Result = Symb->Value; in getSymbolAddress()
156 SymbolRef::Type &Result) const { in getSymbolType()
158 Result = SymbolRef::ST_Other; in getSymbolType()
161 Result = SymbolRef::ST_Unknown; in getSymbolType()
163 Result = SymbolRef::ST_Function; in getSymbolType()
174 Result = SymbolRef::ST_Data; in getSymbolType()
181 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags() local
187 Result |= SymbolRef::SF_Undefined; in getSymbolFlags()
189 Result |= SymbolRef::SF_Common; in getSymbolFlags()
195 Result |= SymbolRef::SF_Global; in getSymbolFlags()
198 Result |= SymbolRef::SF_Weak; in getSymbolFlags()
201 Result |= SymbolRef::SF_Absolute; in getSymbolFlags()
203 return Result; in getSymbolFlags()
207 uint64_t &Result) const { in getSymbolSize()
217 Result = UnknownAddressOrSize; in getSymbolSize()
219 Result = Section->SizeOfRawData - Symb->Value; in getSymbolSize()
221 Result = 0; in getSymbolSize()
227 section_iterator &Result) const { in getSymbolSection()
230 Result = section_end(); in getSymbolSection()
237 Result = section_iterator(SectionRef(Ref, this)); in getSymbolSection()
249 StringRef &Result) const { in getSectionName()
251 return getSectionName(Sec, Result); in getSectionName()
255 uint64_t &Result) const { in getSectionAddress()
257 Result = Sec->VirtualAddress; in getSectionAddress()
262 uint64_t &Result) const { in getSectionSize()
264 Result = Sec->SizeOfRawData; in getSectionSize()
269 StringRef &Result) const { in getSectionContents()
273 Result = StringRef(reinterpret_cast<const char*>(Res.data()), Res.size()); in getSectionContents()
287 bool &Result) const { in isSectionText()
289 Result = Sec->Characteristics & COFF::IMAGE_SCN_CNT_CODE; in isSectionText()
294 bool &Result) const { in isSectionData()
296 Result = Sec->Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in isSectionData()
301 bool &Result) const { in isSectionBSS()
303 Result = Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA; in isSectionBSS()
309 bool &Result) const { in isSectionRequiredForExecution()
311 Result = true; in isSectionRequiredForExecution()
316 bool &Result) const { in isSectionVirtual()
318 Result = Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA; in isSectionVirtual()
323 bool &Result) const { in isSectionZeroInit()
325 Result = false; in isSectionZeroInit()
330 bool &Result) const { in isSectionReadOnlyData()
332 Result = false; in isSectionReadOnlyData()
338 bool &Result) const { in sectionContainsSymbol()
345 Result = true; in sectionContainsSymbol()
347 Result = false; in sectionContainsSymbol()
734 const coff_section *&Result) const { in getSection()
737 Result = nullptr; in getSection()
740 Result = SectionTable + (Index - 1); in getSection()
747 StringRef &Result) const { in getString()
753 Result = StringRef(StringTable + Offset); in getString()
758 const coff_symbol *&Result) const { in getSymbol()
760 Result = SymbolTable + Index; in getSymbol()
907 SmallVectorImpl<char> &Result) const { in getRelocationTypeName()
975 Result.append(Res.begin(), Res.end()); in getRelocationTypeName()
983 SmallVectorImpl<char> &Result) const { in getRelocationValueString()
993 Result.append(SymName.begin(), SymName.end()); in getRelocationValueString()
998 LibraryRef &Result) const { in getLibraryNext()
1003 StringRef &Result) const { in getLibraryPath()
1017 const import_directory_table_entry *&Result) const { in getImportTableEntry()
1018 Result = ImportTable; in getImportTableEntry()
1022 std::error_code ImportDirectoryEntryRef::getName(StringRef &Result) const { in getName()
1027 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1032 const import_lookup_table_entry32 *&Result) const { in getImportLookupEntry()
1037 Result = reinterpret_cast<const import_lookup_table_entry32 *>(IntPtr); in getImportLookupEntry()
1052 std::error_code ExportDirectoryEntryRef::getDllName(StringRef &Result) const { in getDllName()
1057 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getDllName()
1063 ExportDirectoryEntryRef::getOrdinalBase(uint32_t &Result) const { in getOrdinalBase()
1064 Result = ExportTable->OrdinalBase; in getOrdinalBase()
1069 std::error_code ExportDirectoryEntryRef::getOrdinal(uint32_t &Result) const { in getOrdinal()
1070 Result = ExportTable->OrdinalBase + Index; in getOrdinal()
1075 std::error_code ExportDirectoryEntryRef::getExportRVA(uint32_t &Result) const { in getExportRVA()
1082 Result = entry[Index].ExportRVA; in getExportRVA()
1089 ExportDirectoryEntryRef::getSymbolName(StringRef &Result) const { in getSymbolName()
1108 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getSymbolName()
1111 Result = ""; in getSymbolName()