Lines Matching refs:temp_buff
82 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()
161 sh->ctx->temp_buff[buff_idx] = c; in cursor_position_get()
164 sh->ctx->temp_buff[0] = 0; in cursor_position_get()
363 sh->ctx->temp_buff, &len); in cmd_history()
367 (int)i++, sh->ctx->temp_buff); in cmd_history()
374 sh->ctx->temp_buff[0] = '\0'; in cmd_history()