Home
last modified time | relevance | path

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

/subsys/shell/
A Dshell_help.c190 longest = Z_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()
A 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()
A Dshell_wildcard.c81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand()
84 entry->syntax, pattern); in commands_expand()
A Dshell.c89 sh->ctx->active_cmd.syntax); in cmd_precheck()
346 is_candidate = is_completion_candidate(candidate->syntax, in find_completion_candidates()
349 *longest = Z_MAX(strlen(candidate->syntax), *longest); in find_completion_candidates()
374 cmd_len = z_shell_strlen(match->syntax); in autocomplete()
389 match->syntax + arg_len, in autocomplete()
448 if (str && match->syntax && in tab_options_print()
453 tab_item_print(sh, match->syntax, longest); in tab_options_print()
475 strncpy(sh->ctx->temp_buff, match->syntax, in common_beginning_find()
478 *str = match->syntax; in common_beginning_find()
667 argv[0] = parent->syntax; in execute()
[all …]
A Dshell_utils.h84 const struct shell_static_entry *root_cmd_find(const char *syntax);
/subsys/usb/device_next/
A Dusbd_shell.c482 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()
/subsys/logging/
A Dlog_cmds.c291 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()
/subsys/shell/modules/
A Ddevice_service.c128 entry->syntax = dev != NULL ? dev->name : NULL; in device_name_lookup()
203 entry->syntax = dev != NULL ? dev->name : NULL; in device_name_get_non_ready()
/subsys/llext/
A Dshell.c89 entry->syntax = cmd.ext ? cmd.ext->name : NULL; in llext_name_get()
101 if (entry->syntax) { in llext_name_arg_get()
/subsys/net/lib/shell/
A Diface_dynamic.h74 entry->syntax = set_iface_index_buffer(idx); in iface_index_get()
A Dnbr.c189 entry->syntax = set_nbr_address(idx); in nbr_address_get()
A Dppp.c202 entry->syntax = set_iface_ppp_index_buffer(idx); in iface_ppp_index_get()
/subsys/pm/
A Dpm_shell.c21 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
/subsys/input/
A Dinput_utils.c262 entry->syntax = (dev != NULL) ? dev->name : NULL; in device_name_get()
/subsys/usb/device_next/class/
A Dloopback.c638 entry->syntax = NULL; in lb_node_name_lookup()
646 entry->syntax = c_nd->c_data->name; in lb_node_name_lookup()
/subsys/logging/backends/
A DKconfig.net86 Following syntax is supported:
/subsys/net/lib/dns/
A DKconfig103 Following syntax is supported:
/subsys/bluetooth/host/shell/
A Dbt.c3119 sh->ctx->active_cmd.syntax); in cmd_per_adv_set_info_transfer()
3756 sh->ctx->active_cmd.syntax); in cmd_conn_update()
3804 sh->ctx->active_cmd.syntax); in cmd_conn_data_len_update()
3848 sh->ctx->active_cmd.syntax); in cmd_conn_phy_update()
/subsys/testsuite/ztest/src/
A Dztest.c1402 entry->syntax = (suite != NULL) ? suite->name : NULL; in testsuite_list_get()

Completed in 71 milliseconds