Lines Matching refs:subcontext_command
143 auto subcontext_command = SubcontextCommand(); in MainLoop() local
144 if (!subcontext_command.ParseFromString(*init_message)) { in MainLoop()
149 switch (subcontext_command.command_case()) { in MainLoop()
151 RunCommand(subcontext_command.execute_command(), &reply); in MainLoop()
155 ExpandArgs(subcontext_command.expand_args_command(), &reply); in MainLoop()
160 << subcontext_command.command_case(); in MainLoop()
261 Result<SubcontextReply> Subcontext::TransmitMessage(const SubcontextCommand& subcontext_command) { in TransmitMessage() argument
262 if (auto result = SendMessage(socket_, subcontext_command); !result.ok()) { in TransmitMessage()
287 auto subcontext_command = SubcontextCommand(); in Execute() local
290 RepeatedPtrFieldBackInserter(subcontext_command.mutable_execute_command()->mutable_args())); in Execute()
292 auto subcontext_reply = TransmitMessage(subcontext_command); in Execute()
311 auto subcontext_command = SubcontextCommand{}; in ExpandArgs()
314 subcontext_command.mutable_expand_args_command()->mutable_args())); in ExpandArgs()
316 auto subcontext_reply = TransmitMessage(subcontext_command); in ExpandArgs()