Lines Matching defs:pat
163 Char qu = 0, *pat = STRNULL;
265 looking = tw_complete(qline.s + cmd_start, &p, &pat, looking, &suf);
268 xprintf(CGETS(30, 3, "complete %d %S\n"), looking, pat);
304 search_ret = t_search(&wordbuf, command, looking, 1, pat, suf);
322 search_ret = spell_me(&wordbuf, looking, pat, suf);
327 search_ret = t_search(&wordbuf, command, looking, 1, pat, suf);
370 search_ret = spell_me(&wordbuf, looking, pat, suf);
476 search_ret = t_search(&wordbuf, LIST, looking, 1, pat, suf);
560 Char *pat = **v;
563 if (pat == NULL)
573 if (Gmatch(cmd.s, pat))
931 struct Strbuf *exp_name, Char *target, const Char *pat,
1056 if (gpat && !Gmatch(item.s, pat))
1127 if (gpat && !Gmatch(item.s, pat) &&
1350 struct Strbuf *exp_name, Char *target, Char *pat, int flags,
1364 (*tw_start_entry[looking])(dir_fd, pat);
1375 ni = tw_collect_items(command, looking, exp_dir, exp_name, target, pat,
1515 Char *pat, eChar suf)
1519 gpat = pat[0] != '\0', /* Glob pattern search */
1567 Strbuf_append(&exp_dir, pat);
1606 if (command == LIST && pat != NULL) {
1607 xprintf("%S", pat);
1779 numitems = tw_collect(command, looking, &exp_dir, &exp_name, target, pat,