| /Zephyr-4.2.1/include/zephyr/shell/ |
| D | shell.h | 284 const char *syntax; /*!< Command syntax strings. */ member 384 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument 386 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \ 387 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \ 389 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \ 390 UTIL_CAT(shell_cmd_, syntax) \ 392 .entry = &UTIL_CAT(_shell_, syntax) \ 415 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument 420 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ 424 static shell_cmd_handler dummy_##syntax##_handler __unused = \ [all …]
|
| /Zephyr-4.2.1/subsys/shell/ |
| D | shell_help.c | 190 longest = max(longest, z_shell_strlen(entry->syntax)); in z_shell_help_subcmd_print() 206 help_item_print(sh, entry->syntax, longest, entry->help); in z_shell_help_subcmd_print() 216 field_width = z_shell_strlen(cmd->syntax) + z_shell_strlen(cmd_sep); in z_shell_help_cmd_print() 218 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", cmd->syntax, cmd_sep); in z_shell_help_cmd_print() 221 formatted_structured_help_print(sh, cmd->syntax, cmd->help, field_width); in z_shell_help_cmd_print()
|
| D | shell_wildcard.c | 81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand() 84 entry->syntax, pattern); in commands_expand()
|
| 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_utils.h | 84 const struct shell_static_entry *root_cmd_find(const char *syntax);
|
| D | shell.c | 89 sh->ctx->active_cmd.syntax); in cmd_precheck() 337 is_candidate = is_completion_candidate(candidate->syntax, in find_completion_candidates() 340 *longest = max(strlen(candidate->syntax), *longest); in find_completion_candidates() 365 cmd_len = z_shell_strlen(match->syntax); in autocomplete() 380 match->syntax + arg_len, in autocomplete() 439 if (str && match->syntax && in tab_options_print() 440 !is_completion_candidate(match->syntax, str, str_len)) { in tab_options_print() 444 tab_item_print(sh, match->syntax, longest); in tab_options_print() 466 strncpy(sh->ctx->temp_buff, match->syntax, in common_beginning_find() 469 *str = match->syntax; in common_beginning_find() [all …]
|
| /Zephyr-4.2.1/drivers/sensor/ |
| D | sensor_shell.c | 745 entry->syntax = NULL; in channel_name_get() 759 entry->syntax = sensor_channel_name[i]; in channel_name_get() 771 entry->syntax = NULL; in attribute_name_get() 779 entry->syntax = sensor_attribute_name[i]; in attribute_name_get() 792 entry->syntax = NULL; in trigger_opt_get_for_stream() 799 entry->syntax = "incl"; in trigger_opt_get_for_stream() 802 entry->syntax = "drop"; in trigger_opt_get_for_stream() 805 entry->syntax = "nop"; in trigger_opt_get_for_stream() 817 entry->syntax = NULL; in trigger_name_get_for_stream() 825 entry->syntax = sensor_trigger_table[i].name; in trigger_name_get_for_stream() [all …]
|
| /Zephyr-4.2.1/drivers/video/ |
| D | video_shell.c | 305 entry->syntax = NULL; in complete_video_dev() 312 entry->syntax = dev->name; in complete_video_dev() 439 entry->syntax = NULL; in complete_video_frmival_dev() 446 entry->syntax = dev->name; in complete_video_frmival_dev() 793 static const char *const syntax[] = {"on", "off"}; in complete_video_ctrl_boolean() local 798 entry->syntax = NULL; in complete_video_ctrl_boolean() 800 if (idx >= ARRAY_SIZE(syntax)) { in complete_video_ctrl_boolean() 804 entry->syntax = syntax[idx]; in complete_video_ctrl_boolean() 817 entry->syntax = NULL; in complete_video_ctrl_menu_name() 836 entry->syntax = video_shell_menu_name; in complete_video_ctrl_menu_name() [all …]
|
| /Zephyr-4.2.1/tests/modules/nanopb/proto/ |
| D | simple.proto | 7 syntax = "proto3";
|
| D | complex.proto | 7 syntax = "proto3";
|
| /Zephyr-4.2.1/drivers/stepper/ |
| D | stepper_shell.c | 125 entry->syntax = stepper_direction_map[idx].name; in cmd_stepper_direction() 127 entry->syntax = NULL; in cmd_stepper_direction() 139 entry->syntax = stepper_microstep_map[idx].name; in cmd_stepper_microstep() 141 entry->syntax = NULL; in cmd_stepper_microstep() 154 entry->syntax = (dev != NULL) ? dev->name : NULL; in cmd_pos_stepper_motor_name() 166 entry->syntax = (dev != NULL) ? dev->name : NULL; in cmd_pos_stepper_controller_name() 179 entry->syntax = dev->name; in cmd_pos_stepper_controller_name_dir() 181 entry->syntax = NULL; in cmd_pos_stepper_controller_name_dir() 195 entry->syntax = dev->name; in cmd_pos_stepper_motor_name_microstep() 197 entry->syntax = NULL; in cmd_pos_stepper_motor_name_microstep()
|
| /Zephyr-4.2.1/tests/modules/nanopb/proto/sub/ |
| D | nested.proto | 7 syntax = "proto3";
|
| /Zephyr-4.2.1/samples/modules/nanopb/src/ |
| D | simple.proto | 4 syntax = "proto3";
|
| /Zephyr-4.2.1/drivers/spi/ |
| D | spi_shell.c | 236 entry->syntax = (dev != NULL) ? dev->name : NULL; in get_gpio_device_name() 248 entry->syntax = NULL; in get_spi_shell_device_name_and_set_gpio_dsub() 252 entry->syntax = maps[idx].label; in get_spi_shell_device_name_and_set_gpio_dsub() 264 entry->syntax = NULL; in get_spi_shell_device_name() 268 entry->syntax = maps[idx].label; in get_spi_shell_device_name()
|
| /Zephyr-4.2.1/subsys/usb/device_next/ |
| D | usbd_shell.c | 482 entry->syntax = NULL; in configuration_speed() 489 entry->syntax = sh_speed[i].name; in configuration_speed() 504 entry->syntax = NULL; in configuration_lookup() 511 entry->syntax = sh_configs[i].name; in configuration_lookup() 525 entry->syntax = NULL; in class_node_name_lookup() 534 entry->syntax = c_nd->c_data->name; in class_node_name_lookup() 547 entry->syntax = NULL; in device_context_lookup() 555 entry->syntax = ctx->name; in device_context_lookup()
|
| /Zephyr-4.2.1/doc/build/dts/ |
| D | intro.rst | 18 intro-syntax-structure.rst
|
| /Zephyr-4.2.1/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-4.2.1/subsys/logging/ |
| D | log_cmds.c | 291 entry->syntax = log_source_name_get(Z_LOG_LOCAL_DOMAIN_ID, idx); in module_name_get() 300 entry->syntax = (idx < ARRAY_SIZE(severity_lvls_sorted)) ? in severity_lvl_get() 455 entry->syntax = NULL; in backend_name_get() 465 entry->syntax = backend->name; in backend_name_get() 467 entry->syntax = FRONTEND_STR; in backend_name_get()
|
| /Zephyr-4.2.1/drivers/comparator/ |
| D | comparator_shell.c | 226 entry->syntax = (idx < ARRAY_SIZE(trigger_lookup)) ? trigger_lookup[idx] : NULL; in dsub_set_trigger_lookup_1() 238 entry->syntax = dev != NULL ? dev->name : NULL; in dsub_set_trigger_lookup_0() 250 entry->syntax = (dev != NULL) ? dev->name : NULL; in dsub_device_lookup_0()
|
| /Zephyr-4.2.1/soc/nxp/lpc/lpc54xxx/gcc/ |
| D | startup_LPC54114_cm4.S | 16 .syntax unified
|
| /Zephyr-4.2.1/drivers/haptics/ |
| D | haptics_shell.c | 68 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
|
| /Zephyr-4.2.1/modules/ |
| D | Kconfig.sysbuild | 13 # use the following syntax:
|
| /Zephyr-4.2.1/subsys/net/lib/shell/ |
| D | iface_dynamic.h | 86 entry->syntax = set_iface_index_buffer(idx); in iface_index_get()
|
| /Zephyr-4.2.1/samples/modules/nanopb/ |
| D | README.rst | 16 syntax = "proto3";
|
| /Zephyr-4.2.1/samples/net/syslog_net/ |
| D | Kconfig | 24 Following syntax is supported:
|