Searched refs:curCmdLen (Results 1 – 1 of 1) sorted by relevance
236 size_t curCmdLen = g_supportedCmds[i].length(); variable237 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';