current::buf is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

current::buf field

Syntax

References

LocationReferrerText
linenoise.c:477
stringbuf *buf; /* Current buffer. Always null terminated */
linenoise.c:1063get_char()
if (pos >= 0 && pos < sb_chars(current->buf)) {
linenoise.c:1066get_char()
(void)utf8_tounicode(sb_str(current->buf) + i, &c);
linenoise.c:1109completeLine()
linenoise.c:1557refreshLine()
linenoise.c:1562set_current()
linenoise.c:1563set_current()
linenoise.c:1564set_current()
linenoise.c:1575remove_char()
if (pos >= 0 && pos < sb_chars(current->buf)) {
linenoise.c:1588remove_char()
if (current->output && current->pos == pos + 1 && current->pos == sb_chars(current->buf) && pos > 0) {
linenoise.c:1604remove_char()
sb_delete(current->buf, offset, nbytes);
linenoise.c:1610remove_char()
linenoise.c:1633insert_char()
if (pos >= 0 && pos <= sb_chars(current->buf)) {
linenoise.c:1648insert_char()
if (current->output && pos == current->pos && pos == sb_chars(current->buf)) {
linenoise.c:1657insert_char()
sb_insert(current->buf, offset, buf);
linenoise.c:1662insert_char()
linenoise.c:1683capture_chars()
if (pos >= 0 && (pos + nchars - 1) < sb_chars(current->buf)) {
linenoise.c:1694capture_chars()
sb_append_len(current->capture, sb_str(current->buf) + offset, nbytes);
linenoise.c:1759reverseIncrementalSearch()
linenoise.c:1813reverseIncrementalSearch()
if (skipsame && strcmp(history[searchpos], sb_str(current->buf)) == 0) {
linenoise.c:1863linenoiseEdit()
if (c == '\t' && current->pos == sb_chars(current->buf) && completionCallback != NULL) {
linenoise.c:1880linenoiseEdit()
return sb_len(current->buf);
linenoise.c:1890linenoiseEdit()
linenoise.c:1896linenoiseEdit()
return sb_len(current->buf);
linenoise.c:1917linenoiseEdit()
if (sb_len(current->buf) == 0) {
linenoise.c:1953linenoiseEdit()
if (current->pos > 0 && current->pos <= sb_chars(current->buf)) {
linenoise.c:1955linenoiseEdit()
int fixer = (current->pos == sb_chars(current->buf));
linenoise.c:1987linenoiseEdit()
if (current->pos < sb_chars(current->buf)) {
linenoise.c:2009linenoiseEdit()
history[history_len - 1 - history_index] = strdup(sb_str(current->buf));
linenoise.c:2030linenoiseEdit()
linenoise.c:2039linenoiseEdit()
linenoise.c:2065linenoiseEdit()
return sb_len(current->buf);
linenoise.c:2127linenoise()
current.buf = sb_alloc();
linenoise.c:2139linenoise()
sb_free(current.buf);
linenoise.c:2142linenoise()
sb = current.buf;

Data Use

Functions writing current::buf
Functions reading current::buf
all items filtered out
current::buf
Type of current::buf
current::buf
all items filtered out