Home
last modified time | relevance | path

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

/external/qemu/
Dreadline.c66 if (rs->cmd_buf_index != rs->last_cmd_buf_index) { in readline_update()
67 delta = rs->cmd_buf_index - rs->last_cmd_buf_index; in readline_update()
78 rs->last_cmd_buf_index = rs->cmd_buf_index; in readline_update()
85 if (rs->cmd_buf_index < READLINE_CMD_BUF_SIZE) { in readline_insert_char()
86 memmove(rs->cmd_buf + rs->cmd_buf_index + 1, in readline_insert_char()
87 rs->cmd_buf + rs->cmd_buf_index, in readline_insert_char()
88 rs->cmd_buf_size - rs->cmd_buf_index); in readline_insert_char()
89 rs->cmd_buf[rs->cmd_buf_index] = ch; in readline_insert_char()
91 rs->cmd_buf_index++; in readline_insert_char()
97 if (rs->cmd_buf_index > 0) { in readline_backward_char()
[all …]
Dreadline.h15 int cmd_buf_index; member