• Home
  • Raw
  • Download

Lines Matching refs:Result

67 static bool decodeBase64StringEntry(StringRef Str, uint32_t &Result) {  in decodeBase64StringEntry()  argument
95 Result = static_cast<uint32_t>(Value); in decodeBase64StringEntry()
148 StringRef &Result) const { in getSymbolName()
150 return getSymbolName(Symb, Result); in getSymbolName()
154 uint64_t &Result) const { in getSymbolAddress()
158 Result = UnknownAddressOrSize; in getSymbolAddress()
162 Result = UnknownAddressOrSize; in getSymbolAddress()
171 Result = Section->VirtualAddress + Symb.getValue(); in getSymbolAddress()
175 Result = Symb.getValue(); in getSymbolAddress()
180 SymbolRef::Type &Result) const { in getSymbolType()
183 Result = SymbolRef::ST_Other; in getSymbolType()
186 Result = SymbolRef::ST_Unknown; in getSymbolType()
188 Result = SymbolRef::ST_Function; in getSymbolType()
190 Result = SymbolRef::ST_Data; in getSymbolType()
192 Result = SymbolRef::ST_File; in getSymbolType()
196 Result = SymbolRef::ST_Debug; in getSymbolType()
203 Result = SymbolRef::ST_Function; in getSymbolType()
206 Result = SymbolRef::ST_Data; in getSymbolType()
213 uint32_t Result = SymbolRef::SF_None; in getSymbolFlags() local
216 Result |= SymbolRef::SF_Global; in getSymbolFlags()
219 Result |= SymbolRef::SF_Weak; in getSymbolFlags()
222 Result |= SymbolRef::SF_Absolute; in getSymbolFlags()
225 Result |= SymbolRef::SF_FormatSpecific; in getSymbolFlags()
228 Result |= SymbolRef::SF_FormatSpecific; in getSymbolFlags()
231 Result |= SymbolRef::SF_Common; in getSymbolFlags()
234 Result |= SymbolRef::SF_Undefined; in getSymbolFlags()
236 return Result; in getSymbolFlags()
240 uint64_t &Result) const { in getSymbolSize()
244 Result = UnknownAddressOrSize; in getSymbolSize()
248 Result = Symb.getValue(); in getSymbolSize()
260 Result = 0; in getSymbolSize()
290 Result = Section->SizeOfRawData - Symb.getValue(); in getSymbolSize()
294 Result = AfterAddr - SymbAddr; in getSymbolSize()
302 section_iterator &Result) const { in getSymbolSection()
305 Result = section_end(); in getSymbolSection()
312 Result = section_iterator(SectionRef(Ref, this)); in getSymbolSection()
324 StringRef &Result) const { in getSectionName()
326 return getSectionName(Sec, Result); in getSectionName()
339 StringRef &Result) const { in getSectionContents()
343 Result = StringRef(reinterpret_cast<const char*>(Res.data()), Res.size()); in getSectionContents()
877 const coff_section *&Result) const { in getSection()
878 Result = nullptr; in getSection()
883 Result = SectionTable + (Index - 1); in getSection()
890 StringRef &Result) const { in getString()
896 Result = StringRef(StringTable + Offset); in getString()
1083 SmallVectorImpl<char> &Result) const { in getRelocationTypeName()
1151 Result.append(Res.begin(), Res.end()); in getRelocationTypeName()
1159 SmallVectorImpl<char> &Result) const { in getRelocationValueString()
1169 Result.append(SymName.begin(), SymName.end()); in getRelocationValueString()
1187 const import_directory_table_entry *&Result) const { in getImportTableEntry()
1188 Result = ImportTable + Index; in getImportTableEntry()
1245 std::error_code ImportDirectoryEntryRef::getName(StringRef &Result) const { in getName()
1250 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1255 ImportDirectoryEntryRef::getImportLookupTableRVA(uint32_t &Result) const { in getImportLookupTableRVA()
1256 Result = ImportTable[Index].ImportLookupTableRVA; in getImportLookupTableRVA()
1261 ImportDirectoryEntryRef::getImportAddressTableRVA(uint32_t &Result) const { in getImportAddressTableRVA()
1262 Result = ImportTable[Index].ImportAddressTableRVA; in getImportAddressTableRVA()
1267 const import_lookup_table_entry32 *&Result) const { in getImportLookupEntry()
1272 Result = reinterpret_cast<const import_lookup_table_entry32 *>(IntPtr); in getImportLookupEntry()
1302 std::error_code DelayImportDirectoryEntryRef::getName(StringRef &Result) const { in getName()
1306 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getName()
1311 getDelayImportTable(const delay_import_directory_table_entry *&Result) const { in getDelayImportTable()
1312 Result = Table; in getDelayImportTable()
1317 getImportAddress(int AddrIndex, uint64_t &Result) const { in getImportAddress()
1324 Result = *reinterpret_cast<const ulittle64_t *>(IntPtr); in getImportAddress()
1326 Result = *reinterpret_cast<const ulittle32_t *>(IntPtr); in getImportAddress()
1341 std::error_code ExportDirectoryEntryRef::getDllName(StringRef &Result) const { in getDllName()
1346 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getDllName()
1352 ExportDirectoryEntryRef::getOrdinalBase(uint32_t &Result) const { in getOrdinalBase()
1353 Result = ExportTable->OrdinalBase; in getOrdinalBase()
1358 std::error_code ExportDirectoryEntryRef::getOrdinal(uint32_t &Result) const { in getOrdinal()
1359 Result = ExportTable->OrdinalBase + Index; in getOrdinal()
1364 std::error_code ExportDirectoryEntryRef::getExportRVA(uint32_t &Result) const { in getExportRVA()
1371 Result = entry[Index].ExportRVA; in getExportRVA()
1378 ExportDirectoryEntryRef::getSymbolName(StringRef &Result) const { in getSymbolName()
1397 Result = StringRef(reinterpret_cast<const char *>(IntPtr)); in getSymbolName()
1400 Result = ""; in getSymbolName()
1415 ImportedSymbolRef::getSymbolName(StringRef &Result) const { in getSymbolName()
1431 Result = StringRef(reinterpret_cast<const char *>(IntPtr + 2)); in getSymbolName()
1435 std::error_code ImportedSymbolRef::getOrdinal(uint16_t &Result) const { in getOrdinal()
1439 Result = Entry32[Index].getOrdinal(); in getOrdinal()
1445 Result = Entry64[Index].getOrdinal(); in getOrdinal()
1453 Result = *reinterpret_cast<const ulittle16_t *>(IntPtr); in getOrdinal()
1494 std::error_code BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA()
1496 Result = Header->PageRVA + Entry[Index].getOffset(); in getRVA()