Home
last modified time | relevance | path

Searched refs:cmd_buf_index (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dreadline.c65 if (rs->cmd_buf_index != rs->last_cmd_buf_index) { in readline_update()
66 delta = rs->cmd_buf_index - rs->last_cmd_buf_index; in readline_update()
77 rs->last_cmd_buf_index = rs->cmd_buf_index; in readline_update()
84 if (rs->cmd_buf_index < READLINE_CMD_BUF_SIZE) { in readline_insert_char()
85 memmove(rs->cmd_buf + rs->cmd_buf_index + 1, in readline_insert_char()
86 rs->cmd_buf + rs->cmd_buf_index, in readline_insert_char()
87 rs->cmd_buf_size - rs->cmd_buf_index); in readline_insert_char()
88 rs->cmd_buf[rs->cmd_buf_index] = ch; in readline_insert_char()
90 rs->cmd_buf_index++; in readline_insert_char()
96 if (rs->cmd_buf_index > 0) { in readline_backward_char()
[all …]
Dreadline.h15 int cmd_buf_index; member