Searched refs:cmdkey (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/shell/full/src/base/ |
D | shmsg.c | 52 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in ShellGetInputBuf() local 56 if ((cmdkey == NULL) || LOS_ListEmpty(&cmdkey->list)) { in ShellGetInputBuf() 61 cmdNode = LOS_DL_LIST_ENTRY(cmdkey->list.pstNext, CmdKeyLink, list); in ShellGetInputBuf() 71 CmdKeyLink *cmdkey = LOS_DL_LIST_ENTRY(string, CmdKeyLink, cmdString); in ShellSaveHistoryCmd() local 82 (VOID)LOS_MemFree(m_aucSysMem0, (VOID *)cmdkey); in ShellSaveHistoryCmd() 91 LOS_ListTailInsert(&(cmdHistory->list), &(cmdkey->list)); in ShellSaveHistoryCmd() 97 LOS_ListTailInsert(&(cmdHistory->list), &(cmdkey->list)); in ShellSaveHistoryCmd()
|
/kernel/liteos_a/apps/shell/src/ |
D | shmsg.c | 54 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in GetCmdline() local 58 if ((cmdkey == NULL) || SH_ListEmpty(&cmdkey->list)) { in GetCmdline() 63 cmdNode = SH_LIST_ENTRY(cmdkey->list.pstNext, CmdKeyLink, list); in GetCmdline() 83 CmdKeyLink *cmdkey = SH_LIST_ENTRY(string, CmdKeyLink, cmdString); in ShellSaveHistoryCmd() local 87 free(cmdkey); in ShellSaveHistoryCmd() 95 free((void *)cmdkey); in ShellSaveHistoryCmd() 104 SH_ListTailInsert(&(cmdHistory->list), &(cmdkey->list)); in ShellSaveHistoryCmd() 110 SH_ListTailInsert(&(cmdHistory->list), &(cmdkey->list)); in ShellSaveHistoryCmd()
|