Lines Matching refs:wordlen
84 size_t matchlen, wordlen; in complete_ambiguous() local
86 wordlen = strlen(word); in complete_ambiguous()
91 p = words->sl_str[0] + wordlen; in complete_ambiguous()
106 for (j = wordlen ; j < strlen(words->sl_str[i]); j++) in complete_ambiguous()
112 if (matchlen > wordlen) { in complete_ambiguous()
114 lastmatch + wordlen, matchlen - wordlen); in complete_ambiguous()
136 size_t wordlen; in complete_command() local
140 wordlen = strlen(word); in complete_command()
143 if (wordlen > strlen(c->c_name)) in complete_command()
145 if (strncmp(word, c->c_name, wordlen) == 0) in complete_command()
248 size_t wordlen; in complete_option() local
252 wordlen = strlen(word); in complete_option()
255 if (wordlen > strlen(o->name)) in complete_option()
257 if (strncmp(word, o->name, wordlen) == 0) in complete_option()