Lines Matching defs:dirname
297 char* dirname;
328 prefix = dirname = ap->gl_path + gp->gl_extra;
408 dirname = 0;
411 dirname = ".";
416 dirname = "/";
478 if (!(dirname = (*gp->gl_nextdir)(gp, dirname)))
480 prefix = streq(dirname, ".") ? (char*)0 : dirname;
482 if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname)))
484 if (!(gp->re_flags & REG_ICASE) && ((*gp->gl_attr)(gp, dirname, 0) & GLOB_ICASE))
547 if (err || errno && !errorcheck(gp, dirname))
550 else if (!complete && !errorcheck(gp, dirname))