Lines Matching refs:m_symbols
29 m_symbols (), in Symtab()
47 m_symbols.reserve (count); in Reserve()
55 m_symbols.resize (count); in Resize()
56 return &m_symbols[0]; in Resize()
64 uint32_t symbol_idx = m_symbols.size(); in AddSymbol()
67 m_symbols.push_back(symbol); in AddSymbol()
77 return m_symbols.size(); in GetNumSymbols()
98 m_symbols.size()); in Dump()
100 s->Printf("Symtab, num_symbols = %lu", m_symbols.size()); in Dump()
102 if (!m_symbols.empty()) in Dump()
110 const_iterator begin = m_symbols.begin(); in Dump()
111 const_iterator end = m_symbols.end(); in Dump()
112 for (const_iterator pos = m_symbols.begin(); pos != end; ++pos) in Dump()
129 … for (const_iterator pos = m_symbols.begin(), end = m_symbols.end(); pos != end; ++pos) in Dump()
139 pos->second->Dump (s, target, pos->second - &m_symbols[0]); in Dump()
154 m_symbols[symbol_idx].Dump(s, target, symbol_idx); in Dump()
169 s->Printf("Symtab %lu symbol indexes (%lu symbols total):\n", indexes.size(), m_symbols.size()); in Dump()
183 m_symbols[idx].Dump(s, target, idx); in Dump()
220 &m_symbols[0], in FindSymbolByID()
221 m_symbols.size(), in FindSymbolByID()
222 (uint8_t *)&m_symbols[1] - (uint8_t *)&m_symbols[0], in FindSymbolByID()
233 if (idx < m_symbols.size()) in SymbolAtIndex()
234 return &m_symbols[idx]; in SymbolAtIndex()
244 if (idx < m_symbols.size()) in SymbolAtIndex()
245 return &m_symbols[idx]; in SymbolAtIndex()
261 const size_t num_symbols = m_symbols.size(); in InitNameIndexes()
269 for (const_iterator pos = m_symbols.begin(), end = m_symbols.end(); in InitNameIndexes()
293 const Symbol *symbol = &m_symbols[entry.value]; in InitNameIndexes()
460 assert (i < m_symbols.size()); in AppendSymbolNamesToMap()
461 const Symbol *symbol = &m_symbols[entry.value]; in AppendSymbolNamesToMap()
488 const uint32_t count = std::min<uint32_t> (m_symbols.size(), end_index); in AppendSymbolIndexesWithType()
492 if (symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type) in AppendSymbolIndexesWithType()
506 const uint32_t count = std::min<uint32_t> (m_symbols.size(), end_index); in AppendSymbolIndexesWithTypeAndFlagsValue()
510 …if ((symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type) && m_symbols[i].GetFl… in AppendSymbolIndexesWithTypeAndFlagsValue()
524 const uint32_t count = std::min<uint32_t> (m_symbols.size(), end_index); in AppendSymbolIndexesWithType()
528 if (symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type) in AppendSymbolIndexesWithType()
542 const Symbol *first_symbol = &m_symbols[0]; in GetIndexForSymbol()
543 if (symbol >= first_symbol && symbol < first_symbol + m_symbols.size()) in GetIndexForSymbol()
619 std::vector<lldb::addr_t> addr_cache(m_symbols.size(), LLDB_INVALID_ADDRESS); in SortSymbolIndexesByValue()
621 SymbolIndexComparator comparator(m_symbols, addr_cache); in SortSymbolIndexesByValue()
682 if (symbol_type == eSymbolTypeAny || m_symbols[*pos].GetType() == symbol_type) in AppendSymbolIndexesWithNameAndType()
701 if (symbol_type == eSymbolTypeAny || m_symbols[*pos].GetType() == symbol_type) in AppendSymbolIndexesWithNameAndType()
717 uint32_t sym_end = m_symbols.size(); in AppendSymbolIndexesMatchingRegExAndType()
721 if (symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type) in AppendSymbolIndexesMatchingRegExAndType()
723 const char *name = m_symbols[i].GetMangled().GetName().AsCString(); in AppendSymbolIndexesMatchingRegExAndType()
741 uint32_t sym_end = m_symbols.size(); in AppendSymbolIndexesMatchingRegExAndType()
745 if (symbol_type == eSymbolTypeAny || m_symbols[i].GetType() == symbol_type) in AppendSymbolIndexesMatchingRegExAndType()
750 const char *name = m_symbols[i].GetMangled().GetName().AsCString(); in AppendSymbolIndexesMatchingRegExAndType()
767 const size_t count = m_symbols.size(); in FindSymbolWithType()
770 if (symbol_type == eSymbolTypeAny || m_symbols[idx].GetType() == symbol_type) in FindSymbolWithType()
775 return &m_symbols[idx]; in FindSymbolWithType()
941 if (!m_file_addr_to_index_computed && !m_symbols.empty()) in InitAddressIndexes()
946 const_iterator begin = m_symbols.begin(); in InitAddressIndexes()
947 const_iterator end = m_symbols.end(); in InitAddressIndexes()
948 for (const_iterator pos = m_symbols.begin(); pos != end; ++pos) in InitAddressIndexes()
984 Symbol &symbol = m_symbols[entry.data]; in InitAddressIndexes()
1002 if (!m_symbols.empty()) in CalculateSymbolSizes()
1015 Symbol &symbol = m_symbols[entry.data]; in CalculateSymbolSizes()