Lines Matching refs:Mapping

84   SymbolHeaderMapping *Mapping = new SymbolHeaderMapping();  in initialize()  local
85 LanguageMappings[static_cast<unsigned>(Language)] = Mapping; in initialize()
88 Mapping->SymbolCount = SymCount; in initialize()
89 Mapping->SymbolNames = in initialize()
90 new std::remove_reference_t<decltype(*Mapping->SymbolNames)>[SymCount]; in initialize()
91 Mapping->SymbolHeaderIDs = new std::remove_reference_t< in initialize()
92 decltype(*Mapping->SymbolHeaderIDs)>[SymCount]; in initialize()
93 Mapping->NamespaceSymbols = in initialize()
94 new std::remove_reference_t<decltype(*Mapping->NamespaceSymbols)>; in initialize()
95 Mapping->HeaderIDs = in initialize()
96 new std::remove_reference_t<decltype(*Mapping->HeaderIDs)>; in initialize()
98 auto R = Mapping->NamespaceSymbols->try_emplace(NS, nullptr); in initialize()
105 return Mapping->HeaderIDs->try_emplace(Header, Mapping->HeaderIDs->size()) in initialize()
119 Mapping->SymbolNames[SymIndex].qualifiedName() == QName) { in initialize()
121 assert(llvm::none_of(llvm::ArrayRef(Mapping->SymbolNames, SymIndex), in initialize()
131 Mapping->SymbolNames[SymIndex] = { in initialize()
134 Mapping->SymbolHeaderIDs[SymIndex].push_back(AddHeader(HeaderName)); in initialize()
171 Mapping->HeaderNames = new llvm::StringRef[Mapping->HeaderIDs->size()]; in initialize()
172 for (const auto &E : *Mapping->HeaderIDs) in initialize()
173 Mapping->HeaderNames[E.second] = E.first; in initialize()
190 const auto *Mapping = getMappingPerLang(L); in all() local
191 Result.reserve(Mapping->HeaderIDs->size()); in all()
192 for (unsigned I = 0, E = Mapping->HeaderIDs->size(); I < E; ++I) in all()
198 const auto *Mapping = getMappingPerLang(L); in named() local
199 auto It = Mapping->HeaderIDs->find(Name); in named()
200 if (It == Mapping->HeaderIDs->end()) in named()
211 const auto *Mapping = getMappingPerLang(L); in all() local
212 Result.reserve(Mapping->SymbolCount); in all()
213 for (unsigned I = 0, E = Mapping->SymbolCount; I < E; ++I) in all()