Lines Matching defs:text
75 static char **interpreter_completer (char *text, char *word);
417 /* List the possible interpreters which could complete the given text. */
419 interpreter_completer (char *text, char *word)
434 textlen = strlen (text);
437 if (strncmp (interp->name, text, textlen) == 0)
441 if (word == text)
443 else if (word > text)
446 strcpy (matches[num_matches], interp->name + (word - text));
450 /* Return some of text plus interp->name */
451 strncpy (matches[num_matches], word, text - word);
452 matches[num_matches][text - word] = '\0';