Home
last modified time | relevance | path

Searched refs:expectValueLen (Results 1 – 6 of 6) sorted by relevance

/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/
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() argument
107 return DistributedAgent::OnProcessCmd(strCommand, cmdLen, strExpectValue, expectValueLen); in OnProcessCmd()
/test/testfwk/developer_test/aw/cxx/distributed/
Ddistributed_major.cpp245 const std::string &strExpectValue, int expectValueLen, in RunTestCmd() argument
258 …size_t rlen = cmdLen + expectValueLen + DST_COMMAND_HEAD_LEN + sizeof(int) * HALF_BUF_LEN + HALF_B… 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()
362 const std::string &strExpectValue, int expectValueLen) in RunCmdOnAgent() argument
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()
415 int expectValueLen = strExpectValue.length() + 1; in RunCmdOnAgent() local
[all …]
Ddistributed_agent.h38 …(const std::string &strCommand, int cmdLen, const std::string &strExpectValue, int expectValueLen);
52 const std::string &strExpectValue, int expectValueLen);
Ddistributed_major.h44 int expectValueLen, std::function<bool(const std::string &, int)> onProcessReturn);
80 const std::string &strExpectValue, int expectValueLen);
Ddistributed_agent.cpp328 const std::string &strExpectValue, int expectValueLen) in OnProcessCmd() argument
365 …result = OnProcessCmd(alignmentCmd, cmdNo, szArgs, cmdLen - cmdNo, strExpectValue, expectValueLen); in OnProcessCmd()
370 int argsLen, const std::string &strExpectValue, int expectValueLen) in OnProcessCmd() argument
374 if (static_cast<int>(strExpectValue.size()) > expectValueLen || in OnProcessCmd()
/test/xts/acts/multimedia/drm/drm_ndk_test/src/main/cpp/
Dhello.cpp406 size_t expectValueLen = 0; in Test_MediaKeySystem_GetConfigurationString() local
421 napi_get_value_string_utf8(env, args[4], nullptr, 0, &expectValueLen); in Test_MediaKeySystem_GetConfigurationString()
422 expectValue = new char[expectValueLen + 1]; in Test_MediaKeySystem_GetConfigurationString()
423 napi_get_value_string_utf8(env, args[4], expectValue, expectValueLen + 1, &expectValueLen); in Test_MediaKeySystem_GetConfigurationString()
450 … ret4 = (strncmp(outValue, expectValue,expectValueLen) == 0) ? DRM_ERR_OK : DRM_ERR_INVALID_VAL; in Test_MediaKeySystem_GetConfigurationString()