Home
last modified time | relevance | path

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

/external/qemu/
Dreadline.c47 if (rs->cmd_buf_size != rs->last_cmd_buf_size || in readline_update()
48 memcmp(rs->cmd_buf, rs->last_cmd_buf, rs->cmd_buf_size) != 0) { in readline_update()
52 rs->cmd_buf[rs->cmd_buf_size] = '\0'; in readline_update()
61 memcpy(rs->last_cmd_buf, rs->cmd_buf, rs->cmd_buf_size); in readline_update()
62 rs->last_cmd_buf_size = rs->cmd_buf_size; in readline_update()
63 rs->last_cmd_buf_index = rs->cmd_buf_size; in readline_update()
87 rs->cmd_buf_size - rs->cmd_buf_index); in readline_insert_char()
89 rs->cmd_buf_size++; in readline_insert_char()
103 if (rs->cmd_buf_index < rs->cmd_buf_size) { in readline_forward_char()
110 if (rs->cmd_buf_index < rs->cmd_buf_size) { in readline_delete_char()
[all …]
Dreadline.h16 int cmd_buf_size; member