Home
last modified time | relevance | path

Searched refs:fromProtobuf (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.h41 llvm::Expected<clangd::Symbol> fromProtobuf(const Symbol &Message);
42 llvm::Expected<clangd::Ref> fromProtobuf(const Ref &Message);
44 fromProtobuf(const Relation &Message);
47 fromProtobuf(const LookupRequest *Message);
49 fromProtobuf(const FuzzyFindRequest *Message);
50 llvm::Expected<clangd::RefsRequest> fromProtobuf(const RefsRequest *Message);
52 fromProtobuf(const RelationsRequest *Message);
80 clangd::SymbolLocation::Position fromProtobuf(const Position &Message);
82 clang::index::SymbolInfo fromProtobuf(const SymbolInfo &Message);
85 fromProtobuf(const SymbolLocation &Message);
[all …]
H A DMarshalling.cpp79 Marshaller::fromProtobuf(const LookupRequest *Message) { in fromProtobuf() function in clang::clangd::remote::Marshaller
113 Marshaller::fromProtobuf(const RefsRequest *Message) { in fromProtobuf() function in clang::clangd::remote::Marshaller
152 Result.SymInfo = fromProtobuf(Message.info()); in fromProtobuf()
156 auto Definition = fromProtobuf(Message.definition()); in fromProtobuf()
174 auto SerializedHeader = fromProtobuf(Header); in fromProtobuf()
187 auto Location = fromProtobuf(Message.location()); in fromProtobuf()
196 Marshaller::fromProtobuf(const Relation &Message) { in fromProtobuf() function in clang::clangd::remote::Marshaller
202 auto Object = fromProtobuf(Message.object()); in fromProtobuf()
347 Marshaller::fromProtobuf(const Position &Message) { in fromProtobuf() function in clang::clangd::remote::Marshaller
388 Location.Start = fromProtobuf(Message.start()); in fromProtobuf()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp105 auto Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
114 Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
140 Deserialized = ProtobufMarshaller.fromProtobuf(WithAbsolutePath); in TEST()
156 auto Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
172 ASSERT_TRUE(bool(ProtobufMarshaller.fromProtobuf(*Serialized))); in TEST()
177 Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
200 Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
232 auto Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
262 auto Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
293 Deserialized = ProtobufMarshaller.fromProtobuf(*Serialized); in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp137 auto Req = ProtobufMarshaller->fromProtobuf(Request); in Lookup()
182 auto Req = ProtobufMarshaller->fromProtobuf(Request); in FuzzyFind()
225 auto Req = ProtobufMarshaller->fromProtobuf(Request); in Refs()
268 auto Req = ProtobufMarshaller->fromProtobuf(Request); in Relations()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DClient.cpp93 auto Response = ProtobufMarshaller->fromProtobuf(Reply.stream_result()); in streamRPC()