Lines Matching defs:pat
159 Char qu = 0, *pat = STRNULL;
261 looking = tw_complete(qline.s + cmd_start, &p, &pat, looking, &suf);
264 xprintf(CGETS(30, 3, "complete %d %S\n"), looking, pat);
300 search_ret = t_search(&wordbuf, command, looking, 1, pat, suf);
318 search_ret = spell_me(&wordbuf, looking, pat, suf);
323 search_ret = t_search(&wordbuf, command, looking, 1, pat, suf);
366 search_ret = spell_me(&wordbuf, looking, pat, suf);
472 search_ret = t_search(&wordbuf, LIST, looking, 1, pat, suf);
556 Char *pat = **v;
559 if (pat == NULL)
569 if (Gmatch(cmd.s, pat))
927 struct Strbuf *exp_name, Char *target, const Char *pat,
1052 if (gpat && !Gmatch(item.s, pat))
1123 if (gpat && !Gmatch(item.s, pat) &&
1346 struct Strbuf *exp_name, Char *target, Char *pat, int flags,
1360 (*tw_start_entry[looking])(dir_fd, pat);
1371 ni = tw_collect_items(command, looking, exp_dir, exp_name, target, pat,
1511 Char *pat, eChar suf)
1515 gpat = pat[0] != '\0', /* Glob pattern search */
1563 Strbuf_append(&exp_dir, pat);
1602 if (command == LIST && pat != NULL) {
1603 xprintf("%S", pat);
1775 numitems = tw_collect(command, looking, &exp_dir, &exp_name, target, pat,