Home
last modified time | relevance | path

Searched refs:cmd_buff_pos (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/shell/
Dshell_ops.c58 return (((sh->ctx->cmd_buff_pos * sh->ctx->cfg.flags.echo) + in z_shell_cursor_in_empty_line()
76 z_shell_multiline_data_calc(cons, sh->ctx->cmd_buff_pos, in z_shell_op_cursor_position_synchronize()
100 uint16_t new_pos = sh->ctx->cmd_buff_pos + val; in z_shell_op_cursor_move()
104 z_shell_multiline_data_calc(cons, sh->ctx->cmd_buff_pos, in z_shell_op_cursor_move()
110 sh->ctx->cmd_buff_pos, in z_shell_op_cursor_move()
114 sh->ctx->cmd_buff_pos, in z_shell_op_cursor_move()
119 sh->ctx->cmd_buff_pos = new_pos; in z_shell_op_cursor_move()
161 sh->ctx->cmd_buff_pos, in z_shell_op_cursor_word_move()
171 (sh->ctx->cmd_buff_pos == 0)) { in z_shell_op_word_remove()
175 char *str = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos - 1]; in z_shell_op_word_remove()
[all …]
Dshell.c53 sh->ctx->cmd_buff_pos = 0; in cmd_buffer_clear()
239 sh->ctx->cmd_buff_pos = len; in history_handle()
267 sh->ctx->cmd_buff_pos); in tab_prepare()
268 sh->ctx->temp_buff[sh->ctx->cmd_buff_pos] = '\0'; in tab_prepare()
292 int space = (sh->ctx->cmd_buff_pos > 0) ? in tab_prepare()
293 isspace((int)sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos - 1]) : 0; in tab_prepare()
390 sh->ctx->cmd_buff_pos]) == 0) { in autocomplete()
1737 sh->ctx->cmd_buff_pos = cmd_len; in shell_execute_cmd()
Dshell_log_backend.c101 sh->ctx->cmd_buff_pos, in panic()
Dshell_utils.c496 sh->ctx->cmd_buff_pos = sh->ctx->cmd_buff_len; in z_shell_cmd_trim()
/Zephyr-latest/include/zephyr/shell/
Dshell.h871 uint16_t cmd_buff_pos; /*!< Command buffer cursor position.*/ member