Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/
Dshell_ops.c160 shift = shift_calc(sh->ctx->cmd_buff, in z_shell_op_cursor_word_move()
175 char *str = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos - 1]; in z_shell_op_word_remove()
176 char *str_start = &sh->ctx->cmd_buff[0]; in z_shell_op_word_remove()
197 sh->ctx->cmd_buff[sh->ctx->cmd_buff_len] = '\0'; in z_shell_op_word_remove()
247 int len = strlen(&sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]); in reprint_from_cursor()
270 sh->ctx->cmd_buff[pos++]); in reprint_from_cursor()
274 &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]); in reprint_from_cursor()
291 char *curr_pos = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]; in data_insert()
300 sh->ctx->cmd_buff[sh->ctx->cmd_buff_len] = '\0'; in data_insert()
312 sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos++] = data; in char_replace()
[all …]
Dshell_wildcard.c145 sh->ctx->cmd_buff, in z_shell_wildcard_prepare()
187 memcpy(sh->ctx->cmd_buff, in z_shell_wildcard_finalize()
Dshell.c53 sh->ctx->cmd_buff[0] = '\0'; /* clear command buffer */ in cmd_buffer_clear()
213 uint16_t cmd_len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()
217 sh->ctx->cmd_buff); in history_handle()
229 sh->ctx->cmd_buff, &len); in history_handle()
233 strcpy(sh->ctx->cmd_buff, sh->ctx->temp_buff); in history_handle()
234 len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()
267 memcpy(sh->ctx->temp_buff, sh->ctx->cmd_buff, in tab_prepare()
294 isspace((int)sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos - 1]) : 0; in tab_prepare()
390 if (isspace((int) sh->ctx->cmd_buff[ in autocomplete()
641 char *cmd_buf = sh->ctx->cmd_buff; in execute()
[all …]
Dshell_utils.c495 buffer_trim(sh->ctx->cmd_buff, &sh->ctx->cmd_buff_len); in z_shell_cmd_trim()
/Zephyr-latest/include/zephyr/shell/
Dshell.h876 char cmd_buff[CONFIG_SHELL_CMD_BUFF_SIZE]; member