Searched refs:newMsg (Results 1 – 1 of 1) sorted by relevance
280 CHAR *newMsg = NULL; in ShellMsgParse() local292 newMsg = (CHAR *)LOS_MemAlloc(m_aucSysMem0, newLen); in ShellMsgParse()293 if (newMsg == NULL) { in ShellMsgParse()297 (VOID)memcpy_s(newMsg, newLen, cmd, cmdLen); in ShellMsgParse()298 newMsg[cmdLen] = ' '; in ShellMsgParse()299 (VOID)memcpy_s(newMsg + cmdLen + 1, newLen - cmdLen - 1, (CHAR *)msg + 1, len); in ShellMsgParse()300 msg = newMsg; in ShellMsgParse()322 if (newMsg != NULL) { in ShellMsgParse()323 (VOID)LOS_MemFree(m_aucSysMem0, newMsg); in ShellMsgParse()