Searched refs:cmd_buff (Results 1 – 5 of 5) sorted by relevance
160 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()254 &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]); in reprint_from_cursor()270 char *curr_pos = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]; in data_insert()279 sh->ctx->cmd_buff[sh->ctx->cmd_buff_len] = '\0'; in data_insert()291 sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos++] = data; in char_replace()330 char *str = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]; in z_shell_op_char_delete()[all …]
145 sh->ctx->cmd_buff, in z_shell_wildcard_prepare()187 memcpy(sh->ctx->cmd_buff, in z_shell_wildcard_finalize()
52 sh->ctx->cmd_buff[0] = '\0'; /* clear command buffer */ in cmd_buffer_clear()212 uint16_t cmd_len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()216 sh->ctx->cmd_buff); in history_handle()228 sh->ctx->cmd_buff, &len); in history_handle()232 strcpy(sh->ctx->cmd_buff, sh->ctx->temp_buff); in history_handle()233 len = z_shell_strlen(sh->ctx->cmd_buff); in history_handle()266 memcpy(sh->ctx->temp_buff, sh->ctx->cmd_buff, in tab_prepare()293 isspace((int)sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos - 1]) : 0; in tab_prepare()389 if (isspace((int) sh->ctx->cmd_buff[ in autocomplete()640 char *cmd_buf = sh->ctx->cmd_buff; in execute()[all …]
495 buffer_trim(sh->ctx->cmd_buff, &sh->ctx->cmd_buff_len); in z_shell_cmd_trim()
876 char cmd_buff[CONFIG_SHELL_CMD_BUFF_SIZE]; member