Lines Matching defs:Req
137 auto Req = ProtobufMarshaller->fromProtobuf(Request);
138 if (!Req) {
139 elog("Can not parse LookupRequest from protobuf: {0}", Req.takeError());
145 Index.lookup(*Req, [&](const clangd::Symbol &Item) {
182 auto Req = ProtobufMarshaller->fromProtobuf(Request);
183 if (!Req) {
185 Req.takeError());
188 if (!Req->Limit || *Req->Limit > LimitResults) {
190 Req->Limit, LimitResults);
191 Req->Limit = LimitResults;
195 bool HasMore = Index.fuzzyFind(*Req, [&](const clangd::Symbol &Item) {
225 auto Req = ProtobufMarshaller->fromProtobuf(Request);
226 if (!Req) {
227 elog("Can not parse RefsRequest from protobuf: {0}", Req.takeError());
230 if (!Req->Limit || *Req->Limit > LimitResults) {
232 Req->Limit, LimitResults);
233 Req->Limit = LimitResults;
237 bool HasMore = Index.refs(*Req, [&](const clangd::Ref &Item) {
269 auto Req = ProtobufMarshaller->fromProtobuf(Request);
270 if (!Req) {
272 Req.takeError());
275 if (!Req->Limit || *Req->Limit > LimitResults) {
278 Req->Limit, LimitResults);
279 Req->Limit = LimitResults;
284 Index.containedRefs(*Req, [&](const clangd::ContainedRefsResult &Item) {
315 auto Req = ProtobufMarshaller->fromProtobuf(Request);
316 if (!Req) {
318 Req.takeError());
321 if (!Req->Limit || *Req->Limit > LimitResults) {
324 Req->Limit, LimitResults);
325 Req->Limit = LimitResults;
330 *Req, [&](const SymbolID &Subject, const clangd::Symbol &Object) {