Home
last modified time | relevance | path

Searched refs:shellCB (Results 1 - 11 of 11) sorted by relevance

/kernel/liteos_a/apps/shell/src/
H A Dshmsg.c52 char *GetCmdline(ShellCB *shellCB) in GetCmdline() argument
54 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in GetCmdline()
57 (void)pthread_mutex_lock(&shellCB->keyMutex); in GetCmdline()
59 (void)pthread_mutex_unlock(&shellCB->keyMutex); in GetCmdline()
65 (void)pthread_mutex_unlock(&shellCB->keyMutex); in GetCmdline()
70 (void)pthread_mutex_unlock(&shellCB->keyMutex); in GetCmdline()
80 static void ShellSaveHistoryCmd(char *string, ShellCB *shellCB) in ShellSaveHistoryCmd() argument
82 CmdKeyLink *cmdHistory = shellCB->cmdHistoryKeyLink; in ShellSaveHistoryCmd()
91 (void)pthread_mutex_lock(&shellCB->historyMutex); in ShellSaveHistoryCmd()
96 (void)pthread_mutex_unlock(&shellCB in ShellSaveHistoryCmd()
117 ShellPend(ShellCB *shellCB) ShellPend() argument
126 ShellNotify(ShellCB *shellCB) ShellNotify() argument
141 ShellCmdLineCheckUDRL(const char ch, ShellCB *shellCB) ShellCmdLineCheckUDRL() argument
178 ShellTaskNotify(ShellCB *shellCB) ShellTaskNotify() argument
192 ParseEnterKey(OutputFunc outputFunc, ShellCB *shellCB) ParseEnterKey() argument
212 ParseCancelKey(OutputFunc outputFunc, ShellCB *shellCB) ParseCancelKey() argument
227 ParseDeleteKey(OutputFunc outputFunc, ShellCB *shellCB) ParseDeleteKey() argument
240 ParseTabKey(OutputFunc outputFunc, ShellCB *shellCB) ParseTabKey() argument
256 ParseNormalChar(char ch, OutputFunc outputFunc, ShellCB *shellCB) ParseNormalChar() argument
271 ShellCmdLineParse(char c, OutputFunc outputFunc, ShellCB *shellCB) ShellCmdLineParse() argument
582 ShellCmdProcess(ShellCB *shellCB) ShellCmdProcess() argument
604 ShellCB *shellCB = (ShellCB *)argv; ShellTask() local
628 ShellTaskInit(ShellCB *shellCB) ShellTaskInit() argument
659 ShellEntry(ShellCB *shellCB) ShellEntry() argument
[all...]
H A Dmain.c52 static void ShellDeinit(ShellCB *shellCB) in ShellDeinit() argument
54 (void)pthread_mutex_destroy(&shellCB->historyMutex); in ShellDeinit()
55 (void)pthread_mutex_destroy(&shellCB->keyMutex); in ShellDeinit()
56 OsShellKeyDeInit((CmdKeyLink *)shellCB->cmdKeyLink); in ShellDeinit()
57 OsShellKeyDeInit((CmdKeyLink *)shellCB->cmdHistoryKeyLink); in ShellDeinit()
58 (void)free(shellCB); in ShellDeinit()
61 static int OsShellCreateTask(ShellCB *shellCB) in OsShellCreateTask() argument
78 ret = ShellTaskInit(shellCB); in OsShellCreateTask()
83 shellCB->shellEntryHandle = pthread_self(); in OsShellCreateTask()
134 ShellCB *shellCB in main() local
[all...]
/kernel/liteos_a/shell/full/src/base/
H A Dshmsg.c50 CHAR *ShellGetInputBuf(ShellCB *shellCB) in ShellGetInputBuf() argument
52 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in ShellGetInputBuf()
55 (VOID)pthread_mutex_lock(&shellCB->keyMutex); in ShellGetInputBuf()
57 (VOID)pthread_mutex_unlock(&shellCB->keyMutex); in ShellGetInputBuf()
63 (VOID)pthread_mutex_unlock(&shellCB->keyMutex); in ShellGetInputBuf()
68 STATIC VOID ShellSaveHistoryCmd(const CHAR *string, ShellCB *shellCB) in ShellSaveHistoryCmd() argument
70 CmdKeyLink *cmdHistory = shellCB->cmdHistoryKeyLink; in ShellSaveHistoryCmd()
78 (VOID)pthread_mutex_lock(&shellCB->historyMutex); in ShellSaveHistoryCmd()
83 (VOID)pthread_mutex_unlock(&shellCB->historyMutex); in ShellSaveHistoryCmd()
93 (VOID)pthread_mutex_unlock(&shellCB in ShellSaveHistoryCmd()
104 ShellNotify(ShellCB *shellCB) ShellNotify() argument
115 ShellCmdLineCheckUDRL(const CHAR ch, ShellCB *shellCB) ShellCmdLineCheckUDRL() argument
152 ShellCmdLineParse(CHAR c, pf_OUTPUT outputFunc, ShellCB *shellCB) ShellCmdLineParse() argument
333 ShellCB *shellCB = (ShellCB *)param; ShellEntry() local
362 ShellCmdProcess(ShellCB *shellCB) ShellCmdProcess() argument
382 ShellCB *shellCB = (ShellCB *)param1; ShellTask() local
409 ShellTaskInit(ShellCB *shellCB) ShellTaskInit() argument
434 ShellEntryInit(ShellCB *shellCB) ShellEntryInit() argument
[all...]
H A Dshow.c50 STATIC UINT32 OsShellCreateTask(ShellCB *shellCB) in OsShellCreateTask() argument
52 UINT32 ret = ShellTaskInit(shellCB); in OsShellCreateTask()
57 return ShellEntryInit(shellCB); in OsShellCreateTask()
71 ShellCB *shellCB = (ShellCB *)consoleCB->shellHandle; local
72 if (memset_s(shellCB, sizeof(ShellCB), 0, sizeof(ShellCB)) != EOK) {
76 shellCB->consoleID = (UINT32)consoleId;
77 ret = (UINT32)pthread_mutex_init(&shellCB->keyMutex, NULL);
81 ret = (UINT32)pthread_mutex_init(&shellCB->historyMutex, NULL);
86 ret = OsShellKeyInit(shellCB);
90 if (strncpy_s(shellCB
140 ShellCB *shellCB = NULL; global() local
164 ShellCB *shellCB = NULL; global() local
[all...]
/kernel/liteos_a/shell/full/include/
H A Dshmsg.h46 extern UINT32 ShellTaskInit(ShellCB *shellCB);
47 extern UINT32 ShellEntryInit(ShellCB *shellCB);
48 extern VOID ShellCmdLineParse(CHAR c, pf_OUTPUT outputFunc, ShellCB *shellCB);
H A Dshcmd.h97 extern VOID OsShellHistoryShow(UINT32 value, ShellCB *shellCB);
98 extern UINT32 OsShellKeyInit(ShellCB *shellCB);
/kernel/liteos_a/apps/shell/include/
H A Dshmsg.h64 extern int ShellTaskInit(ShellCB *shellCB);
66 extern void ShellCmdLineParse(char c, OutputFunc outputFunc, ShellCB *shellCB);
67 extern int ShellNotify(ShellCB *shellCB);
H A Dshcmd.h62 extern void OsShellHistoryShow(unsigned int value, ShellCB *shellCB);
63 extern unsigned int OsShellKeyInit(ShellCB *shellCB);
H A Dshow.h47 extern int OsShellDeinit(ShellCB *shellCB);
H A Dshell_pri.h43 extern void ShellEntry(ShellCB *shellCB);
/kernel/liteos_m/components/shell/include/
H A Dshcmd.h90 extern UINT32 OsShellKeyInit(ShellCB *shellCB);

Completed in 4 milliseconds