Lines Matching refs:buffered_line

313 		shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset + 1);  in handle_delete_key()
318 memcpy_erms(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset, in handle_delete_key()
319 p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset + 1, delta); in handle_delete_key()
322 p_shell->buffered_line[p_shell->input_line_active][p_shell->input_line_len - 1] = 0; in handle_delete_key()
341 if (p_shell->buffered_line[to_select][0] != '\0') { in handle_updown_key()
357 …if (strcmp(p_shell->buffered_line[current_select], p_shell->buffered_line[p_shell->input_line_acti… in handle_updown_key()
360 shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset); in handle_updown_key()
364 shell_puts(p_shell->buffered_line[current_select]); in handle_updown_key()
366 size_t len = strnlen_s(p_shell->buffered_line[current_select], SHELL_CMD_MAX_LEN); in handle_updown_key()
368 memcpy_s(p_shell->buffered_line[p_shell->input_line_active], SHELL_CMD_MAX_LEN, in handle_updown_key()
369 p_shell->buffered_line[current_select], len + 1); in handle_updown_key()
397 shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset); in shell_handle_special_char()
410 shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset); in shell_handle_special_char()
449 shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset); in handle_backspace_key()
453 memcpy_erms(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset - 1, in handle_backspace_key()
454 p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset, delta); in handle_backspace_key()
458 p_shell->buffered_line[p_shell->input_line_active][p_shell->input_line_len - 1] = 0; in handle_backspace_key()
472 …memcpy_erms_backwards(p_shell->buffered_line[p_shell->input_line_active] + p_shell->input_line_len, in handle_input_char()
473 p_shell->buffered_line[p_shell->input_line_active] + p_shell->input_line_len - 1, delta); in handle_input_char()
476 p_shell->buffered_line[p_shell->input_line_active][p_shell->cursor_offset] = ch; in handle_input_char()
479 shell_puts(p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset); in handle_input_char()
601 p_input_line = p_shell->buffered_line[p_shell->input_line_active]; in shell_process()
607 (strcmp(p_input_line, p_shell->buffered_line[former_index]) != 0)) { in shell_process()
617 (void)memset(p_shell->buffered_line[p_shell->input_line_active], 0, SHELL_CMD_MAX_LEN + 1U); in shell_process()
659 (void)memset(p_shell->buffered_line[p_shell->input_line_active], 0U, SHELL_CMD_MAX_LEN + 1U); in shell_init()