Home
last modified time | relevance | path

Searched refs:keyHandle (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/test/unittest/param/
Dparam_shell_unittest.cpp73 int ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
79 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
85 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
92 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
99 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
105 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
111 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd()
123 int ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd1()
129 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd1()
135 ret = key->keyHandle(bshd, '\n'); in TestParamShellCmd1()
[all …]
/base/startup/init/services/begetctl/shell/
Dshell_bas.h76 BShellkeyHandle keyHandle; member
91 BShellKey *keyHandle; member
Dshell_bas.c356 key->keyHandle(shell, (uint8_t)data); in BShellEnvProcessInput()
361 key->keyHandle(shell, (uint8_t)data); in BShellEnvProcessInput()
423 shell->keyHandle = NULL; in BShellEnvInit()
494 BShellKey *key = shell->keyHandle; in BShellEnvDestory()
496 shell->keyHandle = key->next; in BShellEnvDestory()
498 key = shell->keyHandle; in BShellEnvDestory()
613 int32_t BShellEnvRegisterKeyHandle(BShellHandle handle, uint8_t code, BShellkeyHandle keyHandle) in BShellEnvRegisterKeyHandle() argument
616 BSH_CHECK(keyHandle != NULL, return BSH_INVALID_PARAM, "Invalid cmd name"); in BShellEnvRegisterKeyHandle()
622 key->keyHandle = keyHandle; in BShellEnvRegisterKeyHandle()
623 key->next = shell->keyHandle; in BShellEnvRegisterKeyHandle()
[all …]
Dshell.h99 int BShellEnvRegisterKeyHandle(BShellHandle handle, uint8_t code, BShellkeyHandle keyHandle);