Searched refs:cmdLen (Results 1 - 5 of 5) sorted by relevance
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_agent.cpp | 179 unsigned int cmdLen = ntohs(*reinterpret_cast<int *>(pcline->alignmentCmd));
in DoCmdServer() local 181 // check cmdLen length < 100, copy command + args data ;
in DoCmdServer() 182 char *pAlignmentCmd = new char[cmdLen + 1];
in DoCmdServer() 183 ret = memcpy_s(pAlignmentCmd, cmdLen + 1, pcline->alignmentCmd + rlen, cmdLen);
in DoCmdServer() 188 pAlignmentCmd[cmdLen] = '\0';
in DoCmdServer() 189 rlen += cmdLen + 1;
in DoCmdServer() 200 int nresult = OnProcessCmd(pAlignmentCmd, cmdLen, pszEValue, eValueLen);
in DoCmdServer() 322 * cmdLen : length of strCommand
327 int DistributedAgent::OnProcessCmd(const std::string &strCommand, int cmdLen,
in OnProcessCmd() argument 369 OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen, const std::string &strExpectValue, int expectValueLen) OnProcessCmd() argument [all...] |
H A D | distributed_major.cpp | 244 bool DistributeTestEnvironment::RunTestCmd(size_t devNo, const std::string &strCommand, int cmdLen,
in RunTestCmd() argument 258 size_t rlen = cmdLen + expectValueLen + DST_COMMAND_HEAD_LEN + sizeof(int) * HALF_BUF_LEN + HALF_BUF_LEN;
in RunTestCmd() 267 *reinterpret_cast<int *>(pCmdTest->alignmentCmd + lenptr) = htons(cmdLen);
in RunTestCmd() 270 strCommand.c_str(), cmdLen);
in RunTestCmd() 274 lenptr += cmdLen + 1;
in RunTestCmd() 356 * cmdLen : length of command
361 bool DistributeTest::RunCmdOnAgent(AGENT_NO devNo, const std::string &strCommand, int cmdLen,
in RunCmdOnAgent() argument 365 return g_pDistributetestEnv->RunTestCmd(devNo, strCommand, cmdLen, strExpectValue, expectValueLen,
in RunCmdOnAgent() 388 int cmdLen = strBuf.length() + 1;
in RunCmdOnAgent() local 390 return g_pDistributetestEnv->RunTestCmd(devNo, strBuf, cmdLen, strExpectValu in RunCmdOnAgent() 414 int cmdLen = strBuf.length() + 1; RunCmdOnAgent() local [all...] |
H A D | distributed_agent.h | 38 int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen);
51 virtual int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen,
|
H A D | distributed_major.h | 43 bool RunTestCmd(size_t devNo, const std::string &strCommand, int cmdLen, const std::string &strExpectValue,
79 bool RunCmdOnAgent(AGENT_NO devNo, const std::string &strCommand, int cmdLen,
|
/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/ |
H A D | distribute_demo_agent.cpp | 47 virtual int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen, 55 int ProcessByUseMap(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen, 100 int cmdLen, const std::string &strExpectValue, int expectValueLen) in OnProcessCmd() 107 return DistributedAgent::OnProcessCmd(strCommand, cmdLen, strExpectValue, expectValueLen); in OnProcessCmd() 99 OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen) OnProcessCmd() argument
|
Completed in 3 milliseconds