/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Ref.h | 110 class RefSlab { 117 RefSlab() = default; 118 RefSlab(RefSlab &&Slab) = default; 119 RefSlab &operator=(RefSlab &&RHS) = default; 140 RefSlab build() &&; 157 RefSlab(std::vector<value_type> Refs, llvm::BumpPtrAllocator Arena, 171 template <> struct DenseMapInfo<clang::clangd::RefSlab::Builder::Entry> { 172 using Entry = clang::clangd::RefSlab::Builder::Entry;
|
D | FileIndex.cpp | 203 RefSlab::Builder RefB; in getShard() 240 std::unique_ptr<RefSlab> Refs, in update() 267 std::vector<std::shared_ptr<RefSlab>> RefSlabs; in buildIndex() 269 std::vector<RefSlab *> MainFileRefs; in buildIndex() 299 for (const RefSlab *Refs : MainFileRefs) in buildIndex() 332 for (const auto &RefSlab : RefSlabs) in buildIndex() local 333 for (const auto &Sym : *RefSlab) { in buildIndex() 367 for (const auto &RefSlab : RefSlabs) in buildIndex() local 368 StorageSize += RefSlab->bytes(); in buildIndex() 397 for (const auto &RefSlab : RefsSnapshot) { in profile() local [all …]
|
D | Ref.cpp | 36 void RefSlab::Builder::insert(const SymbolID &ID, const Ref &S) { in insert() 42 RefSlab RefSlab::Builder::build() && { in build() 64 return RefSlab(std::move(Result), std::move(Arena), Entries.size()); in build()
|
D | FileIndex.h | 79 std::unique_ptr<RefSlab> Refs, 95 std::shared_ptr<RefSlab> Slab; 156 using SlabTuple = std::tuple<SymbolSlab, RefSlab, RelationSlab>;
|
D | Serialization.h | 44 llvm::Optional<RefSlab> Refs; 57 const RefSlab *Refs = nullptr;
|
D | IndexAction.cpp | 132 std::function<void(RefSlab)> RefsCallback, in IndexAction() 194 std::function<void(RefSlab)> RefsCallback; 209 std::function<void(RefSlab)> RefsCallback, in createStaticIndexingAction()
|
D | SymbolCollector.h | 117 RefSlab takeRefs() { return std::move(Refs).build(); } in takeRefs() 151 RefSlab::Builder Refs;
|
D | IndexAction.h | 29 std::function<void(RefSlab)> RefsCallback,
|
D | Background.cpp | 244 std::make_unique<RefSlab>(std::move(*IF->Refs)), in update() 309 [&](RefSlab R) { Index.Refs = std::move(R); }, in index() 379 ? std::make_unique<RefSlab>(std::move(*LS.Shard->Refs)) in loadProject()
|
D | MemIndex.h | 48 static std::unique_ptr<SymbolIndex> build(SymbolSlab Symbols, RefSlab Refs,
|
D | MemIndex.cpp | 19 std::unique_ptr<SymbolIndex> MemIndex::build(SymbolSlab Slab, RefSlab Refs, in build()
|
D | Serialization.cpp | 513 RefSlab::Builder Refs; in readRIFF() 708 RefSlab Refs; in loadIndex()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 116 SwapIndex S(std::make_unique<MemIndex>(SymbolSlab(), RefSlab(), in TEST() 130 MemIndex I(Symbols, RefSlab(), RelationSlab()); in TEST() 136 MemIndex::build(generateNumSymbols(0, 100), RefSlab(), RelationSlab()); in TEST() 151 RefSlab(), RelationSlab()); in TEST() 161 auto I = MemIndex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST() 170 auto I = MemIndex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST() 180 generateSymbols({"a::y1", "a::y2", "a::x", "b::y2", "y3"}), RefSlab(), in TEST() 190 generateSymbols({"a::y1", "a::y2", "a::x", "b::y3", "y3"}), RefSlab(), in TEST() 199 auto I = MemIndex::build(generateSymbols({"a::y1", "a::b::y2"}), RefSlab(), in TEST() 208 auto I = MemIndex::build(generateSymbols({"ns::ABC", "ns::abc"}), RefSlab(), in TEST() [all …]
|
D | DexTests.cpp | 467 auto I = Dex::build(generateSymbols({"ns::abc", "ns::xyz"}), RefSlab(), in TEST() 481 RefSlab(), RelationSlab()); in TEST() 503 auto I = Dex::build(generateNumSymbols(0, 100), RefSlab(), RelationSlab()); in TEST() 518 RefSlab(), RelationSlab()); in TEST() 528 auto I = Dex::build(generateSymbols({"OneTwoThreeFour"}), RefSlab(), in TEST() 551 auto I = Dex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST() 560 auto I = Dex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST() 571 RefSlab(), RelationSlab()); in TEST() 581 RefSlab(), RelationSlab()); in TEST() 589 auto I = Dex::build(generateSymbols({"a::y1", "a::b::y2"}), RefSlab(), in TEST() [all …]
|
D | TestTU.h | 86 RefSlab headerRefs() const;
|
D | ProjectAwareIndexTests.cpp | 32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
|
D | SyncAPI.cpp | 137 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID) { in getRefs() 140 RefSlab::Builder Slab; in getRefs()
|
D | SyncAPI.h | 57 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID);
|
D | FileIndexTests.cpp | 69 ::testing::Matcher<const RefSlab &> 88 std::unique_ptr<RefSlab> refSlab(const SymbolID &ID, const char *Path) { in refSlab() 89 RefSlab::Builder Slab; in refSlab() 94 return std::make_unique<RefSlab>(std::move(Slab).build()); in refSlab()
|
D | RenameTests.cpp | 50 std::unique_ptr<RefSlab> buildRefSlab(const Annotations &Code, in buildRefSlab() 53 RefSlab::Builder Builder; in buildRefSlab() 62 return std::make_unique<RefSlab>(std::move(Builder).build()); in buildRefSlab()
|
D | TestTU.cpp | 152 RefSlab TestTU::headerRefs() const { in headerRefs()
|
D | IndexActionTests.cpp | 80 [&](RefSlab R) { IndexFile.Refs = std::move(R); }, in __anon7e85be7d0302()
|
D | SerializationTests.cpp | 200 std::vector<std::string> YAMLFromRefs(const RefSlab &Slab) { in YAMLFromRefs()
|
/external/llvm-project/clang-tools-extra/clangd/indexer/ |
D | IndexerMain.cpp | 68 [&](RefSlab S) { in create() 100 RefSlab::Builder Refs;
|
/external/llvm-project/clang-tools-extra/clangd/index/dex/ |
D | Dex.h | 71 static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab);
|