lc                426 src/simh/linehistory.c freeCompletions(const linenoiseCompletions *lc)
lc                430 src/simh/linehistory.c   for (i = 0; i < lc->len; i++)
lc                432 src/simh/linehistory.c     FREE(lc->cvec[i]);
lc                435 src/simh/linehistory.c   if (lc->cvec != NULL)
lc                437 src/simh/linehistory.c     FREE(lc->cvec);
lc                453 src/simh/linehistory.c   linenoiseCompletions lc = {
lc                459 src/simh/linehistory.c   completionCallback(ls->buf, &lc);
lc                460 src/simh/linehistory.c   if (lc.len == 0)
lc                471 src/simh/linehistory.c       if (i < lc.len)
lc                475 src/simh/linehistory.c         ls->len = ls->pos = strlen(lc.cvec[i]);
lc                476 src/simh/linehistory.c         ls->buf = lc.cvec[i];
lc                490 src/simh/linehistory.c         freeCompletions(&lc);
lc                497 src/simh/linehistory.c         i = ( i + 1 ) % ( lc.len + 1 );
lc                498 src/simh/linehistory.c         if (i == lc.len)
lc                508 src/simh/linehistory.c         if (i < lc.len)
lc                510 src/simh/linehistory.c           nwritten = snprintf(ls->buf, ls->buflen, "%s", lc.cvec[i]);
lc                520 src/simh/linehistory.c   freeCompletions(&lc);
lc                568 src/simh/linehistory.c linenoiseAddCompletion(linenoiseCompletions *lc, const char *str)
lc                580 src/simh/linehistory.c   cvec = realloc(lc->cvec, sizeof ( char * ) * ( lc->len + 1 ));
lc                587 src/simh/linehistory.c   lc->cvec            = cvec;
lc                588 src/simh/linehistory.c   lc->cvec[lc->len++] = copy;