Searched refs:lc (Results 1 – 5 of 5) sorted by relevance
| /redis-3.2.3/deps/linenoise/ |
| H A D | linenoise.c | 338 for (i = 0; i < lc->len; i++) in freeCompletions() 339 free(lc->cvec[i]); in freeCompletions() 340 if (lc->cvec != NULL) in freeCompletions() 341 free(lc->cvec); in freeCompletions() 355 completionCallback(ls->buf,&lc); in completeLine() 356 if (lc.len == 0) { in completeLine() 363 if (i < lc.len) { in completeLine() 404 freeCompletions(&lc); in completeLine() 436 cvec = realloc(lc->cvec,sizeof(char*)*(lc->len+1)); in linenoiseAddCompletion() 441 lc->cvec = cvec; in linenoiseAddCompletion() [all …]
|
| H A D | example.c | 7 void completion(const char *buf, linenoiseCompletions *lc) { in completion() argument 9 linenoiseAddCompletion(lc,"hello"); in completion() 10 linenoiseAddCompletion(lc,"hello there"); in completion()
|
| H A D | README.markdown | 148 void completion(const char *buf, linenoiseCompletions *lc) { 150 linenoiseAddCompletion(lc,"hello"); 151 linenoiseAddCompletion(lc,"hello there");
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | ltable.c | 228 int lc = 0; /* counter */ in numusearray() local 238 lc++; in numusearray() 240 nums[lg] += lc; in numusearray() 241 ause += lc; in numusearray()
|
| /redis-3.2.3/src/ |
| H A D | redis-cli.c | 394 static void completionCallback(const char *buf, linenoiseCompletions *lc) { in completionCallback() argument 416 linenoiseAddCompletion(lc,tmp); in completionCallback()
|