Lines Matching refs:svc
27 auto svc = service_.lock(); local
28 if (svc)
29 state_ = svc->endpoint()->AllocateMessageState();
52 auto svc = service_.lock(); in Destroy() local
53 if (svc) { in Destroy()
58 svc->name_.c_str(), info_.op, info_.pid, info_.cid); in Destroy()
59 svc->DefaultHandleMessage(*this); in Destroy()
61 svc->endpoint()->FreeMessageState(state_); in Destroy()
79 if (auto svc = service_.lock()) { in ReadVector() local
80 return svc->endpoint()->ReadMessageData(this, vector, vector_length); in ReadVector()
89 if (auto svc = service_.lock()) { in ReadVectorAll() local
91 svc->endpoint()->ReadMessageData(this, vector, vector_length); in ReadVectorAll()
107 if (auto svc = service_.lock()) { in Read() local
109 return svc->endpoint()->ReadMessageData(this, &vector, 1); in Read()
118 if (auto svc = service_.lock()) { in WriteVector() local
119 return svc->endpoint()->WriteMessageData(this, vector, vector_length); in WriteVector()
128 if (auto svc = service_.lock()) { in WriteVectorAll() local
130 svc->endpoint()->WriteMessageData(this, vector, vector_length); in WriteVectorAll()
146 if (auto svc = service_.lock()) { in Write() local
148 return svc->endpoint()->WriteMessageData(this, &vector, 1); in Write()
156 if (auto svc = service_.lock()) { in PushFileHandle() local
157 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
165 if (auto svc = service_.lock()) { in PushFileHandle() local
166 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
174 if (auto svc = service_.lock()) { in PushFileHandle() local
175 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
184 if (auto svc = service_.lock()) { in PushChannelHandle() local
185 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
194 if (auto svc = service_.lock()) { in PushChannelHandle() local
195 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
204 if (auto svc = service_.lock()) { in PushChannelHandle() local
205 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
213 auto svc = service_.lock(); in GetFileHandle() local
214 if (!svc) in GetFileHandle()
218 *handle = svc->endpoint()->GetFileHandle(this, ref); in GetFileHandle()
230 auto svc = service_.lock(); in GetChannelHandle() local
231 if (!svc) in GetChannelHandle()
235 *handle = svc->endpoint()->GetChannelHandle(this, ref); in GetChannelHandle()
246 auto svc = service_.lock(); in Reply() local
247 if (!replied_ && svc) { in Reply()
248 const auto ret = svc->endpoint()->MessageReply(this, return_code); in Reply()
258 auto svc = service_.lock(); in ReplyFileDescriptor() local
259 if (!replied_ && svc) { in ReplyFileDescriptor()
260 const auto ret = svc->endpoint()->MessageReplyFd(this, fd); in ReplyFileDescriptor()
270 auto svc = service_.lock(); in ReplyError() local
271 if (!replied_ && svc) { in ReplyError()
273 svc->endpoint()->MessageReply(this, -static_cast<int>(error)); in ReplyError()
283 auto svc = service_.lock(); in Reply() local
284 if (!replied_ && svc) { in Reply()
288 ret = svc->endpoint()->MessageReplyFd(this, handle.Get()); in Reply()
290 ret = svc->endpoint()->MessageReply(this, handle.Get()); in Reply()
301 auto svc = service_.lock(); in Reply() local
302 if (!replied_ && svc) { in Reply()
306 ret = svc->endpoint()->MessageReplyFd(this, handle.Get()); in Reply()
308 ret = svc->endpoint()->MessageReply(this, handle.Get()); in Reply()
319 auto svc = service_.lock(); in Reply() local
320 if (!replied_ && svc) { in Reply()
321 Status<void> ret = svc->endpoint()->MessageReply(this, handle.Get()); in Reply()
330 auto svc = service_.lock(); in Reply() local
331 if (!replied_ && svc) { in Reply()
332 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); in Reply()
341 auto svc = service_.lock(); in Reply() local
342 if (!replied_ && svc) { in Reply()
343 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); in Reply()
352 auto svc = service_.lock(); in Reply() local
353 if (!replied_ && svc) { in Reply()
354 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); in Reply()
364 if (auto svc = service_.lock()) { in ModifyChannelEvents() local
365 return svc->endpoint()->ModifyChannelEvents(info_.cid, clear_mask, in ModifyChannelEvents()
375 if (auto svc = service_.lock()) { in PushChannel() local
376 return svc->PushChannel(this, flags, channel, channel_id); in PushChannel()
392 if (auto svc = service_.lock()) { in CheckChannel() local
393 return svc->CheckChannel(this, ref, channel); in CheckChannel()
432 if (auto svc = service_.lock()) in SetChannel() local
433 status = svc->SetChannel(info_.cid, chan); in SetChannel()