Home
last modified time | relevance | path

Searched refs:expectValueLen (Results 1 - 5 of 5) sorted by relevance

/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/
H A Ddistribute_demo_agent.cpp48 const std::string &strExpectValue, int expectValueLen);
51 int expectValueLen);
54 int expectValueLen);
56 const std::string &strExpectValue, int expectValueLen);
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
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_major.cpp245 const std::string &strExpectValue, int expectValueLen, in RunTestCmd()
258 size_t rlen = cmdLen + expectValueLen + DST_COMMAND_HEAD_LEN + sizeof(int) * HALF_BUF_LEN + HALF_BUF_LEN; in RunTestCmd()
275 *reinterpret_cast<int *>(pCmdTest->alignmentCmd + lenptr) = htons(expectValueLen); in RunTestCmd()
278 strExpectValue.c_str(), expectValueLen); in RunTestCmd()
282 lenptr += expectValueLen + 1; in RunTestCmd()
358 * expectValueLen: real length of return value
362 const std::string &strExpectValue, int expectValueLen) in RunCmdOnAgent()
365 return g_pDistributetestEnv->RunTestCmd(devNo, strCommand, cmdLen, strExpectValue, expectValueLen, in RunCmdOnAgent()
389 int expectValueLen = strExpectValue.length() + 1; in RunCmdOnAgent() local
390 return g_pDistributetestEnv->RunTestCmd(devNo, strBuf, cmdLen, strExpectValue, expectValueLen, in RunCmdOnAgent()
244 RunTestCmd(size_t devNo, const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen, std::function<bool(const std::string &, int)> onProcessReturn) RunTestCmd() argument
361 RunCmdOnAgent(AGENT_NO devNo, const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen) RunCmdOnAgent() argument
415 int expectValueLen = strExpectValue.length() + 1; RunCmdOnAgent() local
[all...]
H A Ddistributed_agent.h38 int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen);
52 const std::string &strExpectValue, int expectValueLen);
H A Ddistributed_major.h44 int expectValueLen, std::function<bool(const std::string &, int)> onProcessReturn);
80 const std::string &strExpectValue, int expectValueLen);
H A Ddistributed_agent.cpp328 const std::string &strExpectValue, int expectValueLen) in OnProcessCmd()
365 nresult = OnProcessCmd(alignmentCmd, cmdNo, szArgs, cmdLen - cmdNo, strExpectValue, expectValueLen); in OnProcessCmd()
370 int argsLen, const std::string &strExpectValue, int expectValueLen) in OnProcessCmd()
374 if (static_cast<int>(strExpectValue.size()) > expectValueLen || in OnProcessCmd()
327 OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen) OnProcessCmd() argument
369 OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen, const std::string &strExpectValue, int expectValueLen) OnProcessCmd() argument

Completed in 3 milliseconds