/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 229 const char *syntax; /*!< Command syntax strings. */ member 252 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument 254 static const struct shell_static_entry UTIL_CAT(_shell_, syntax) = \ 255 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \ 257 UTIL_CAT(shell_cmd_, syntax), shell_root_cmds, \ 258 UTIL_CAT(shell_cmd_, syntax) \ 260 .entry = &UTIL_CAT(_shell_, syntax) \ 283 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument 288 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ 292 static shell_cmd_handler dummy_##syntax##_handler __unused = \ [all …]
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 746 entry->syntax = NULL; in channel_name_get() 760 entry->syntax = sensor_channel_name[i]; in channel_name_get() 772 entry->syntax = NULL; in attribute_name_get() 780 entry->syntax = sensor_attribute_name[i]; in attribute_name_get() 793 entry->syntax = NULL; in trigger_opt_get_for_stream() 800 entry->syntax = "incl"; in trigger_opt_get_for_stream() 803 entry->syntax = "drop"; in trigger_opt_get_for_stream() 806 entry->syntax = "nop"; in trigger_opt_get_for_stream() 818 entry->syntax = NULL; in trigger_name_get_for_stream() 826 entry->syntax = sensor_trigger_table[i].name; in trigger_name_get_for_stream() [all …]
|
/Zephyr-latest/drivers/stepper/ |
D | stepper_shell.c | 95 entry->syntax = stepper_direction_map[idx].name; in cmd_stepper_direction() 97 entry->syntax = NULL; in cmd_stepper_direction() 109 entry->syntax = stepper_microstep_map[idx].name; in cmd_stepper_microstep() 111 entry->syntax = NULL; in cmd_stepper_microstep() 124 entry->syntax = (dev != NULL) ? dev->name : NULL; in cmd_pos_stepper_motor_name() 137 entry->syntax = dev->name; in cmd_pos_stepper_motor_name_dir() 139 entry->syntax = NULL; in cmd_pos_stepper_motor_name_dir() 153 entry->syntax = dev->name; in cmd_pos_stepper_motor_name_microstep() 155 entry->syntax = NULL; in cmd_pos_stepper_motor_name_microstep()
|
/Zephyr-latest/subsys/shell/ |
D | shell_help.c | 163 longest = Z_MAX(longest, z_shell_strlen(entry->syntax)); in z_shell_help_subcmd_print() 179 help_item_print(sh, entry->syntax, longest, entry->help); in z_shell_help_subcmd_print() 189 field_width = z_shell_strlen(cmd->syntax) + z_shell_strlen(cmd_sep); in z_shell_help_cmd_print() 191 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", cmd->syntax, cmd_sep); 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 | 84 sh->ctx->active_cmd.syntax); in cmd_precheck() 341 is_candidate = is_completion_candidate(candidate->syntax, in find_completion_candidates() 344 *longest = Z_MAX(strlen(candidate->syntax), *longest); in find_completion_candidates() 369 cmd_len = z_shell_strlen(match->syntax); in autocomplete() 384 match->syntax + arg_len, in autocomplete() 443 if (str && match->syntax && in tab_options_print() 444 !is_completion_candidate(match->syntax, str, str_len)) { in tab_options_print() 448 tab_item_print(sh, match->syntax, longest); in tab_options_print() 470 strncpy(sh->ctx->temp_buff, match->syntax, in common_beginning_find() 473 *str = match->syntax; in common_beginning_find() [all …]
|
/Zephyr-latest/tests/modules/nanopb/proto/ |
D | simple.proto | 7 syntax = "proto3";
|
D | complex.proto | 7 syntax = "proto3";
|
/Zephyr-latest/tests/modules/nanopb/proto/sub/ |
D | nested.proto | 7 syntax = "proto3";
|
/Zephyr-latest/samples/modules/nanopb/src/ |
D | simple.proto | 4 syntax = "proto3";
|
/Zephyr-latest/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-latest/doc/build/dts/ |
D | intro.rst | 18 intro-syntax-structure.rst
|
D | bindings.rst | 27 bindings-syntax.rst
|
/Zephyr-latest/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() 443 entry->syntax = NULL; in backend_name_get() 453 entry->syntax = backend->name; in backend_name_get() 455 entry->syntax = FRONTEND_STR; in backend_name_get()
|
/Zephyr-latest/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-latest/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-latest/subsys/net/lib/shell/ |
D | iface_dynamic.h | 74 entry->syntax = set_iface_index_buffer(idx); in iface_index_get()
|
/Zephyr-latest/soc/nxp/lpc/lpc54xxx/gcc/ |
D | startup_LPC54114_cm4.S | 16 .syntax unified
|
/Zephyr-latest/modules/ |
D | Kconfig.sysbuild | 13 # use the following syntax:
|
/Zephyr-latest/samples/modules/nanopb/ |
D | README.rst | 16 syntax = "proto3";
|
/Zephyr-latest/samples/net/syslog_net/ |
D | Kconfig | 24 Following syntax is supported:
|
/Zephyr-latest/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() 480 entry->syntax = NULL; in device_name_get() 484 entry->syntax = gpio_list[idx].dev->name; in device_name_get()
|
/Zephyr-latest/subsys/llext/ |
D | shell.c | 89 entry->syntax = cmd.ext ? cmd.ext->name : NULL; in llext_name_get() 101 if (entry->syntax) { in llext_name_arg_get()
|