Searched refs:cvec (Results 1 – 2 of 2) sorted by relevance
356 free(lc->cvec[i]); in freeCompletions()357 if (lc->cvec != NULL) in freeCompletions()358 free(lc->cvec); in freeCompletions()384 ls->len = ls->pos = strlen(lc.cvec[i]); in completeLine()385 ls->buf = lc.cvec[i]; in completeLine()413 nwritten = snprintf(ls->buf,ls->buflen,"%s",lc.cvec[i]); in completeLine()449 char *copy, **cvec; in linenoiseAddCompletion() local454 cvec = realloc(lc->cvec,sizeof(char*)*(lc->len+1)); in linenoiseAddCompletion()455 if (cvec == NULL) { in linenoiseAddCompletion()459 lc->cvec = cvec; in linenoiseAddCompletion()[all …]
50 char **cvec; member