Home
last modified time | relevance | path

Searched refs:syntax (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-Core-3.7.0/include/zephyr/shell/
Dshell.h207 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/
Dshell_help.c162 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()
Dshell_utils.c270 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()
Dshell_wildcard.c81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand()
84 entry->syntax, pattern); in commands_expand()
Dshell_utils.h84 const struct shell_static_entry *root_cmd_find(const char *syntax);
Dshell.c84 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/
Dsensor_shell.c741 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/
Dsimple.proto7 syntax = "proto3";
Dcomplex.proto7 syntax = "proto3";
/Zephyr-Core-3.7.0/tests/modules/nanopb/proto/sub/
Dnested.proto7 syntax = "proto3";
/Zephyr-Core-3.7.0/samples/modules/nanopb/src/
Dsimple.proto4 syntax = "proto3";
/Zephyr-Core-3.7.0/subsys/usb/device_next/
Dusbd_shell.c479 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/
Dintro.rst18 intro-syntax-structure.rst
Dbindings.rst27 bindings-syntax.rst
/Zephyr-Core-3.7.0/subsys/logging/
Dlog_cmds.c292 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/
Ddynamic_cmd.c147 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/
Diface_dynamic.h74 entry->syntax = set_iface_index_buffer(idx); in iface_index_get()
/Zephyr-Core-3.7.0/subsys/llext/
Dshell.c81 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/
DREADME.rst16 syntax = "proto3";
/Zephyr-Core-3.7.0/modules/
DKconfig.sysbuild13 # use the following syntax:
/Zephyr-Core-3.7.0/soc/nxp/lpc/lpc54xxx/gcc/
Dstartup_LPC54114_cm4.S16 .syntax unified
/Zephyr-Core-3.7.0/samples/net/syslog_net/
DKconfig24 Following syntax is supported:
DREADME.rst35 The following syntax is supported for the server address
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_shell.c82 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/
Dshell.c111 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()

1234