Lines Matching refs:_syntax
399 #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) : "", \
527 #define SHELL_CMD(_syntax, _subcmd, _help, _handler) \ argument
528 SHELL_CMD_ARG(_syntax, _subcmd, _help, _handler, 0, 0)
542 #define SHELL_COND_CMD(_flag, _syntax, _subcmd, _help, _handler) \ argument
543 SHELL_COND_CMD_ARG(_flag, _syntax, _subcmd, _help, _handler, 0, 0)
558 #define SHELL_EXPR_CMD(_expr, _syntax, _subcmd, _help, _handler) \ argument
559 SHELL_EXPR_CMD_ARG(_expr, _syntax, _subcmd, _help, _handler, 0, 0)