Lines Matching refs:indexes

162 Symtab::Dump(Stream *s, Target *target, std::vector<uint32_t>& indexes) const  in Dump()
169 s->Printf("Symtab %lu symbol indexes (%lu symbols total):\n", indexes.size(), m_symbols.size()); in Dump()
172 if (!indexes.empty()) in Dump()
175 std::vector<uint32_t>::const_iterator end = indexes.end(); in Dump()
177 for (pos = indexes.begin(); pos != end; ++pos) in Dump()
444 Symtab::AppendSymbolNamesToMap (const IndexCollection &indexes, in AppendSymbolNamesToMap() argument
456 const size_t num_indexes = indexes.size(); in AppendSymbolNamesToMap()
459 entry.value = indexes[i]; in AppendSymbolNamesToMap()
482 Symtab::AppendSymbolIndexesWithType (SymbolType symbol_type, std::vector<uint32_t>& indexes, uint32… in AppendSymbolIndexesWithType() argument
486 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesWithType()
493 indexes.push_back(i); in AppendSymbolIndexesWithType()
496 return indexes.size() - prev_size; in AppendSymbolIndexesWithType()
500 …ue (SymbolType symbol_type, uint32_t flags_value, std::vector<uint32_t>& indexes, uint32_t start_i… in AppendSymbolIndexesWithTypeAndFlagsValue() argument
504 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesWithTypeAndFlagsValue()
511 indexes.push_back(i); in AppendSymbolIndexesWithTypeAndFlagsValue()
514 return indexes.size() - prev_size; in AppendSymbolIndexesWithTypeAndFlagsValue()
518 … symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& indexes, uint32_t start_i… in AppendSymbolIndexesWithType() argument
522 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesWithType()
531 indexes.push_back(i); in AppendSymbolIndexesWithType()
535 return indexes.size() - prev_size; in AppendSymbolIndexesWithType()
605 Symtab::SortSymbolIndexesByValue (std::vector<uint32_t>& indexes, bool remove_duplicates) const in SortSymbolIndexesByValue() argument
611 if (indexes.size() <= 1) in SortSymbolIndexesByValue()
622 std::stable_sort(indexes.begin(), indexes.end(), comparator); in SortSymbolIndexesByValue()
626 std::unique(indexes.begin(), indexes.end()); in SortSymbolIndexesByValue()
630 Symtab::AppendSymbolIndexesWithName (const ConstString& symbol_name, std::vector<uint32_t>& indexes) in AppendSymbolIndexesWithName() argument
641 return m_name_to_index.GetValues (symbol_cstr, indexes); in AppendSymbolIndexesWithName()
647 …symbol_name, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& indexes) in AppendSymbolIndexesWithName() argument
654 const size_t old_size = indexes.size(); in AppendSymbolIndexesWithName()
665 indexes.push_back (all_name_indexes[i]); in AppendSymbolIndexesWithName()
667 return indexes.size() - old_size; in AppendSymbolIndexesWithName()
673 …ameAndType (const ConstString& symbol_name, SymbolType symbol_type, std::vector<uint32_t>& indexes) in AppendSymbolIndexesWithNameAndType() argument
677 if (AppendSymbolIndexesWithName(symbol_name, indexes) > 0) in AppendSymbolIndexesWithNameAndType()
679 std::vector<uint32_t>::iterator pos = indexes.begin(); in AppendSymbolIndexesWithNameAndType()
680 while (pos != indexes.end()) in AppendSymbolIndexesWithNameAndType()
685 indexes.erase(pos); in AppendSymbolIndexesWithNameAndType()
688 return indexes.size(); in AppendSymbolIndexesWithNameAndType()
692 …symbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& indexes) in AppendSymbolIndexesWithNameAndType() argument
696 if (AppendSymbolIndexesWithName(symbol_name, symbol_debug_type, symbol_visibility, indexes) > 0) in AppendSymbolIndexesWithNameAndType()
698 std::vector<uint32_t>::iterator pos = indexes.begin(); in AppendSymbolIndexesWithNameAndType()
699 while (pos != indexes.end()) in AppendSymbolIndexesWithNameAndType()
704 indexes.erase(pos); in AppendSymbolIndexesWithNameAndType()
707 return indexes.size(); in AppendSymbolIndexesWithNameAndType()
712 …ExAndType (const RegularExpression &regexp, SymbolType symbol_type, std::vector<uint32_t>& indexes) in AppendSymbolIndexesMatchingRegExAndType() argument
716 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesMatchingRegExAndType()
727 indexes.push_back(i); in AppendSymbolIndexesMatchingRegExAndType()
731 return indexes.size() - prev_size; in AppendSymbolIndexesMatchingRegExAndType()
736 …symbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& indexes) in AppendSymbolIndexesMatchingRegExAndType() argument
740 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesMatchingRegExAndType()
754 indexes.push_back(i); in AppendSymbolIndexesMatchingRegExAndType()
758 return indexes.size() - prev_size; in AppendSymbolIndexesMatchingRegExAndType()
925 FindIndexPtrForSymbolContainingAddress(Symtab* symtab, addr_t file_addr, const uint32_t* indexes, u… in FindIndexPtrForSymbolContainingAddress() argument
929 indexes, in FindIndexPtrForSymbolContainingAddress()
1032 Symtab::FindSymbolContainingFileAddress (addr_t file_addr, const uint32_t* indexes, uint32_t num_in… in FindSymbolContainingFileAddress() argument
1040 indexes, in FindSymbolContainingFileAddress()