Home
last modified time | relevance | path

Searched refs:SymbolIndex (Results 1 – 25 of 92) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/clangd/index/remote/
DClient.cpp28 class IndexClient : public clangd::SymbolIndex {
31 remote::v1::SymbolIndex::Stub::*)(grpc::ClientContext *,
78 : Stub(remote::v1::SymbolIndex::NewStub(Channel)), in IndexClient()
88 streamRPC(Request, &remote::v1::SymbolIndex::Stub::Lookup, Callback); in lookup()
94 return streamRPC(Request, &remote::v1::SymbolIndex::Stub::FuzzyFind, in fuzzyFind()
101 return streamRPC(Request, &remote::v1::SymbolIndex::Stub::Refs, Callback); in refs()
108 streamRPC(Request, &remote::v1::SymbolIndex::Stub::Relations, in relations()
120 std::unique_ptr<remote::v1::SymbolIndex::Stub> Stub;
128 std::unique_ptr<clangd::SymbolIndex> getClient(llvm::StringRef Address, in getClient()
133 return std::unique_ptr<clangd::SymbolIndex>( in getClient()
DService.proto15 // Semantics of SymbolIndex match clangd::SymbolIndex with all required
17 service SymbolIndex { service
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.h55 const SymbolIndex *Index = nullptr);
65 const SymbolIndex *Index, const std::string &MainFilePath,
88 const SymbolIndex *Index);
93 const SymbolIndex *Index = nullptr);
107 const SymbolIndex *Index = nullptr, PathRef TUPath = PathRef{});
111 const SymbolIndex *Index);
118 incomingCalls(const CallHierarchyItem &Item, const SymbolIndex *Index);
DFindSymbols.h22 class SymbolIndex; variable
44 const SymbolIndex *const Index, llvm::StringRef HintPath);
DIncludeFixer.h38 const SymbolIndex &Index, unsigned IndexRequestLimit) in IncludeFixer()
75 const SymbolIndex &Index;
/external/llvm-project/clang-tools-extra/clangd/index/
DIndex.h86 class SymbolIndex {
88 virtual ~SymbolIndex() = default;
129 class SwapIndex : public SymbolIndex {
132 SwapIndex(std::unique_ptr<SymbolIndex> Index = nullptr)
134 void reset(std::unique_ptr<SymbolIndex>);
151 std::shared_ptr<SymbolIndex> snapshot() const;
153 std::shared_ptr<SymbolIndex> Index;
DMerge.h30 class MergedIndex : public SymbolIndex {
31 const SymbolIndex *Dynamic, *Static;
36 MergedIndex(const SymbolIndex *Dynamic, const SymbolIndex *Static) in MergedIndex()
DProjectAware.cpp34 class ProjectAwareIndex : public SymbolIndex {
61 SymbolIndex *getIndex() const;
66 std::unique_ptr<SymbolIndex>>
115 SymbolIndex *ProjectAwareIndex::getIndex() const { in getIndex()
128 std::unique_ptr<SymbolIndex> createProjectAwareIndex(IndexFactory Gen) { in createProjectAwareIndex()
DProjectAware.h23 using IndexFactory = std::function<std::unique_ptr<SymbolIndex>(
30 std::unique_ptr<SymbolIndex> createProjectAwareIndex(IndexFactory);
DIndex.cpp20 void SwapIndex::reset(std::unique_ptr<SymbolIndex> Index) { in reset()
22 std::shared_ptr<SymbolIndex> Pin; in reset()
29 std::shared_ptr<SymbolIndex> SwapIndex::snapshot() const { in snapshot()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DSymbolIndex.h21 class SymbolIndex {
23 virtual ~SymbolIndex() = default;
DSymbolIndexManager.h35 void addSymbolIndex(std::function<std::unique_ptr<SymbolIndex>()> F) { in addSymbolIndex()
59 std::vector<std::shared_future<std::unique_ptr<SymbolIndex>>> SymbolIndices;
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSyncAPI.h55 SymbolSlab runFuzzyFind(const SymbolIndex &Index, StringRef Query);
56 SymbolSlab runFuzzyFind(const SymbolIndex &Index, const FuzzyFindRequest &Req);
57 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID);
DTestIndex.h46 std::vector<std::string> match(const SymbolIndex &I,
51 std::vector<std::string> lookup(const SymbolIndex &I,
DTestTU.h64 const SymbolIndex *ExternalIndex = nullptr;
87 std::unique_ptr<SymbolIndex> index() const;
/external/llvm/lib/Object/
DArchive.cpp502 Offset = read32be(Offsets + SymbolIndex * 4); in getMember()
504 Offset = read64be(Offsets + SymbolIndex * 8); in getMember()
512 Offset = read32le(Offsets + SymbolIndex * 8 + 4); in getMember()
520 Offset = read64le(Offsets + SymbolIndex * 16 + 8); in getMember()
527 if (SymbolIndex >= SymbolCount) in getMember()
535 uint16_t OffsetIndex = read16le(Indices + SymbolIndex * 2); in getMember()
575 if (t.SymbolIndex + 1 < RanlibCount) { in getNext()
579 CurRanStrx = read32le(Ranlibs + t.SymbolIndex * 8); in getNext()
580 NextRanStrx = read32le(Ranlibs + (t.SymbolIndex + 1) * 8); in getNext()
588 ++t.SymbolIndex; in getNext()
/external/llvm/include/llvm/Object/
DArchive.h148 uint32_t SymbolIndex; variable
153 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);
158 , SymbolIndex(symi) in Symbol()
/external/llvm-project/llvm/include/llvm/Object/
DArchive.h180 uint32_t SymbolIndex; variable
186 , SymbolIndex(symi) in Symbol()
190 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DArchive.h180 uint32_t SymbolIndex; variable
186 , SymbolIndex(symi) in Symbol()
190 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);
/external/llvm-project/clang-tools-extra/clangd/index/dex/dexp/
DDexp.cpp63 const SymbolIndex *Index) { in getSymbolIDsFromIndex()
97 const SymbolIndex *Index;
102 const SymbolIndex &Index) { in parseAndRun()
332 std::unique_ptr<SymbolIndex> openIndex(llvm::StringRef Index) { in openIndex()
339 bool runCommand(std::string Request, const SymbolIndex &Index) { in runCommand()
384 std::unique_ptr<SymbolIndex> Index; in main()
/external/llvm-project/llvm/test/Object/
Dyaml2obj-readobj.test15 # COFF-I386-NEXT: SymbolIndex: 5
21 # COFF-I386-NEXT: SymbolIndex: 6
27 # COFF-I386-NEXT: SymbolIndex: 7
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.h22 class SymbolIndex; variable
48 const SymbolIndex *Index = nullptr;
DTweak.h50 Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin,
55 const SymbolIndex *Index = nullptr;
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF_x86_64.cpp410 auto SymbolIndex = Rela.getSymbol(false); in addRelocations() local
416 auto *TargetSymbol = JITSymbolTable[SymbolIndex]; in addRelocations()
490 int SymbolIndex = -1; in graphifyRegularSymbols() local
492 ++SymbolIndex; in graphifyRegularSymbols()
495 if (Type == ELF::STT_FILE || SymbolIndex == 0) in graphifyRegularSymbols()
517 JITSymbolTable[SymbolIndex] = &S; in graphifyRegularSymbols()
555 JITSymbolTable[SymbolIndex] = &S; in graphifyRegularSymbols()
558 JITSymbolTable[SymbolIndex] = &S; in graphifyRegularSymbols()
/external/llvm-project/clang-tools-extra/clangd/benchmarks/
DIndexBenchmark.cpp27 std::unique_ptr<SymbolIndex> buildMem() { in buildMem()
31 std::unique_ptr<SymbolIndex> buildDex() { in buildDex()

1234