/Zephyr-Core-3.7.0/include/zephyr/shell/ |
D | shell.h | 207 const char *syntax; /*!< Command syntax strings. */ member 230 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument 232 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \ 233 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \ 235 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \ 236 UTIL_CAT(shell_cmd_, syntax) \ 238 .entry = &UTIL_CAT(_shell_, syntax) \ 261 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument 266 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ 270 static shell_cmd_handler dummy_##syntax##_handler __unused = \ [all …]
|
/Zephyr-Core-3.7.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_utils.h | 84 const struct shell_static_entry *root_cmd_find(const char *syntax);
|
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 …]
|
/Zephyr-Core-3.7.0/drivers/sensor/ |
D | sensor_shell.c | 741 entry->syntax = NULL; in channel_name_get() 755 entry->syntax = sensor_channel_name[i]; in channel_name_get() 767 entry->syntax = NULL; in attribute_name_get() 775 entry->syntax = sensor_attribute_name[i]; in attribute_name_get() 788 entry->syntax = NULL; in trigger_opt_get_for_stream() 795 entry->syntax = "incl"; in trigger_opt_get_for_stream() 798 entry->syntax = "drop"; in trigger_opt_get_for_stream() 801 entry->syntax = "nop"; in trigger_opt_get_for_stream() 813 entry->syntax = NULL; in trigger_name_get_for_stream() 821 entry->syntax = sensor_trigger_table[i].name; in trigger_name_get_for_stream() [all …]
|
/Zephyr-Core-3.7.0/tests/modules/nanopb/proto/ |
D | simple.proto | 7 syntax = "proto3";
|
D | complex.proto | 7 syntax = "proto3";
|
/Zephyr-Core-3.7.0/tests/modules/nanopb/proto/sub/ |
D | nested.proto | 7 syntax = "proto3";
|
/Zephyr-Core-3.7.0/samples/modules/nanopb/src/ |
D | simple.proto | 4 syntax = "proto3";
|
/Zephyr-Core-3.7.0/subsys/usb/device_next/ |
D | usbd_shell.c | 479 entry->syntax = NULL; in configuration_speed() 486 entry->syntax = sh_speed[i].name; in configuration_speed() 501 entry->syntax = NULL; in configuration_lookup() 508 entry->syntax = sh_configs[i].name; in configuration_lookup() 522 entry->syntax = NULL; in class_node_name_lookup() 531 entry->syntax = c_nd->c_data->name; in class_node_name_lookup() 544 entry->syntax = NULL; in device_context_lookup() 552 entry->syntax = ctx->name; in device_context_lookup()
|
/Zephyr-Core-3.7.0/doc/build/dts/ |
D | intro.rst | 18 intro-syntax-structure.rst
|
D | bindings.rst | 27 bindings-syntax.rst
|
/Zephyr-Core-3.7.0/subsys/logging/ |
D | log_cmds.c | 292 entry->syntax = log_source_name_get(Z_LOG_LOCAL_DOMAIN_ID, idx); in module_name_get() 301 entry->syntax = (idx < ARRAY_SIZE(severity_lvls_sorted)) ? in severity_lvl_get() 444 entry->syntax = NULL; in backend_name_get() 454 entry->syntax = backend->name; in backend_name_get() 456 entry->syntax = FRONTEND_STR; in backend_name_get()
|
/Zephyr-Core-3.7.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.7.0/subsys/net/lib/shell/ |
D | iface_dynamic.h | 74 entry->syntax = set_iface_index_buffer(idx); in iface_index_get()
|
/Zephyr-Core-3.7.0/subsys/llext/ |
D | shell.c | 81 entry->syntax = cmd.ext ? cmd.ext->name : NULL; in llext_name_get() 93 if (entry->syntax) { in llext_name_arg_get()
|
/Zephyr-Core-3.7.0/samples/modules/nanopb/ |
D | README.rst | 16 syntax = "proto3";
|
/Zephyr-Core-3.7.0/modules/ |
D | Kconfig.sysbuild | 13 # use the following syntax:
|
/Zephyr-Core-3.7.0/soc/nxp/lpc/lpc54xxx/gcc/ |
D | startup_LPC54114_cm4.S | 16 .syntax unified
|
/Zephyr-Core-3.7.0/samples/net/syslog_net/ |
D | Kconfig | 24 Following syntax is supported:
|
D | README.rst | 35 The following syntax is supported for the server address
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_shell.c | 82 entry->syntax = pin_syntax; in port_pin_get() 86 entry->syntax = pin_num; in port_pin_get() 91 entry->syntax = NULL; in port_pin_get() 502 entry->syntax = NULL; in device_name_get() 506 entry->syntax = gpio_list[idx].dev->name; in device_name_get()
|
/Zephyr-Core-3.7.0/drivers/usb_c/ppc/ |
D | shell.c | 111 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
|