Lines Matching refs:word
1741 complete_on_cmdlist (struct cmd_list_element *list, char *text, char *word, in VEC()
1773 match = (char *) xmalloc (strlen (word) + strlen (ptr->name) + 1); in VEC()
1774 if (word == text) in VEC()
1776 else if (word > text) in VEC()
1779 strcpy (match, ptr->name + (word - text)); in VEC()
1784 strncpy (match, word, text - word); in VEC()
1785 match[text - word] = '\0'; in VEC()
1812 char *word) in VEC()
1824 match = (char *) xmalloc (strlen (word) + strlen (name) + 1); in VEC()
1825 if (word == text) in VEC()
1827 else if (word > text) in VEC()
1830 strcpy (match, name + (word - text)); in VEC()
1835 strncpy (match, word, text - word); in VEC()
1836 match[text - word] = '\0'; in VEC()