HelenOS sources
history_line 88 uspace/lib/termui/src/history.c struct history_line *new_buf = reallocarray(lines->buf,
history_line 89 uspace/lib/termui/src/history.c new_len, sizeof(struct history_line));
history_line 146 uspace/lib/termui/src/history.c struct history_line line = lines->buf[lines->head];
history_line 237 uspace/lib/termui/src/history.c size_t new_len = min(lines->buf_len + len, SIZE_MAX - sizeof(struct history_line));
history_line 245 uspace/lib/termui/src/history.c struct history_line *new_buf =
history_line 246 uspace/lib/termui/src/history.c realloc(lines->buf, new_len * sizeof(struct history_line));
history_line 265 uspace/lib/termui/src/history.c static struct history_line *_current_line(struct line_buffer *lines)
history_line 378 uspace/lib/termui/src/history.c struct history_line *line = _current_line(lines);
history_line 415 uspace/lib/termui/src/history.c struct history_line line = history->lines.buf[idx];
history_line 567 uspace/lib/termui/src/history.c struct history_line *last = &history->lines.buf[last_idx];
history_line 658 uspace/lib/termui/src/history.c struct history_line line = history->lines.buf[current_line];
history_line 59 uspace/lib/termui/src/history.h struct history_line *buf;
HelenOS homepage, sources at GitHub