Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 …]
H A DThreadSafeDenseMap.h27 : m_map(map_initial_capacity), m_mutex() {} in m_map() function
31 m_map.insert(std::make_pair(k, v)); in Insert()
36 m_map.erase(k); in Erase()
41 return m_map.lookup(k); in Lookup()
46 auto iter = m_map.find(k), end = m_map.end(); in Lookup()
55 m_map.clear(); in Clear()
59 LLVMMapType m_map;
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp25 m_map.Sort(std::less<DIERef>()); in Finalize()
26 m_map.SizeToFit(); in Finalize()
30 m_map.Append(name, die_ref); in Insert()
35 for (const auto &entry : m_map.equal_range(name)) in Find()
43 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.h23 NameToDIE() : m_map() {} in NameToDIE()
85 bool IsEmpty() const { return m_map.IsEmpty(); } in IsEmpty()
87 void Clear() { m_map.Clear(); } in Clear()
90 lldb_private::UniqueCStringMap<DIERef> m_map;
/openbsd-src/gnu/llvm/lldb/source/DataFormatters/
H A DTypeCategoryMap.cpp19 : m_map_mutex(), listener(lst), m_map(), m_active_categories() { in TypeCategoryMap()
29 m_map[name] = entry; in Add()
36 MapIterator iter = m_map.find(name); in Delete()
37 if (iter == m_map.end()) in Delete()
39 m_map.erase(name); in Delete()
96 std::vector<ValueSP> sorted_categories(m_map.size(), ValueSP()); in EnableAllCategories()
97 MapType::iterator iter = m_map.begin(), end = m_map.end(); in EnableAllCategories()
127 m_map.clear(); in Clear()
135 MapIterator iter = m_map.find(name); in Get()
136 if (iter == m_map.end()) in Get()
[all …]
H A DFormatCache.cpp55 auto i = m_map.find(type), e = m_map.end(); in GetEntry()
58 m_map[type] = FormatCache::Entry(); in GetEntry()
59 return m_map[type]; in GetEntry()
120 m_map.clear(); in Clear()
/openbsd-src/gnu/llvm/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[index].first; in GetTypeNameSpecifierAtIndex()
236 m_map.clear(); in Clear()
[all …]
H A DTypeCategoryMap.h79 uint32_t GetCount() { return m_map.size(); } in GetCount()
99 MapType m_map; variable
102 MapType &map() { return m_map; } in map()
H A DFormatCache.h49 CacheMap m_map; variable
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DTypeSystem.cpp190 TypeSystemMap::TypeSystemMap() : m_mutex(), m_map() {} in TypeSystemMap()
198 map = m_map; in Clear()
212 m_map.clear(); in Clear()
223 for (auto &pair : m_map) { in ForEach()
243 collection::iterator pos = m_map.find(language); in GetTypeSystemForLanguage()
244 if (pos != m_map.end()) { in GetTypeSystemForLanguage()
256 for (const auto &pair : m_map) { in GetTypeSystemForLanguage()
260 m_map[language] = pair.second; in GetTypeSystemForLanguage()
280 m_map[language] = type_system_sp; in GetTypeSystemForLanguage()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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 __anon88eecf530111::SupportFileMap
162 result.resize(m_map.size() + 1); in translate()
164 for (const auto &KV : m_map) { in translate()
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DMaterializer.cpp1556 exe_scope = m_map->GetBestExecutionContextScope(); in Dematerialize()
1573 entity_up->DumpToLog(*m_map, m_process_address, log); in Dematerialize()
1577 entity_up->Dematerialize(frame_sp, *m_map, m_process_address, frame_top, in Dematerialize()
1593 entity_up->Wipe(*m_map, m_process_address); in Wipe()
1597 m_map = nullptr; in Wipe()
/openbsd-src/gnu/llvm/lldb/include/lldb/Symbol/
H A DTypeSystem.h559 collection m_map; variable