Home
last modified time | relevance | path

Searched refs:cmd_buflen (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c51 cmd->cmd_buflen - cmd->cmd_bufidx); in cmdbuf_shiftr()
90 cmd->cmd_buflen = 0; in mdb_cmdbuf_create()
113 return (cmd->cmd_buflen + nbytes < cmd->cmd_linelen); in mdb_cmdbuf_caninsert()
125 return (cmd->cmd_bufidx == cmd->cmd_buflen); in mdb_cmdbuf_atend()
132 if (cmd->cmd_buflen + CMDBUF_TABLEN < cmd->cmd_linelen) { in mdb_cmdbuf_insert()
135 if (cmd->cmd_buflen != cmd->cmd_bufidx) in mdb_cmdbuf_insert()
141 cmd->cmd_buflen += CMDBUF_TABLEN; in mdb_cmdbuf_insert()
151 if (cmd->cmd_buflen < cmd->cmd_linelen) { in mdb_cmdbuf_insert()
152 if (cmd->cmd_buflen != cmd->cmd_bufidx) in mdb_cmdbuf_insert()
156 cmd->cmd_buflen++; in mdb_cmdbuf_insert()
[all …]
H A Dmdb_cmdbuf.h42 size_t cmd_buflen; /* Number of bytes in current line buffer */ member
H A Dmdb_termio.c442 len = td->tio_cmdbuf.cmd_buflen + td->tio_promptlen; in termio_read()
531 len = td->tio_cmdbuf.cmd_buflen + td->tio_promptlen; in termio_read()
1221 size_t len = td->tio_cmdbuf.cmd_buflen; in termio_redraw()
1243 pos = td->tio_promptlen + td->tio_cmdbuf.cmd_buflen; in termio_redraw()
1722 size_t olen = td->tio_cmdbuf.cmd_buflen; in termio_insert()
1726 termio_addch(td, c, td->tio_cmdbuf.cmd_buflen - olen); in termio_insert()
1728 termio_insch(td, c, td->tio_cmdbuf.cmd_buflen - olen); in termio_insert()
1990 if (td->tio_cmdbuf.cmd_buflen != 0 || in termio_accel()