Home | History | Annotate | Download | only in utils

Lines Matching refs:pos

27 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
47 static int pos = 0;
56 pos = 0;
59 for (; pending_completions[pos]; pos++) {
60 if (strncmp(pending_completions[pos], text, len) == 0)
61 return strdup(pending_completions[pos++]);
87 char *pos = str;
88 while (*pos != '\0') {
89 if (*pos == '\n') {
90 *pos = '\0';
93 pos++;
120 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),