Home
last modified time | relevance | path

Searched refs:m_map (Results 1 – 12 of 12) sorted by relevance

/llvm-project/lldb/include/lldb/Core/
H A DUniqueCStringMap.h43 m_map.push_back(typename UniqueCStringMap<T>::Entry(unique_cstr, value)); in Append()
46 void Append(const Entry &e) { m_map.push_back(e); } in Append()
48 void Clear() { m_map.clear(); } in Clear()
55 if (idx < m_map.size()) { in GetValueAtIndex()
56 value = m_map[idx].value; in GetValueAtIndex()
63 return m_map[idx].cstring; in GetCStringAtIndexUnchecked()
68 T GetValueAtIndexUnchecked(uint32_t idx) const { return m_map[idx].value; } in GetValueAtIndexUnchecked()
73 return m_map[idx].value; in GetValueRefAtIndexUnchecked()
77 return ((idx < m_map.size()) ? m_map[idx].cstring : ConstString()); in GetCStringAtIndex()
87 auto pos = llvm::lower_bound(m_map, unique_cstr, Compare()); in Find()
[all …]
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp26 m_map.Sort(std::less<DIERef>()); in Finalize()
27 m_map.SizeToFit(); in Finalize()
31 m_map.Append(name, die_ref); in Insert()
36 for (const auto &entry : m_map.equal_range(name)) in Find()
44 for (const auto &entry : m_map) in Find()
55 const uint32_t size = m_map.GetSize(); in FindAllEntriesForUnit()
57 const DIERef &die_ref = m_map.GetValueAtIndexUnchecked(i); in FindAllEntriesForUnit()
69 const uint32_t size = m_map.GetSize(); in Dump()
71 s->Format("{0} \"{1}\"\n", m_map.GetValueAtIndexUnchecked(i), in Dump()
72 m_map.GetCStringAtIndexUnchecked(i)); in Dump()
[all …]
H A DNameToDIE.h25 NameToDIE() : m_map() {} in NameToDIE()
84 bool IsEmpty() const { return m_map.IsEmpty(); } in IsEmpty()
86 void Clear() { m_map.Clear(); } in Clear()
89 UniqueCStringMap<DIERef> m_map;
/llvm-project/lldb/source/DataFormatters/
H A DTypeCategoryMap.cpp19 : m_map_mutex(), listener(lst), m_map(), m_active_categories() { in TypeCategoryMap()
30 m_map[name] = entry; in Add()
43 MapIterator iter = m_map.find(name); in Delete()
44 if (iter == m_map.end()) in Delete()
46 m_map.erase(name); in Delete()
108 std::vector<TypeCategoryImplSP> sorted_categories(m_map.size(), TypeCategoryImplSP()); in EnableAllCategories()
109 MapType::iterator iter = m_map.begin(), end = m_map.end(); in EnableAllCategories()
140 m_map.clear(); in Clear()
153 MapIterator iter = m_map.find(name); in Get()
154 if (iter == m_map.end()) in Get()
[all …]
/llvm-project/lldb/include/lldb/Utility/
H A DThreadSafeDenseMap.h23 : m_map(map_initial_capacity), m_mutex() {} in m_map() function
27 m_map.insert(std::make_pair(k, v)); in Insert()
32 m_map.erase(k); in Erase()
37 return m_map.lookup(k); in Lookup()
42 auto iter = m_map.find(k), end = m_map.end(); in Lookup()
51 m_map.clear(); in Clear()
55 LLVMMapType m_map;
/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h162 m_map.emplace_back(std::move(matcher), std::move(entry)); in Add()
169 for (auto iter = m_map.begin(); iter != m_map.end(); ++iter) in Delete()
171 m_map.erase(iter); in Delete()
182 for (auto &formatter : llvm::reverse(m_map)) { in Get()
209 for (const auto &pos : m_map) in GetExact()
219 if (index >= m_map.size()) in GetAtIndex()
221 return m_map[index].second; in GetAtIndex()
226 if (index >= m_map.size()) in GetTypeNameSpecifierAtIndex()
228 TypeMatcher type_matcher = m_map[inde in GetTypeNameSpecifierAtIndex()
268 MapType m_map; global() variable
[all...]
H A DTypeCategoryMap.h75 uint32_t GetCount() { return m_map.size(); } in GetCount()
95 MapType m_map; variable
/llvm-project/lldb/source/Symbol/
H A DTypeSystem.cpp215 TypeSystemMap::TypeSystemMap() : m_mutex(), m_map() {} in Clear()
223 map = m_map; in Clear()
237 m_map.clear();
247 // Since we just care about guarding access to 'm_map', make in ForEach()
252 map_snapshot = m_map; in ForEach()
277 collection::iterator pos = m_map.find(language); in GetTypeSystemForLanguage()
278 if (pos != m_map.end()) { in GetTypeSystemForLanguage()
289 for (const auto &pair : m_map) { in GetTypeSystemForLanguage()
293 m_map[language] = pair.second; in GetTypeSystemForLanguage()
310 m_map[languag in GetTypeSystemForLanguage()
[all...]
/llvm-project/lldb/include/lldb/Expression/
H A DMaterializer.h40 return m_materializer && m_map && in IsValid()
49 : m_materializer(&materializer), m_map(&map), in Dematerializer()
60 IRMemoryMap *m_map = nullptr; variable
/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp146 return m_map.try_emplace(file, m_map.size() + 1).first->second; in operator []()
155 llvm::DenseMap<size_t, size_t> m_map; member in __anon31f5e1ef0111::SupportFileMap
162 result.resize(m_map.size() + 1); in translate()
164 for (const auto &KV : m_map) { in translate()
/llvm-project/lldb/source/Expression/
H A DMaterializer.cpp1567 exe_scope = m_map->GetBestExecutionContextScope(); in Dematerialize()
1583 entity_up->DumpToLog(*m_map, m_process_address, log); in Dematerialize()
1587 entity_up->Dematerialize(frame_sp, *m_map, m_process_address, frame_top,
1603 entity_up->Wipe(*m_map, m_process_address);
1607 m_map = nullptr;
/llvm-project/lldb/include/lldb/Symbol/
H A DTypeSystem.h580 collection m_map;
576 collection m_map; global() variable