Lines Matching refs:toglob
386 x_file_glob(int *flagsp, char *toglob, char ***wordsp) in x_file_glob() argument
394 x_glob_hlp_add_qchar(toglob); in x_file_glob()
401 s->start = s->str = toglob; in x_file_glob()
431 toglob = x_glob_hlp_tilde_and_rem_qchar(toglob, false); in x_file_glob()
441 if ((strcmp(words[0], toglob) == 0 && in x_file_glob()
481 x_command_glob(int flags, char *toglob, char ***wordsp) in x_command_glob() argument
489 pat = evalstr(toglob, DOPAT | DOTILDE); in x_command_glob()
632 char *toglob, *s; in x_cf_glob() local
638 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
639 toglob[len] = '\0'; in x_cf_glob()
649 for (s = toglob; *s; s++) { in x_cf_glob()
666 if (*toglob == '~' && /* not vdirsep */ !vstrchr(toglob, '/')) { in x_cf_glob()
673 toglob[len] = '*'; in x_cf_glob()
674 toglob[len + 1] = '\0'; in x_cf_glob()
681 x_command_glob(*flagsp, toglob, &words) : in x_cf_glob()
682 x_file_glob(flagsp, toglob, &words); in x_cf_glob()
683 afree(toglob, ATEMP); in x_cf_glob()