Home
last modified time | relevance | path

Searched full:syntax (Results 1 – 25 of 133) sorted by relevance

123456

/Zephyr-Core-3.5.0/include/zephyr/shell/
Dshell.h84 * returned commands: entry->syntax are sorted in alphabetical order.
86 * write to entry->syntax NULL value. This will indicate to the shell
173 const char *syntax; /*!< Command syntax strings. */ member
185 * @note Each root command shall have unique syntax. If a command will be called
189 * @param[in] syntax Command syntax (for example: history).
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) \
[all …]
/Zephyr-Core-3.5.0/subsys/llext/
Dshell.c21 "Load an elf file encoded in hex directly from the shell input. Syntax:\n" \
25 "Unload an extension by name. Syntax:\n" \
29 "List extension symbols. Syntax:\n" \
33 "Call extension function with prototype void fn(void). Syntax:\n" \
60 entry->syntax = NULL; in llext_name_get()
72 entry->syntax = ext->name; in llext_name_get()
74 entry->syntax = NULL; in llext_name_get()
/Zephyr-Core-3.5.0/drivers/watchdog/
Dwdt_shell.c12 "Set up watchdog instance. Syntax:\n" \
16 "Disable watchdog instance. Syntax:\n" \
20 "Install a new timeout. Syntax:\n" \
24 "Feed specified watchdog timeout. Syntax:\n" \
168 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
/Zephyr-Core-3.5.0/samples/modules/nanopb/src/
Dsimple.proto4 syntax = "proto3";
/Zephyr-Core-3.5.0/tests/modules/nanopb/proto/
Dsimple.proto7 syntax = "proto3";
Dcomplex.proto7 syntax = "proto3";
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dmixins.py1 # vim: set syntax=python ts=4 :
Derror.py1 # vim: set syntax=python ts=4 :
/Zephyr-Core-3.5.0/samples/subsys/llext/shell_loader/
DREADME.rst43 Syntax:
45 unload :Unload an extension by name. Syntax:
47 list_symbols :List extension symbols. Syntax:
49 call_fn :Call extension function with prototype void fn(void). Syntax:
/Zephyr-Core-3.5.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.c269 /* Function returning pointer to parent command matching requested syntax. */
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()
/Zephyr-Core-3.5.0/tests/modules/nanopb/proto/sub/
Dnested.proto7 syntax = "proto3";
/Zephyr-Core-3.5.0/drivers/sensor/
Dsensor_shell.c23 "when no channels are provided. Syntax:\n" \
27 "Get the sensor's channel attribute. Syntax:\n" \
527 entry->syntax = NULL; in attribute_name_get()
535 entry->syntax = sensor_attribute_name[i]; in attribute_name_get()
548 entry->syntax = NULL; in channel_name_get()
562 entry->syntax = sensor_channel_name[i]; in channel_name_get()
579 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
590 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get_for_attr()
601 entry->syntax = NULL; in trigger_name_get()
609 entry->syntax = sensor_trigger_table[i].name; in trigger_name_get()
[all …]
/Zephyr-Core-3.5.0/doc/build/dts/
Dintro.rst18 intro-syntax-structure.rst
Dbindings.rst27 bindings-syntax.rst
/Zephyr-Core-3.5.0/samples/drivers/lcd_cyclonev_socdk/src/
Dcommands.h27 /* Syntax prefix LD_CUSTOM_CHAR [addr] [d0 …d7]
49 /* Syntax prefix CHGE_RS232_BAUD [param]
/Zephyr-Core-3.5.0/dts/bindings/dma/
Dst,stm32-dmamux.yaml75 # Parameter syntax of stm32 follows the dma client dts syntax
Dst,stm32-bdma.yaml91 # Parameter syntax of stm32 follows the dma client dts syntax
Dst,stm32-dma-v2bis.yaml79 # Parameter syntax of stm32 follows the dma client dts syntax
Dst,stm32-dma-v1.yaml81 # Parameter syntax of stm32 follows the dma client dts syntax
Darm,dma-pl330.yaml39 # Parameter syntax
/Zephyr-Core-3.5.0/samples/subsys/shell/shell_module/src/
Ddynamic_cmd.c147 entry->syntax = dynamic_cmd_buffer[idx]; in dynamic_cmd_get()
152 /* if there are no more dynamic commands available syntax in dynamic_cmd_get()
155 entry->syntax = NULL; in dynamic_cmd_get()
/Zephyr-Core-3.5.0/doc/build/kconfig/
Dextensions.rst18 The recommended syntax for referencing environment variables is ``$(FOO)``
21 The ``$FOO`` syntax for expanding environment variables is only supported for
/Zephyr-Core-3.5.0/samples/net/syslog_net/
DKconfig24 Following syntax is supported:
/Zephyr-Core-3.5.0/doc/services/shell/
Dindex.rst85 * 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 …]

123456