Home
last modified time | relevance | path

Searched refs:_syntax (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/shell/modules/kernel_service/
Dkernel_shell.h13 #define KERNEL_CMD_ARG_ADD(_syntax, _subcmd, _help, _handler, _mand, _opt) \ argument
14 SHELL_SUBCMD_ADD((kernel), _syntax, _subcmd, _help, _handler, _mand, _opt);
16 #define KERNEL_CMD_ADD(_syntax, _subcmd, _help, _handler) \ argument
17 KERNEL_CMD_ARG_ADD(_syntax, _subcmd, _help, _handler, 0, 0);
20 #define KERNEL_THREAD_CMD_ARG_ADD(_syntax, _subcmd, _help, _handler, _mand, _opt) \ argument
21 SHELL_SUBCMD_ADD((thread), _syntax, _subcmd, _help, _handler, _mand, _opt);
23 #define KERNEL_THREAD_CMD_ADD(_syntax, _subcmd, _help, _handler) \ argument
24 KERNEL_THREAD_CMD_ARG_ADD(_syntax, _subcmd, _help, _handler, 0, 0);
/Zephyr-latest/lib/posix/shell/
Dposix_shell.h13 #define POSIX_CMD_ADD(_syntax, _subcmd, _help, _handler, _mand, _opt) \ argument
14 SHELL_SUBCMD_ADD((posix), _syntax, _subcmd, _help, _handler, _mand, _opt);
/Zephyr-latest/include/zephyr/shell/
Dshell.h399 #define SHELL_SUBCMD_COND_ADD(_flag, _parent, _syntax, _subcmd, _help, _handler, \ argument
403 Z_SHELL_SUBCMD_NAME(__DEBRACKET _parent, _syntax), \
405 Z_SHELL_SUBCMD_ADD_SECTION_TAG(_parent, _syntax)) = \
406 SHELL_EXPR_CMD_ARG(1, _syntax, _subcmd, _help, \
409 (static shell_cmd_handler dummy_handler_##_syntax __unused = _handler;\
410 static const union shell_cmd_entry dummy_subcmd_##_syntax __unused = { \
428 #define SHELL_SUBCMD_ADD(_parent, _syntax, _subcmd, _help, _handler, _mand, _opt) \ argument
429 SHELL_SUBCMD_COND_ADD(1, _parent, _syntax, _subcmd, _help, _handler, _mand, _opt)
508 #define SHELL_EXPR_CMD_ARG(_expr, _syntax, _subcmd, _help, _handler, \ argument
511 .syntax = (_expr) ? (const char *)STRINGIFY(_syntax) : "", \
[all …]