Searched refs:cmdBufLen (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_m/components/shell/src/base/ |
D | shmsg.c | 117 UINT32 cmdBufLen = strlen(cmdBuf); in PreHandleCmdline() local 118 CHAR *shiftStr = (CHAR *)malloc(cmdBufLen + 1); in PreHandleCmdline() 124 (VOID)memset_s(shiftStr, cmdBufLen + 1, 0, cmdBufLen + 1); in PreHandleCmdline() 127 ret = OsCmdKeyShift(cmdBuf, shiftStr, cmdBufLen + 1); in PreHandleCmdline()
|
/kernel/liteos_a/apps/shell/src/ |
D | shmsg.c | 498 unsigned int cmdBufLen = strlen(cmdBuf); in PreHandleCmdline() local 499 char *shiftStr = (char *)malloc(cmdBufLen + 1); in PreHandleCmdline() 506 (void)memset_s(shiftStr, cmdBufLen + 1, 0, cmdBufLen + 1); in PreHandleCmdline() 509 ret = OsCmdKeyShift(cmdBuf, shiftStr, cmdBufLen + 1); in PreHandleCmdline()
|