Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/
Dshell_cmds.c75 uint16_t buff_idx = 0U; in cursor_position_get() local
110 sh->ctx->temp_buff[buff_idx] = '\0'; in cursor_position_get()
119 buff_idx = 2U; in cursor_position_get()
121 while (sh->ctx->temp_buff[buff_idx] != ';') { in cursor_position_get()
123 (sh->ctx->temp_buff[buff_idx++] - in cursor_position_get()
125 if (buff_idx >= in cursor_position_get()
131 if (++buff_idx >= CONFIG_SHELL_CMD_BUFF_SIZE) { in cursor_position_get()
135 while (sh->ctx->temp_buff[buff_idx] in cursor_position_get()
138 (sh->ctx->temp_buff[buff_idx++] - in cursor_position_get()
141 if (buff_idx >= in cursor_position_get()
[all …]