Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/
Dshell_wildcard.c82 ret_val = command_add(sh->ctx->temp_buff, in commands_expand()
99 z_shell_pattern_remove(sh->ctx->temp_buff, in commands_expand()
143 memset(sh->ctx->temp_buff, 0, sizeof(sh->ctx->temp_buff)); in z_shell_wildcard_prepare()
144 memcpy(sh->ctx->temp_buff, in z_shell_wildcard_prepare()
152 z_shell_spaces_trim(sh->ctx->temp_buff); in z_shell_wildcard_prepare()
155 sh->ctx->cmd_tmp_buff_len = z_shell_strlen(sh->ctx->temp_buff) + 1; in z_shell_wildcard_prepare()
188 sh->ctx->temp_buff, in z_shell_wildcard_finalize()
Dshell_cmds.c82 memset(sh->ctx->temp_buff, 0, sizeof(sh->ctx->temp_buff)); in cursor_position_get()
104 (sh->ctx->temp_buff[0] != in cursor_position_get()
110 sh->ctx->temp_buff[buff_idx] = '\0'; in cursor_position_get()
111 if (sh->ctx->temp_buff[1] != '[') { in cursor_position_get()
112 sh->ctx->temp_buff[0] = 0; 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()
135 while (sh->ctx->temp_buff[buff_idx] in cursor_position_get()
138 (sh->ctx->temp_buff[buff_idx++] - in cursor_position_get()
156 sh->ctx->temp_buff[0] = 0; in cursor_position_get()
[all …]
Dshell.c215 strcpy(sh->ctx->temp_buff, in history_handle()
218 sh->ctx->temp_buff[0] = '\0'; in history_handle()
232 strcpy(sh->ctx->cmd_buff, sh->ctx->temp_buff); in history_handle()
266 memcpy(sh->ctx->temp_buff, sh->ctx->cmd_buff, in tab_prepare()
268 sh->ctx->temp_buff[sh->ctx->cmd_buff_pos] = '\0'; in tab_prepare()
271 (void)z_shell_make_argv(argc, *argv, sh->ctx->temp_buff, in tab_prepare()
470 strncpy(sh->ctx->temp_buff, match->syntax, in common_beginning_find()
471 sizeof(sh->ctx->temp_buff) - 1); in common_beginning_find()
485 curr_common = str_common(sh->ctx->temp_buff, match2->syntax, in common_beginning_find()
/Zephyr-latest/include/zephyr/shell/
Dshell.h879 char temp_buff[CONFIG_SHELL_CMD_BUFF_SIZE]; member