Lines Matching refs:_handler
292 static shell_cmd_handler dummy_##syntax##_handler __unused = \
399 #define SHELL_SUBCMD_COND_ADD(_flag, _parent, _syntax, _subcmd, _help, _handler, \ argument
407 _handler, _mand, _opt)\
409 (static shell_cmd_handler dummy_handler_##_syntax __unused = _handler;\
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
515 .handler = (shell_cmd_handler)((_expr) ? _handler : NULL), \
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)
562 #define Z_SHELL_CMD_DICT_HANDLER_CREATE(_data, _handler) \ argument
563 static int UTIL_CAT(UTIL_CAT(cmd_dict_, UTIL_CAT(_handler, _)), \
567 return _handler(sh, argc, argv, \
572 #define SHELL_CMD_DICT_CREATE(_data, _handler) \ argument
574 UTIL_CAT(UTIL_CAT(cmd_dict_, UTIL_CAT(_handler, _)), \
610 #define SHELL_SUBCMD_DICT_SET_CREATE(_name, _handler, ...) \ argument
612 _handler, __VA_ARGS__) \
614 FOR_EACH_FIXED_ARG(SHELL_CMD_DICT_CREATE, (,), _handler, __VA_ARGS__), \