Searched refs:z_shell_strlen (Results 1 – 6 of 6) sorted by relevance
17 uint16_t cmd_len = z_shell_strlen(cmd); in command_add()32 shift = z_shell_strlen(completion_addr); in command_add()108 uint16_t str_len = z_shell_strlen(str); in z_shell_has_wildcard()155 sh->ctx->cmd_tmp_buff_len = z_shell_strlen(sh->ctx->temp_buff) + 1; in z_shell_wildcard_prepare()
42 length = z_shell_strlen(str) - offset; in formatted_text_print()163 longest = Z_MAX(longest, z_shell_strlen(entry->syntax)); 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()
116 z_shell_strlen(cmd)); in make_argv()123 z_shell_strlen(cmd)); in make_argv()132 memmove(cmd, cmd + 1, z_shell_strlen(cmd)); in make_argv()142 z_shell_strlen(cmd)); in make_argv()163 z_shell_strlen(cmd) - (i - 2)); in make_argv()190 z_shell_strlen(cmd) - (i - 2)); in make_argv()241 uint16_t pattern_len = z_shell_strlen(pattern); in z_shell_pattern_remove()254 shift = z_shell_strlen(pattern_addr) - pattern_len + 1; /* +1 for EOS */ in z_shell_pattern_remove()428 uint16_t len = z_shell_strlen(str); in z_shell_spaces_trim()
29 static inline uint16_t z_shell_strlen(const char *str) in z_shell_strlen() function
140 longest_option += z_shell_strlen(tab); in tab_item_print()143 - z_shell_strlen(tab)) / longest_option; in tab_item_print()145 diff = longest_option - z_shell_strlen(option); in tab_item_print()212 uint16_t cmd_len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()233 len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()335 incompl_cmd_len = z_shell_strlen(incompl_cmd); in find_completion_candidates()362 uint16_t arg_len = z_shell_strlen(arg); in autocomplete()369 cmd_len = z_shell_strlen(match->syntax); in autocomplete()430 size_t str_len = z_shell_strlen(str); in tab_options_print()502 uint16_t arg_len = z_shell_strlen(arg); in partial_autocomplete()[all …]
46 size_t line_length = sh->ctx->cmd_buff_len + z_shell_strlen(sh->ctx->prompt); in full_line_cmd()59 z_shell_strlen(sh->ctx->prompt)) % in z_shell_cursor_in_empty_line()377 int cmd_width = z_shell_strlen(sh->ctx->cmd_buff); in z_shell_print_cmd()