• Home
  • Raw
  • Download

Lines Matching refs:pcline

169         auto pcline = reinterpret_cast<DistributedMsg *>(buff);  in DoCmdServer()  local
170 pcline->cmdTestType = ntohs(pcline->cmdTestType); in DoCmdServer()
171 pcline->len = ntohs(pcline->len); in DoCmdServer()
172 … HiLog::Info(DistributedAgent::LABEL, "test agent get message type:%d .\n", pcline->cmdTestType); in DoCmdServer()
173 …if (pcline->len > 0 && static_cast<unsigned long>(pcline->len) <= (MAX_BUFF_LEN - DST_COMMAND_HEAD… in DoCmdServer()
174 … receiveLen = recv(clientSockFd_, pcline->alignmentCmd, static_cast<size_t>(pcline->len), 0); in DoCmdServer()
175 … HiLog::Info(DistributedAgent::LABEL, "agent get message cmd=%s .\n", pcline->alignmentCmd); in DoCmdServer()
176 switch (pcline->cmdTestType) { in DoCmdServer()
179 unsigned int cmdLen = ntohs(*reinterpret_cast<int *>(pcline->alignmentCmd)); in DoCmdServer()
183 ret = memcpy_s(pAlignmentCmd, cmdLen + 1, pcline->alignmentCmd + rlen, cmdLen); in DoCmdServer()
190 … unsigned int eValueLen = ntohs(*reinterpret_cast<int *>(pcline->alignmentCmd + rlen)); in DoCmdServer()
193 … ret = memcpy_s(pszEValue, eValueLen + 1, pcline->alignmentCmd + rlen, eValueLen); in DoCmdServer()
208 pclinereturn->no = pcline->no; in DoCmdServer()
228 pclinereturn->no = pcline->no; in DoCmdServer()
232 … nresult = OnProcessMsg(pcline->alignmentCmd, pcline->len, resultcmd, pclinereturn->len); in DoCmdServer()
244 OnNotifyImf(pcline); in DoCmdServer()
261 void DistributedAgent::OnNotifyImf(DistributedMsg *pcline) in OnNotifyImf() argument
275 if (pcline->alignmentCmd[cmdNo] == ':') { in OnNotifyImf()
283 ret = memcpy_s(alignmentCmd, sizeof(alignmentCmd), pcline->alignmentCmd, cmdNo); in OnNotifyImf()
288 pcline->alignmentCmd + cmdNo + 1, pcline->len - cmdNo - 1); in OnNotifyImf()
292 OnNotify(alignmentCmd, szMsg, pcline->len - cmdNo); in OnNotifyImf()