/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | UniqueCStringMap.h | 43 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 …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | NameToDIE.cpp | 26 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 in Dump() [all...] |
H A D | NameToDIE.h | 25 NameToDIE() : m_map() {} 84 bool IsEmpty() const { return m_map.IsEmpty(); } 86 void Clear() { m_map.Clear(); } 89 UniqueCStringMap<DIERef> m_map;
|
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | TypeCategoryMap.cpp | 19 : 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 …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ThreadSafeDenseMap.h | 23 : 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;
|
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/ |
H A D | FormattersContainer.h | 162 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 D | TypeCategoryMap.h | 75 uint32_t GetCount() { return m_map.size(); } in GetCount() 95 MapType m_map; variable
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | map.c | 108 return i1.m_map == i2.m_map && i1.m_entry == i2.m_entry; in atf_equal_map_citer_map_citer() 152 return i1.m_map == i2.m_map && i1.m_entry == i2.m_entry; in atf_equal_map_iter_map_iter() 225 iter.m_map = m; in atf_map_begin() 235 citer.m_map = m; in atf_map_begin_c() 245 iter.m_map = m; in atf_map_end() 255 iter.m_map = m; in atf_map_end_c() 271 i.m_map = m; in atf_map_find() 291 i.m_map = m; in atf_map_find_c()
|
H A D | map.h | 40 const struct atf_map *m_map; member 60 struct atf_map *m_map; member
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | TypeSystem.cpp | 211 TypeSystemMap::TypeSystemMap() : m_mutex(), m_map() {} in TypeSystemMap() 219 map = m_map; in Clear() 233 m_map.clear(); in Clear() 248 map_snapshot = m_map; in ForEach() 273 collection::iterator pos = m_map.find(language); in GetTypeSystemForLanguage() 274 if (pos != m_map.end()) { in GetTypeSystemForLanguage() 285 for (const auto &pair : m_map) { in GetTypeSystemForLanguage() 289 m_map[language] = pair.second; in GetTypeSystemForLanguage() 306 m_map[language] = type_system_sp; in GetTypeSystemForLanguage()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
H A D | Materializer.h | 40 return m_materializer && m_map && in IsValid() 49 : m_materializer(&materializer), m_map(&map), in Dematerializer() 60 IRMemoryMap *m_map = nullptr; variable
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/ |
H A D | SymbolFileBreakpad.cpp | 146 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 __anon19c8115c0111::SupportFileMap 162 result.resize(m_map.size() + 1); in translate() 164 for (const auto &KV : m_map) { in translate()
|
/freebsd/sys/dev/bxe/ |
H A D | bxe.c | 2812 if (rx_buf->m_map != NULL) { in bxe_tpa_start() 2813 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_tpa_start() 2815 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_tpa_start() 3431 bus_dmamap_unload(fp->tx_mbuf_tag, tx_buf->m_map); in bxe_free_tx_pkt() 5131 tx_buf->m_map, m0, in bxe_tx_encap() 5151 tx_buf->m_map, m0, in bxe_tx_encap() 5174 bus_dmamap_unload(fp->tx_mbuf_tag, tx_buf->m_map); in bxe_tx_encap() 5203 bus_dmamap_unload(fp->tx_mbuf_tag, tx_buf->m_map); in bxe_tx_encap() 5214 tx_buf->m_map, m0, in bxe_tx_encap() 5228 bus_dmamap_unload(fp->tx_mbuf_tag, tx_buf->m_map); in bxe_tx_encap() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | Materializer.cpp | 1556 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()
|
/freebsd/sys/vm/ |
H A D | vm_fault.c | 337 vm_page_t m, m_map; in vm_fault_soft_fast() local 379 m_map = m; in vm_fault_soft_fast() 415 m_map = m_super; in vm_fault_soft_fast() 423 if (pmap_enter(fs->map->pmap, vaddr, m_map, fs->prot, fs->fault_type | in vm_fault_soft_fast()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | TypeSystem.h | 576 collection m_map; variable
|