Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/test/unittest/lite/
H A Dcmd_func_test.cpp236 size_t curCmdLen = g_supportedCmds[i].length(); variable
237 char *curCmd = (char *)malloc(curCmdLen + MAX_CMD_CONTENT_LEN + 10);
241 errno_t ret = memcpy_s(curCmd, curCmdLen + MAX_CMD_CONTENT_LEN + 10, \
242 g_supportedCmds[i].c_str(), curCmdLen);
243 errno_t ret2 = memcpy_s(curCmd + curCmdLen, MAX_CMD_CONTENT_LEN + 10, \
250 curCmd[curCmdLen + MAX_CMD_CONTENT_LEN + 9] = '\0';