ab                607 src/simh/linehistory.c abInit(struct abuf *ab)
ab                609 src/simh/linehistory.c   ab->b = NULL;
ab                610 src/simh/linehistory.c   ab->len = 0;
ab                614 src/simh/linehistory.c abAppend(struct abuf *ab, const char *s, int len)
ab                621 src/simh/linehistory.c   char *new = realloc(ab->b, 1 + ab->len + len);
ab                628 src/simh/linehistory.c   memcpy(new + ab->len, s, len);
ab                629 src/simh/linehistory.c   ab->b    = new;
ab                630 src/simh/linehistory.c   ab->len += len;
ab                634 src/simh/linehistory.c abFree(const struct abuf *ab)
ab                636 src/simh/linehistory.c   free(ab->b); /* X-LINTED: FREE */
ab                647 src/simh/linehistory.c refreshShowHints(struct abuf *ab, const struct linenoiseState *l, int plen)
ab                679 src/simh/linehistory.c       abAppend(ab, seq, strlen(seq));
ab                680 src/simh/linehistory.c       abAppend(ab, hint, hintlen);
ab                683 src/simh/linehistory.c         abAppend(ab, "\033[0m", 4);
ab                713 src/simh/linehistory.c   struct abuf ab;
ab                726 src/simh/linehistory.c   abInit(&ab);
ab                729 src/simh/linehistory.c   abAppend(&ab, seq, strlen(seq));
ab                731 src/simh/linehistory.c   abAppend(&ab, l->prompt, strlen(l->prompt));
ab                737 src/simh/linehistory.c       abAppend(&ab, "*", 1);
ab                743 src/simh/linehistory.c   abAppend(&ab, buf, len);
ab                749 src/simh/linehistory.c   refreshShowHints(&ab, l, plen);
ab                753 src/simh/linehistory.c   abAppend(&ab, seq, strlen(seq));
ab                756 src/simh/linehistory.c   abAppend(&ab, seq, strlen(seq));
ab                757 src/simh/linehistory.c   if (write(fd, ab.b, ab.len) == -1)
ab                761 src/simh/linehistory.c   abFree(&ab);
ab                783 src/simh/linehistory.c   struct abuf ab;
ab                796 src/simh/linehistory.c   abInit(&ab);
ab                800 src/simh/linehistory.c     abAppend(&ab, seq, strlen(seq));
ab                807 src/simh/linehistory.c     abAppend(&ab, seq, strlen(seq));
ab                812 src/simh/linehistory.c   abAppend(&ab, seq, strlen(seq));
ab                815 src/simh/linehistory.c   abAppend(&ab, l->prompt, strlen(l->prompt));
ab                822 src/simh/linehistory.c       abAppend(&ab, "*", 1);
ab                828 src/simh/linehistory.c   abAppend(&ab, l->buf, l->len);
ab                835 src/simh/linehistory.c   refreshShowHints(&ab, l, plen);
ab                845 src/simh/linehistory.c     abAppend(&ab, "\n", 1);
ab                847 src/simh/linehistory.c     abAppend(&ab, seq, strlen(seq));
ab                862 src/simh/linehistory.c     abAppend(&ab, seq, strlen(seq));
ab                876 src/simh/linehistory.c   abAppend(&ab, seq, strlen(seq));
ab                880 src/simh/linehistory.c   if (write(fd, ab.b, ab.len) == -1)
ab                884 src/simh/linehistory.c   abFree(&ab);