/Zephyr-Core-3.4.0/include/zephyr/shell/ |
D | shell.h | 173 const char *syntax; /*!< Command syntax strings. */ member 196 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument 198 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \ 199 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \ 201 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \ 202 UTIL_CAT(shell_cmd_, syntax) \ 204 .entry = &UTIL_CAT(_shell_, syntax) \ 227 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument 232 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ 236 static shell_cmd_handler dummy_##syntax##_handler __unused = \ [all …]
|
/Zephyr-Core-3.4.0/subsys/shell/ |
D | shell_help.c | 162 longest = Z_MAX(longest, z_shell_strlen(entry->syntax)); in z_shell_help_subcmd_print() 178 help_item_print(sh, entry->syntax, longest, entry->help); in z_shell_help_subcmd_print() 188 field_width = z_shell_strlen(cmd->syntax) + z_shell_strlen(cmd_sep); in z_shell_help_cmd_print() 190 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", cmd->syntax, cmd_sep); in z_shell_help_cmd_print()
|
D | shell_utils.c | 270 const struct shell_static_entry *root_cmd_find(const char *syntax) in root_cmd_find() argument 277 if (strcmp(syntax, cmd->entry->syntax) == 0) { in root_cmd_find() 302 if (dloc->syntax != NULL) { in z_shell_cmd_get() 318 if (entry_list[idx].syntax != NULL) { in z_shell_cmd_get() 358 if (strcmp(cmd_str, entry->syntax) == 0) { in z_shell_find_cmd()
|
D | shell_wildcard.c | 81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand() 84 entry->syntax, pattern); in commands_expand()
|
D | shell.c | 84 sh->ctx->active_cmd.syntax); in cmd_precheck() 340 is_candidate = is_completion_candidate(candidate->syntax, in find_completion_candidates() 343 *longest = Z_MAX(strlen(candidate->syntax), *longest); in find_completion_candidates() 368 cmd_len = z_shell_strlen(match->syntax); in autocomplete() 383 match->syntax + arg_len, in autocomplete() 442 if (str && match->syntax && in tab_options_print() 443 !is_completion_candidate(match->syntax, str, str_len)) { in tab_options_print() 447 tab_item_print(sh, match->syntax, longest); in tab_options_print() 469 strncpy(sh->ctx->temp_buff, match->syntax, in common_beginning_find() 472 *str = match->syntax; in common_beginning_find() [all …]
|
D | shell_utils.h | 84 const struct shell_static_entry *root_cmd_find(const char *syntax);
|
/Zephyr-Core-3.4.0/drivers/sensor/ |
D | sensor_shell.c | 473 entry->syntax = NULL; in attribute_name_get() 481 entry->syntax = sensor_attribute_name[i]; in attribute_name_get() 494 entry->syntax = NULL; in channel_name_get() 508 entry->syntax = sensor_channel_name[i]; in channel_name_get() 525 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get() 536 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get_for_attr() 547 entry->syntax = NULL; in trigger_name_get() 555 entry->syntax = sensor_trigger_table[i].name; in trigger_name_get() 573 entry->syntax = "on"; in trigger_on_off_get() 576 entry->syntax = "off"; in trigger_on_off_get() [all …]
|
/Zephyr-Core-3.4.0/samples/modules/nanopb/src/ |
D | simple.proto | 4 syntax = "proto3";
|
/Zephyr-Core-3.4.0/doc/build/dts/ |
D | intro.rst | 18 intro-syntax-structure.rst
|
D | bindings.rst | 27 bindings-syntax.rst
|
D | bindings-intro.rst | 8 For a detailed syntax reference, see :ref:`dt-bindings-file-syntax`.
|
/Zephyr-Core-3.4.0/samples/subsys/shell/shell_module/src/ |
D | dynamic_cmd.c | 147 entry->syntax = dynamic_cmd_buffer[idx]; in dynamic_cmd_get() 155 entry->syntax = NULL; in dynamic_cmd_get()
|
/Zephyr-Core-3.4.0/subsys/logging/ |
D | log_cmds.c | 273 entry->syntax = log_source_name_get(Z_LOG_LOCAL_DOMAIN_ID, idx); in module_name_get() 282 entry->syntax = (idx < ARRAY_SIZE(severity_lvls_sorted)) ? in severity_lvl_get() 408 entry->syntax = NULL; in backend_name_get() 417 entry->syntax = backend->name; in backend_name_get()
|
/Zephyr-Core-3.4.0/subsys/usb/device_next/ |
D | usbd_shell.c | 422 entry->syntax = NULL; in class_node_name_lookup() 430 entry->syntax = node->name; in class_node_name_lookup() 443 entry->syntax = NULL; in device_context_lookup() 451 entry->syntax = ctx->name; in device_context_lookup()
|
/Zephyr-Core-3.4.0/soc/arm/nxp_lpc/lpc54xxx/gcc/ |
D | startup_LPC54114_cm4.S | 16 .syntax unified
|
/Zephyr-Core-3.4.0/modules/ |
D | Kconfig.sysbuild | 13 # use the following syntax:
|
/Zephyr-Core-3.4.0/samples/net/syslog_net/ |
D | README.rst | 34 The following syntax is supported for the server address
|
/Zephyr-Core-3.4.0/doc/build/kconfig/ |
D | extensions.rst | 18 The recommended syntax for referencing environment variables is ``$(FOO)`` 21 The ``$FOO`` syntax for expanding environment variables is only supported for
|
/Zephyr-Core-3.4.0/doc/services/shell/ |
D | index.rst | 85 * Static subcommand (level > 0): Number and syntax must be known during compile 87 * Dynamic subcommand (level > 0): Number and syntax does not need to be known 154 The idea is to use the string as a command syntax that can be prompted by the 171 /* data is a value corresponding to called command syntax */ 228 entry->syntax = dynamic_cmd_buffer[idx]; 234 * syntax must be set to NULL. 236 entry->syntax = NULL; 387 /* If it is a subcommand handler parent command syntax 393 /* Print this command syntax */ 394 shell_print(sh, "This command syntax is: %s", argv[0]); [all …]
|
/Zephyr-Core-3.4.0/tests/subsys/shell/shell/src/ |
D | main.c | 261 entry->syntax = dynamic_cmd_buffer[idx]; in dynamic_cmd_get() 269 entry->syntax = NULL; in dynamic_cmd_get()
|
/Zephyr-Core-3.4.0/drivers/bbram/ |
D | bbram_shell.c | 180 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
|
/Zephyr-Core-3.4.0/doc/connectivity/networking/ |
D | armfvp_user_networking_setup.rst | 50 * If setup fails, or the parameter syntax is incorrect, there is no error
|
/Zephyr-Core-3.4.0/subsys/logging/backends/ |
D | Kconfig.net | 23 Following syntax is supported:
|
/Zephyr-Core-3.4.0/drivers/adc/ |
D | adc_shell.c | 415 entry->syntax = adc_list[idx].dev->name; in cmd_adc_dev_get() 420 entry->syntax = NULL; in cmd_adc_dev_get()
|
/Zephyr-Core-3.4.0/drivers/can/ |
D | can_shell.c | 871 entry->syntax = (dev != NULL) ? dev->name : NULL; in cmd_can_device_name() 886 entry->syntax = can_shell_mode_map[idx].name; in cmd_can_mode() 889 entry->syntax = NULL; in cmd_can_mode() 901 entry->syntax = (dev != NULL) ? dev->name : NULL; in cmd_can_device_name_mode()
|